Home GnuPG
Diffusion GnuPG 753175c74e9d

gpg: Autoload designated revoker key and ADSK when needed.

Description

gpg: Autoload designated revoker key and ADSK when needed.

* g10/options.h (opt): Move the definition of struct akl to global
scope.
* g10/keydb.h (enum get_pubkey_modes): Add GET_PUBKEY_TRY_LDAP.
* g10/getkey.c (get_pubkey_byname): Implement GET_PUBKEY_BYNAME.
* g10/keygen.c (prepare_desig_revoker): Use it here.
(prepare_adsk): and here.

The revoker key is required before we create it along with a new key.
This is because the we need to know the algo and also to make sure
that the key really exists.

Backported-from-master: 465ea9116d1f9467814143ed35b515034a849e86

Details

Provenance
wernerAuthored on Fri, Feb 13, 3:37 PM
Parents
rG30ef06a56aa4: gpg: Add option --no-auto-key-upload.
Branches
Unknown
Tags
Unknown
References
STABLE-BRANCH-2-2
Tasks
T7133: Add feature to load designated revoker from LDAP