Home GnuPG
Diffusion GnuPG 7de74320767d

g10: Add openpgp_protected flag to agent secret key export functions
7de74320767dUnpublished

Unpublished Commit · Learn More

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

Description

g10: Add openpgp_protected flag to agent secret key export functions

* g10/call-agent.c, g10/call-agent.h (agent_export_key): Add
openpgp_protected flag.
* g10/export.c (receive_seckey_from_agent): Request openpgp_protected
secret keys from agent.
* agent/command.c (hlp_export_key): EXPORT_KEY help text: add a
brief description of the effect of --openpgp.

The --openpgp flag for gpg-agent's EXPORT_KEY actually forces
encryption in a certain (RFC 4880-compatible format). This changeset
exposes that functionality in internal functions, and clarifies
functionality in the agent's help text.

  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Jun 10 2016, 10:15 PM
wernerCommitted on Jun 11 2016, 11:14 AM
Parents
rG00f30cc01c79: g10: report whether key in agent is passphrase-protected or not
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG7de74320767d: g10: Add openpgp_protected flag to agent secret key export functions (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Jun 11 2016, 11:14 AM