Home GnuPG
Diffusion GnuPG 483f2ba02e70

gpg: Fix another regression due to the T7547 fix.

Description

gpg: Fix another regression due to the T7547 fix.

* g10/getkey.c (get_pubkey_for_sig): Keep a requested
PUBKEY_USAGE_CERT.
(finish_lookup): For correctness in future use cases allow
PUBKEY_USAGE_CERT to also trigger verify mode.

The case here was that a cert-only primary key was removed with
export-clean.

Details

Provenance
wernerAuthored on Fri, May 2, 11:11 AM
Parents
rG8968e8490313: common: Fix logic for certain recsel conditions.
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Tasks
T7583: 2.5.5 removes sig on clean that 2.5.4 and earlier kept