Message4239

Author zmk
Recipients zmk
Date 2012-02-20.17:46:24
Content
gpg2 --export-secret-key does not work work, it asks for pin many times, then
exports (seemingly) signing key only, without encryption subkey.

Tested with both 2.1-beta3 and recent GIT.  It does not matter whether I give
main or subkey id.

$ gpg2 -a --export-secret-key 3A3FF2F6
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: key 01A514F1/3A3FF2F6: error receiving key from agent: Bad secret key - skipped
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v2.1.0beta3 (GNU/Linux)

lgAAAQcETzhsnRMFK4EEACMEIwQAi/zG76eONm6Ujn0WQpi+0zNCelrGX8smVFpF
UzxS4zXQRwNki+3rM+y0Ej1+iQ274rz/oLXdF53nFvEa0VgtB/4Ae+4Om4AyS9y5
tju0Wfmua1dtLyg6yxkEvcsQYowii/jXyM92BHJOv0eB0hfGRPwubljx7RC78p/6
+yAeoLeYJGj+BwMCv7Uzk00u3QTZHAp5L9fnB7uEi/Dh3jxUJnKaUSJ5+6Z2IC4q
QSHhtYF2SlCdV8bRx1UP5TlyQ0mGduI+ERoX7dUXBqiEaBaR1jLAGfHAbm54ZRZC
MhhoJMmjTH5FaIyPMlaLFx5iv0nq+1m897bn4rQWVGVzdDIgPHRlc3QyQGVjZGgu
b3JnPoi8BBMTCgAhBQJPOGydAhsDBgsJCAcDAgYVCAIJCgsDFgIBAh4BAheAAAoJ
EH6DxR4BpRTxmq0CBRidkNs6/CbdqwfQlqciJa8B9jHbSJ1R38fTh9iX6GQQc2rj
bsaPAEhJ6qChaPMkJvQJ199RU8gbb43jq9Uw9/t3AgkBjFTDg5Vpe+LwVlqKpXCp
3hQpBUJjZyuM6EFFvRl8QK7mqKCI2K1LSjbt+B7YvNT/0oztqG6M/UaAYba2YhHw
clo=
=6wcI
-----END PGP PRIVATE KEY BLOCK-----
$ gpg2 --list-keys
pub    521E/01A514F1 2012-02-13
uid                  Test2 <test2@ecdh.org>
sub    521e/3A3FF2F6 2012-02-13
History
Date User Action Args
2012-02-20 17:46:24zmksetrecipients: + zmk
2012-02-20 17:46:24zmksetmessageid: <1329759984.24.0.131813341441.issue1392@bugs.g10code.com>
2012-02-20 17:46:24zmklinkissue1392 messages
2012-02-20 17:46:24zmkcreate