[MONGOCRYPT-1] libmongocrypt is using the wrong encryption key for AEAD encryption with 96 byte keys Created: 19/Jun/19 Updated: 28/Oct/23 Resolved: 19/Jun/19 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Mark Benvenuto | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Per https://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha2-05, the ENC_KEY is bytes [32..63] of the key. libmongocrypt is using the last 32 bytes of the key. This is incorrect. Bug is here: |
| Comments |
| Comment by Githook User [ 19/Jun/19 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |