Home GnuPG
Diffusion GnuPG ecda4b1e1694

gpg: Add magic parameter "default" to --quick-add-adsk.

Description

gpg: Add magic parameter "default" to --quick-add-adsk.

* g10/getkey.c (has_key_with_fingerprint): New.
* g10/keyedit.c (menu_addadsk): Replace code by new function.
(keyedit_quick_addadsk): Handle magic arg "default".
* g10/keygen.c (append_all_default_adsks): New.

(cherry picked from commit 77afc9ee1c75a28083edf6d98888f9b472c3e39d)

Details

Provenance
wernerAuthored on Jun 5 2024, 5:04 PM
Parents
rG45ae027ce404: gpg: New command --quick-add-adsk
Branches
Unknown
Tags
Unknown
Tasks
T6882: Make ADSK configurable for new keys