Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-350

require('saslprep') for sanitizing password in db.createUser/db.auth

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.4.2
    • Affects Version/s: 0.4.0
    • Component/s: Build
    • Labels:
      None
    • 1
    • Not Needed
    • Iteration Nectarine

      I am getting this error when trying to do any of the authentication commands on a released version of mongosh:

      Warning: no saslprep library specified. Passwords will not be sanitized

      This comes from the driver issuing a warning. We ought to bundle mongosh with saslprep package for all of our auth methods.

            Assignee:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Reporter:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: