orlandos-nl / MongoKitten

Native MongoDB driver for Swift, written in Swift

Home Page:https://orlandos.nl/docs/mongokitten/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic selection of authentication algorithm fails on migrated MongoDB 4.0 instances

Joannis opened this issue · comments

MongoDB 4.0 should create new accounts using SCRAM_SHA_256, however, accounts created with SCRAM_SHA_1 that are migrated to MongoDB 4.0 currently need to explicitly select the SCRAM_SHA_256 algorithm in the connection URI of settings object. This is because the handshake doesn't seem to be reading or receiving the algorithm in an expected fashion.

Fixed in MK5