libcrypto: aes/gcm encrypt decrypt cycle is broken #708

Open
opened 2023-07-01 19:35:58 +00:00 by vyzo · 0 comments
vyzo commented 2023-07-01 19:35:58 +00:00 (Migrated from github.com)

decrypting a blob encrypted with encrypt while using aes gcm fails in cipher-final! with an unknown libcrypto error.

> (decrypt (make-aes-256-gcm-cipher) key iv (encrypt (make-aes-256-gcm-cipher) key iv "hello world"))
*** ERROR IN std/crypto/cipher#decrypt-final!__% -- Libcrypto error [?:?]: Unknown error (0 #<EVP_CIPHER_CTX* #11 0x55e18c5305e0>)
decrypting a blob encrypted with `encrypt` while using aes gcm fails in `cipher-final!` with an unknown libcrypto error. ``` > (decrypt (make-aes-256-gcm-cipher) key iv (encrypt (make-aes-256-gcm-cipher) key iv "hello world")) *** ERROR IN std/crypto/cipher#decrypt-final!__% -- Libcrypto error [?:?]: Unknown error (0 #<EVP_CIPHER_CTX* #11 0x55e18c5305e0>) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mighty-gerbils/gerbil#708
No description provided.