1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Add the AEAD algo number to the DECRYPTION_INFO status line.

* g10/decrypt-data.c (decrypt_data): Print the aead_algo
--

GnuPG-bug-id: 7398
This commit is contained in:
Werner Koch 2024-11-21 09:52:46 +01:00
parent 5b3fc8abaa
commit c8c86f25fd
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
Noteworthy changes in version 2.2.46 (unreleased) Noteworthy changes in version 2.2.46 (unreleased)
------------------------------------------------- -------------------------------------------------
* gpg: Add the AEAD algo number to the DECRYPTION_INFO status line.
[T7398]
Release-info: https://dev.gnupg.org/T7314 Release-info: https://dev.gnupg.org/T7314

View File

@ -282,7 +282,7 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek,
} }
write_status_printf (STATUS_DECRYPTION_INFO, "%d %d %d", write_status_printf (STATUS_DECRYPTION_INFO, "%d %d %d",
ed->mdc_method, dek->algo, 0); ed->mdc_method, dek->algo, ed->aead_algo);
if (opt.show_session_key) if (opt.show_session_key)
{ {