Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34446

Remove SASLPrep normalization of principal names used in SCRAM-SHA-256

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.4
    • Component/s: Security
    • Labels:
      None

      Description

      Principal names should be treated as in SCRAM-SHA-1. The server should:

      1) Not perform normalization of usernames during SCRAM-SHA-256
      authentication. Usernames provided by clients would be used as-is. This
      is the behavior of SCRAM-SHA-1 today.
      2) Continue to normalize passwords when used with SCRAM-SHA-256. This
      is more important that the normalization of user names. The byte
      representation of user names can be recovered from the database itself.
      The byte representation of the password cannot, after it's been
      processed into a credential.
      3) Allow createUser to be performed on a SCRAM-SHA-256 user with an
      unnormalized name.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: