[SERVER-39178] Negotiate SCRAM mechanism in MongoURI::connect() Created: 24/Jan/19 Updated: 29/Oct/23 Resolved: 11/Mar/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.9, 4.1.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||||||
| Sprint: | Security 2019-02-25, Security 2019-03-11, Security 2019-03-25 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||
| Description |
|
MongoURI::connect() still assumes SCRAM-SHA-1 for URIs which don't have an authentication mechanism explicitly specified. Check isMaster.saslSupportedMechs before making assumptions. |
| Comments |
| Comment by Githook User [ 29/Mar/19 ] |
|
Author: {'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan'}Message: |
| Comment by Githook User [ 29/Mar/19 ] |
|
Author: {'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan'}Message: (cherry picked from commit 6f083bd87264e9d9c3d637fae62103c36a65316a) |
| Comment by Githook User [ 11/Mar/19 ] |
|
Author: {'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan', 'email': 'shreyas.kalyan@10gen.com'}Message: |
| Comment by Spencer Brown [ 12/Feb/19 ] |
|
Regression in 4.0.5 |