diff options
| author | Werner Koch <[email protected]> | 2023-03-15 08:36:36 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2023-03-15 08:42:12 +0000 |
| commit | 5118beeec18f731fe3c0084b181eff9531181be6 (patch) | |
| tree | ac534cd22f6012cdccffd3d4b4f2f29f7faa26a9 /dirmngr/dirmngr.c | |
| parent | scd,openpgp: Switch key attributes between RSA and ECC in writekey. (diff) | |
| download | gnupg-5118beeec18f731fe3c0084b181eff9531181be6.tar.gz gnupg-5118beeec18f731fe3c0084b181eff9531181be6.zip | |
gpg: Delete secret key after "keytocard".
* g10/card-util.c (card_store_subkey): Add arg processed_keys.
* g10/keyedit.c (keyedit_menu): Delete secret key.
--
This used to work using the gpg-agent: learn we called at "save" time.
However, the recent change inhibited the creation of a shadow key by
learn if a regular key still exists. Now we do an explicit delete key
at save time. This syncs the behaviour with the description of the
man page.
GnuPG-bug-id: 6378
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions
