aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2019-05-14 01:22:38 +0000
committerDaniel Kahn Gillmor <[email protected]>2019-05-14 01:43:05 +0000
commit29adca88f5f6425f5311c27bb839718a4956ec3a (patch)
tree572c4e868e3b129f98558581a8da038f75c63931 /tests/gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939
parentgpg: Change update_keysig_packet to replace SHA-1 by SHA-256. (diff)
downloadgnupg-dkg/fix-T4490.tar.gz
gnupg-dkg/fix-T4490.zip
gpg: enable OpenPGP export of cleartext keys with commentsdkg/fix-T4490
* g10/export.c (cleartext_secret_key_to_openpgp): ignore trailing sublists in private-key S-expression. -- When gpg-agent learns about a private key from its ssh-agent interface, it stores its S-expression with the comment attached. The export mechanism for OpenPGP keys already in cleartext was too brittle because it would choke on these comments. This change lets it ignore any additional trailing sublists. Signed-off-by: Daniel Kahn Gillmor <[email protected]> Gnupg-Bug-Id: 4490
Diffstat (limited to 'tests/gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939')
0 files changed, 0 insertions, 0 deletions