-
Type: Improvement
-
Resolution: Duplicate
-
Priority: 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.
- duplicates
-
CDRIVER-3418 Support shorter SCRAM conversation
- Closed
- is related to
-
SERVER-44857 Shorter SCRAM conversation
- Closed