Home GnuPG
Diffusion GnuPG 5c46c5f74540

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
Parents
rG1702179d91b7: gpg: Fix using --decrypt along with --use-embedded-filename.
Branches
Unknown
Tags
Unknown