Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Adds support for SCRAM Authentication #404

Open
wants to merge 1 commit into
base: 1.5.0-stable
Choose a base branch
from

Conversation

pastuxso
Copy link

@pastuxso pastuxso commented Mar 31, 2019

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 pastuxso changed the title Adds support to enable SCRAM Authentication Adds support for SCRAM Authentication Mar 31, 2019
@pastuxso pastuxso marked this pull request as ready for review August 14, 2020 03:00
@pastuxso pastuxso closed this Jan 4, 2024
@Neustradamus
Copy link

@pastuxso: Why have you closed it?

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

Linked to:

@pastuxso pastuxso reopened this Jan 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants