bcg / em-mongo

EventMachine MongoDB Driver (based off of RMongo)
http://github.com/bcg/em-mongo
141 stars 47 forks source link

Add SCRAM-SHA-1 Authentication #55

Closed dCSeven closed 6 years ago

dCSeven commented 6 years ago

Since MONGODB-CR (the authentication used before) is not (really) supported anymore, this here implements SCRAM-SHA-1 (the new authentication). Since some of the users will still use MONGODB-CR, i held it downward compatible, by defaulting to MONGODB-CR authentication when not specifying any Auth-Method.

dCSeven commented 6 years ago

Thanks for the quick merge, could you please update the version too?

Already helped you out a bit (see #56) still TODO (since I can't do this):