Home GnuPG
Diffusion GnuPG 15eda7ce783a

gpg: Print info about the used AEAD algorithm.

Description

gpg: Print info about the used AEAD algorithm.

* g10/misc.c (openpgp_cipher_algo_mode_name): New.
* g10/decrypt-data.c (decrypt_data): Use function here.

With out this change we would see

gpg: cipher algorithm 'AES256' may not be used in
--compliance=de-vs mode

This is confusing because AES256 is compliant. Now we see

gpg: cipher algorithm 'AES256.OCB' may not be used in
--compliance=de-vs mode

which gives a hint on the problem.

Details

Provenance
wernerAuthored on Mar 18 2022, 1:50 PM
Parents
rGc1453665491f: common: New function map_static_strings
Branches
Unknown
Tags
Unknown