diff options
author | Daniel Kahn Gillmor <[email protected]> | 2016-06-10 20:15:36 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-06-11 09:18:58 +0000 |
commit | c41c46fa84cabbed74a13ded51fc3a817a919367 (patch) | |
tree | 1deafa79a85c35b7cb09253f4a208d04193d21e9 /common/t-stringhelp.c | |
parent | g10: Allow receiving cleartext secret keys from agent (diff) | |
download | gnupg-c41c46fa84cabbed74a13ded51fc3a817a919367.tar.gz gnupg-c41c46fa84cabbed74a13ded51fc3a817a919367.zip |
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: 2070, 2324
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'common/t-stringhelp.c')
0 files changed, 0 insertions, 0 deletions