stijnsanders / TMongoWire

Delphi MongoDB driver
MIT License
102 stars 37 forks source link

MongoDB 3.0: implement SCRAM-SHA-1 #24

Closed stijnsanders closed 9 years ago

stijnsanders commented 9 years ago

http://docs.mongodb.org/manual/core/authentication/

stijnsanders commented 9 years ago

I think I'm almost there except for this: https://groups.google.com/forum/#!topic/mongodb-drivers/amhiD5ZOUwE

stijnsanders commented 9 years ago

see also here (you never know) http://www.nldelphi.com/showthread.php?41509-MongoDB-3-en-SASL-SCRAM-SHA-1

stijnsanders commented 9 years ago

Yes! got it working. I was miscalculating the payload length. https://github.com/stijnsanders/TMongoWire/commit/057c1c6b77db0a798d9ab157cddd1032fbdcbc67