[MONGOCRYPT-452] Make sure that decrypt input binary is 6 Created: 30/Jun/22  Updated: 28/Oct/23  Resolved: 27/Jul/22

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6.0, 1.6.0-alpha0

Type: Bug Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Binding Changes: Not Needed

 Description   

Currently, decrypt method allows any subType in input binary. Some drivers validated this on driver side, some did not. We probably need to add this check on libmongocrypt level to ensure it's not missed.



 Comments   
Comment by Githook User [ 27/Jul/22 ]

Author:

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

Message: MONGOCRYPT-452 reject binary subtype != 6 for decrypt (#423)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/ba30e679ba36b2afa96e76c71aea44053f32848f

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