moped icon indicating copy to clipboard operation
moped copied to clipboard

Adds support for SCRAM Authentication

Open pastuxso opened this issue 6 years ago • 1 comments

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 avatar Mar 31 '19 02:03 pastuxso

@pastuxso: Why have you closed it?

It is an important PR, SCRAM is important...

Linked to:

  • https://github.com/scram-sasl/info/issues/1

Neustradamus avatar Jan 06 '24 20:01 Neustradamus