[DRIVERS-2408] Error if RewrapManyDataKey is called with libmongocrypt < 1.5.2 Created: 30/Jul/22  Updated: 09/Sep/22

Status: Implementing
Project: Drivers
Component/s: Client Side Encryption
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to RUST-1431 Error if RewrapManyDataKey is called ... Blocked
split to CDRIVER-4447 Error if RewrapManyDataKey is called ... Closed
split to CSHARP-4286 Error if RewrapManyDataKey is called ... Closed
split to CXX-2562 Error if RewrapManyDataKey is called ... Closed
split to GODRIVER-2513 Error if RewrapManyDataKey is called ... Closed
split to JAVA-4700 Error if RewrapManyDataKey is called ... Closed
split to MOTOR-1011 Error if RewrapManyDataKey is called ... Closed
split to NODE-4491 Error if RewrapManyDataKey is called ... Closed
split to PHPC-2141 Error if RewrapManyDataKey is called ... Closed
split to PYTHON-3387 Error if RewrapManyDataKey is called ... Closed
split to RUBY-3076 Error if RewrapManyDataKey is called ... Closed
Related
Driver Changes: Needed
Downstream Changes Summary:

If applicable, drivers MUST document users must upgrade dependencies if necessary to avoid being impacted by MONGOCRYPT-464.

If applicable, drivers MUST return an error if rewrapManyDataKey is called with libmongocrypt 1.5.1 or 1.5.0. 

If applicable, update release notes for released driver versions that may be impacted by MONGOCRYPT-464 to alert users to upgrade to use rewrapManyDataKey. Here is a suggested blurb:
"""
This release has a known possible data corruption bug in RewrapManyDataKey when using libmongocrypt versions less than 1.5.2. Please upgrade version (TODO) or higher.
"""

Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-4447 Done
CXX-2562 Done 3.8.0
CSHARP-4286 Won't Do
GODRIVER-2513 Fixed 1.10.1
JAVA-4700 Won't Fix
NODE-4491 Won't Do
MOTOR-1011 Duplicate
PYTHON-3387 Duplicate
PHPC-2141 Works as Designed
RUBY-3076 Works as Designed
RUST-1431 Blocked
SWIFT-1622 Won't Do

 Description   

Summary

If applicable, drivers MUST document users must upgrade dependencies if necessary to avoid being impacted by MONGOCRYPT-464.

If applicable, drivers MUST return an error if rewrapManyDataKey is called with libmongocrypt 1.5.1 or 1.5.0. 

If applicable, update release notes for released driver versions that may be impacted by MONGOCRYPT-464 to alert users to upgrade to use rewrapManyDataKey.

Motivation

Limit risk of users hitting the bug of MONGOCRYPT-464.

Is this issue urgent?

Yes. Preferably should be done alongside or shortly after DRIVERS-2403.

Is this ticket only for tests?

No.



 Comments   
Comment by Githook User [ 09/Sep/22 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: DRIVERS-2408 error if RewrapManyDataKey is called with libmongocrypt < 1.5.2 (#1288)
Branch: master
https://github.com/mongodb/specifications/commit/d13669924812b2d5bddc084c787d07234f376f94

Generated at Thu Feb 08 08:25:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.