[CSHARP-2823] Support SASLPrep on .NET Standard Created: 29/Oct/19 Updated: 08/Feb/22 Resolved: 08/Feb/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Security |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Vincent Kam (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
RFC-4013 SASLPrep is a prerequisite for implementation of SCRAM-SHA-256. We currently only fully support SASLPrep on the .NET Framework version of the driver. Relevant snippet from the ApiDocs:
|
| Comments |
| Comment by James Kovacs [ 08/Feb/22 ] |
|
.NET Standard 2.0 added string normalization equivalent to that in .NET Framework. Previously we had #ifdefs for .NET Standard 1.5, which would pass the string through unnormalized on that TFM. With 2.14.0, we removed support for .NET Standard 1.5 and now all supported TFMs now normalize strings according to SASLPrep requirements. |