Diffusion GnuPG 110a4550179f

gpg: Do not delete any keys if --dry-run is passed.

Authored by werner on May 20 2019, 12:31 PM.

Description

gpg: Do not delete any keys if --dry-run is passed.

* g10/delkey.c (do_delete_key): Don't delete the keyblock on dry runs.
Do not clear the ownertrust.  Do not let the agent delete the key.
  • Co-authored-by: Matheus Afonso Martins Moreira
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerMay 20 2019, 12:31 PM
Differential Revision
D487: gpg: don't delete any keys if --dry-run is passed
Parents
rG386bacd97416: gpg: Fix using --decrypt along with --use-embedded-filename.
Branches
Unknown
Tags
Unknown