[DRIVERS-444] Implement SASLPrep Created: 20/Jan/18 Updated: 28/Oct/23 Resolved: 21/Aug/18 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Rathi Gnanasekaran |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | newdriver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
RFC-4013 SASLPrep is a prerequisite for implementation of SCRAM-SHA-256. |
| Comments |
| Comment by David Golden [ 28/Jan/18 ] |
|
Also, note, the SHA-1 examples above are running SASLprep as SCRAM requires, but MongoDB doesn't implement that for SCRAM-SHA-1. Here's an example of MongoDB's implementation of SCRAM-SHA-1 without SASLprep: *UPDATE* deleted until I confirm a correct conversation |
| Comment by David Golden [ 28/Jan/18 ] |
|
*UPDATE* I believe these test conversations are incorrect due to a bug I found in the Perl SCRAM implementation and have deleted them.
Posting them in |
| Comment by A. Jesse Jiryu Davis [ 27/Jan/18 ] |
|
Can we use SASLPrep with legacy MongoDB and SCRAM-SHA-1? |
| Comment by David Golden [ 20/Jan/18 ] |
|
Already done for Perl. When I implemented Authen::Scram, I included SASLprep as a default, but with an option to turn it off (which the Perl driver currently does). All the Perl driver has to do is use the default settings when using SCRAM-SHA-256 (which is also already available in that library). |