Home GnuPG
Diffusion GnuPG 780fac7788a8

gpg: Make --auto-upload also work for the --quick commands.

Description

gpg: Make --auto-upload also work for the --quick commands.

* g10/keyedit.c (keyedit_menu): Factor some code out ...
(maybe_upload_key): New.
(keyedit_quick_adduid): Call it here.
(keyedit_quick_revuid): Ditto.
(keyedit_quick_set_primary): Ditto.
(keyedit_quick_update_pref): Ditto.
(keyedit_quick_sign): Ditto.
(keyedit_quick_revsig): Ditto.
(keyedit_quick_addkey): Ditto.
(keyedit_quick_addadsk): Ditto.
(keyedit_quick_set_expire): Ditto.

This is the third of three parts to implement

Backported-from-master: 152e02bd87bbb2f7026eecc4cfdc242f1cfa2756

Details

Provenance
wernerAuthored on Aug 29 2025, 2:33 PM
Parents
rG5feb3ba62cda: gpg: Make --auto-upload also work for --edit-key
Branches
Unknown
Tags
Unknown
Tasks
T7333: Allow gpg to auto-upload a new own key to LDAP servers