[CDRIVER-2472] Deprecate MongoDB-CR Created: 26/Jan/18  Updated: 28/Oct/23  Resolved: 05/Feb/18

Status: Closed
Project: C Driver
Component/s: uri
Affects Version/s: None
Fix Version/s: 1.10.0

Type: Task Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-441 Deprecate MongoDB-CR Closed
Epic Link: CDRIVER MongoDB 4.0 Support
Backwards Compatibility: Fully Compatible

 Description   

Drivers should deprecate any helpers or constants related to authentication or user management that rely on MONGODB-CR credentials.



 Comments   
Comment by Githook User [ 07/May/18 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CDRIVER-2472 MONGODB-CR is removed in MongoDB 4.0
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/122fd0cc13296f3a0fdd15f0c852fdfa7f95be3b

Comment by Githook User [ 01/Feb/18 ]

Author:

{'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}

Message: CDRIVER-2472 remove auth tests without ssl
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/4d30eb7508f79fd334a04f26fa440870f9eeb2f2

Comment by Githook User [ 31/Jan/18 ]

Author:

{'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}

Message: CDRIVER-2472 deprecate MONGODB-CR auth mech
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/eaa662a6550be91b0db708e8cebc2a244be768b5

Comment by A. Jesse Jiryu Davis [ 26/Jan/18 ]

MONGODB-CR is the original auth mechanism (stands for Challenge Response). It was the default through MongoDB 2.6, and superseded by SCRAM-SHA-1 in MongoDB 3.0. We check the server's version in _mongoc_cluster_auth_node to determine which mechanism is the default; leave the logic unchanged.

Update authentication.rst. Probably the least confusing thing is just to delete mentions of MONGODB-CR there. Delete it from example-scram.c.

Investigate whether we should stop testing MONGODB-CR in run-auth-tests.sh.

Generated at Wed Feb 07 21:15:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.