Home GnuPG
Diffusion GnuPG 7aaedfb10767

gpg: Import stray revocation certificates.

Description

gpg: Import stray revocation certificates.

* g10/kbnode.c (new_kbnode2): New.
* g10/import.c (delete_inv_parts): New arg r_otherrevsigs to store
misplaced revocations.
(import_revoke_cert): Allow to pass an entire list.
(import_one): Import revocations found by delete_inv_parts.

It might be useful to distribute revocations of old keys along with
new keys. This is in particicualrr useful for WKD stored keys. This
patch allows to put unrelated standalone revocations into a key. For
example they can simply appended to a keyblock. Right now it is a bit
inaesthetic to see diagnostics about misplaced or bad revocation
signatures.

Details

Provenance
wernerAuthored on Oct 28 2022, 9:29 AM
Parents
rGed6eb9019248: agent: Automatically convert to extended key format by KEYATTR.
Branches
Unknown
Tags
Unknown