Home GnuPG
Diffusion GnuPG 8e9769337f59

gpg: Fix comparing ed448 vs ed25519 with --assert-pubkey-algo.

Description

gpg: Fix comparing ed448 vs ed25519 with --assert-pubkey-algo.

* g10/keyid.c (extra_algo_strength_offset): New.
(compare_pubkey_string_part): Use the mapping.