Skip to content

JAVA-6171 upgrade libcrypt to 1.17.3#1947

Merged
strogiyotec merged 4 commits intomongodb:mainfrom
strogiyotec:JAVA-6171
Apr 23, 2026
Merged

JAVA-6171 upgrade libcrypt to 1.17.3#1947
strogiyotec merged 4 commits intomongodb:mainfrom
strogiyotec:JAVA-6171

Conversation

@strogiyotec
Copy link
Copy Markdown
Contributor

@strogiyotec strogiyotec commented Apr 22, 2026

JAVA-6171 upgraded libcrypt version to latest 1.17.3
The test case has been changed

Old expectation (libmongocrypt < 1.17.0):

libmongocrypt refused to build the command at all. It threw a client-side MongoCryptException with the message "not supported" before reaching the server
Since 1.17.0 library introduced a new feature, according to release notes

Support mixing QE and unencrypted JSON schemas.

The change

Our CSFLE collection has an actual encryption schema (not just a plain JSON-schema validator), so the server still rejects the mixed request but now it's a server-side MongoCommandException

@strogiyotec strogiyotec requested a review from a team as a code owner April 22, 2026 20:38
@strogiyotec strogiyotec requested a review from vbabanin April 22, 2026 20:38
@strogiyotec strogiyotec removed the request for review from vbabanin April 22, 2026 20:39
Copy link
Copy Markdown
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@strogiyotec strogiyotec merged commit bb09720 into mongodb:main Apr 23, 2026
53 checks passed
nhachicha pushed a commit to nhachicha/mongo-java-driver that referenced this pull request Apr 29, 2026
* JAVA-6171 upgrade libcrypt to 1.17.3

* Update CSF<BS>LE $lookup prose test case 8

---------

Co-authored-by: Almas Abdrazak <abdrazak.almas@mongodb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants