Home GnuPG
Diffusion GnuPG c41c46fa84ca

g10: Export cleartext keys as cleartext
c41c46fa84caUnpublished

Unpublished Commit · Learn More

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

Description

g10: Export cleartext keys as cleartext

* g10/export.c (do_export_stream): If a key is stored by the agent in
cleartext, then try to export it as cleartext.
* tests/openpgp/export.test: For secret keys that are stored in
cleartext, test should try to export without pinentry interaction.

This restores the behavior of GnuPG 2.0 and 1.4 when exporting
passphraseless secret keys, and fixes the test suite accordingly.

  • GnuPG-bug-id: T2070, T2324
  • 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:18 AM
Parents
rGa3cb72af79ee: g10: Allow receiving cleartext secret keys from agent
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGc41c46fa84ca: g10: Export cleartext keys as cleartext (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Jun 11 2016, 11:18 AM