Adds support for SCRAM Authentication
This is a backport of the current functionality implemented in the Official Ruby Driver
References:
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/auth/scram.rb https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/auth/scram/conversation.rb
This PR helps to legacy Rails 3.x applications to use MongoDB 3.0 >=, The initiative to do this is because some cloud providers are dropping the support for MongoDB 2.x.
You can test this PR adding something like this in the Gemfile:
gem 'moped', :github => 'kommitters/moped', :branch => 'feature/scram-auth'
Remember that this PR is in progress, so I don't suggest to use this on a production environment yet.
#367
@pastuxso: Why have you closed it?
It is an important PR, SCRAM is important...
Linked to:
- https://github.com/scram-sasl/info/issues/1