Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3506

Support 2-round-trip SCRAM exchange

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      MongoDB server >= 4.3.4 improves SCRAM-SHA-1 and SCRAM-SHA-256 to be capable of completing in two network round trips rather than the current three.

      We can inform the server to attempt the shorter exchange by passing an options document along with the saslStart command containing `skipEmptyExchange == true`. The remaining logic in mongoc-cluster.c is already capable to finishing early.

      Attachments

        Issue Links

          Activity

            People

              sara.golemon@mongodb.com Sara Golemon
              sara.golemon@mongodb.com Sara Golemon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: