1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg: Remove EAX from the preference list.

* g10/gpg.c (main): Remove note about rfc4880bis.
* g10/keygen.c (keygen_set_std_prefs): Use only OCB in the AEAD
preference list.
--

It is more than unlikely that EAX will ever be used in practice and
thus we remove it from the preference list.
This commit is contained in:
Werner Koch 2022-03-28 15:24:48 +02:00
parent f0a1c79f60
commit 253fcb9777
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 1 additions and 8 deletions

View file

@ -409,8 +409,6 @@ keygen_set_std_prefs (const char *string,int personal)
if (opt.flags.rfc4880bis && !openpgp_aead_test_algo (AEAD_ALGO_OCB))
strcat(dummy_string,"A2 ");
if (opt.flags.rfc4880bis && !openpgp_aead_test_algo (AEAD_ALGO_EAX))
strcat(dummy_string,"A1 ");
if (personal)
{