Home GnuPG
Diffusion GnuPG 00f30cc01c79

g10: report whether key in agent is passphrase-protected or not
00f30cc01c79Unpublished

Unpublished Commit · Learn More

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

Description

g10: report whether key in agent is passphrase-protected or not

* g10/call-agent.c, g10/call-agent.h (agent_get_keyinfo): add
  r_cleartext parameter to report whether a key is stored without
  passphrase protection.
* g10/gpgv.c, g10/test-stubs.c: augment dummy agent_get_keyinfo to
  match new API.
* g10/export.c, g10/keyedit.c, g10/keygen.c, g10/keylist.c,
  g10/sign.c: pass NULL to agent_get_keyinfo since we do not yet
  need to know whether agent is passphrase-protected.
  • 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:09 AM
Parents
rG5cc1613dcee6: speedo,w32: Distribute gpg-preset-passphrase.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG00f30cc01c79: g10: report whether key in agent is passphrase-protected or not (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Jun 11 2016, 11:09 AM