Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2823

Support SASLPrep on .NET Standard

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • None

      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:

      In .NET Standard, authenticating via SCRAM-SHA-256 may not work with non-ASCII passwords because SaslPrep is not fully implemented due to the lack of a string normalization function in .NET Standard 1.5. Normalizing the password into Unicode Normalization Form KC beforehand MAY help. SCRAM-SHA-1 is the recommended alternative for now.

            Assignee:
            Unassigned Unassigned
            Reporter:
            vincent.kam@mongodb.com Vincent Kam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: