Home GnuPG
Diffusion GnuPG 1e581619bf53

gpg: Fix regression for the recent malicious subkey DoS fix.

Description

gpg: Fix regression for the recent malicious subkey DoS fix.

* g10/packet.h (PUBKEY_USAGE_VERIFY): New.
* g10/getkey.c (get_pubkey_for_sig): Pass new flag also to requested
usage.
(finish_lookup): Introduce a verify_mode.