[MONGOCRYPT-308] Add buildInfo to list of commands that bypass automatic encryption Created: 05/Feb/21  Updated: 28/Oct/23  Resolved: 23/May/22

Status: Closed
Project: Libmongocrypt
Component/s: C library
Affects Version/s: None
Fix Version/s: 1.5.0-alpha2, 1.5.0

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Binding Changes: Not Needed

 Description   

By default, unrecognized commands will error in automatic encryption.

The list of commands that are bypassed (i.e. we are certain that the command will not include any encrypted data) could additionally include buildInfo, getCmdLineOpts, and getLog.



 Comments   
Comment by Githook User [ 23/May/22 ]

Author:

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

Message: MONGOCRYPT-316 bypass hello, buildInfo, getCmdLineOpts, and getLog (#346)

Also resolves MONGOCRYPT-308
Branch: master
https://github.com/mongodb/libmongocrypt/commit/591bcfa3c43ead619cc3cbe72f1bd5d8fb8ad2da

Comment by Anna Henningsen [ 01/Jun/21 ]

One more thing: We’re currently thinking about adding a new buildInfo-like command that would (unlike buildInfo) be included in the versioned API, see WRITING-8170. I’m not sure what the timeline for this change here in libmongocrypt is, but it would be awesome for everyone if that new command would be included (if that scope doc is approved first).

Comment by Anna Henningsen [ 05/Feb/21 ]

Maybe getCmdLineOpts and getLog too?

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