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

Support 2-round-trip SCRAM exchange

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

      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.

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

              Created:
              Updated:
              Resolved: