Home GnuPG
Diffusion GnuPG ac9ff644b12c

gpg: Allow unattended deletion of secret keys.
ac9ff644b12cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Allow unattended deletion of secret keys.

* agent/command.c (cmd_delete_key): Make the --force option depend on
--disallow-loopback-passphrase.
* g10/call-agent.c (agent_delete_key): Add arg FORCE.
* g10/delkey.c (do_delete_key): Pass opt.answer_yes to
agent_delete_key.

Unless the agent has been configured with
--disallow-loopback-passpharse an unattended deletion of a secret key
is now possible with gpg by using --batch _and_ --yes.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 10 2016, 11:01 AM
Parents
rG693838f0125d: gpg: Fix buglet in the check_all_keysigs function.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGac9ff644b12c: gpg: Allow unattended deletion of secret keys. (authored by Werner Koch <wk@gnupg.org>).May 10 2016, 11:01 AM