Home GnuPG
Diffusion GnuPG 110a4550179f

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

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

Provenance
wernerAuthored on May 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