gnupg/agent
Werner Koch cf83ff01fc
agent: Compute correct MPI length header for protected ECC keys.
* agent/cvt-openpgp.c (apply_protection): Strip leading zeroes from
opaque MPIs to comply with the OpenPGP spec.
--

This patch is the protected private key counterpart to commit ab17f7b.
Thanks to andy_s for describing the problem.

GnuPG-bug-id: 1853
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-03-19 18:01:58 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
agent.h agent: Fix use of imported but unprotected openpgp keys. 2015-01-29 16:26:07 +01:00
cache.c gpg: Improve passphrase caching. 2014-09-17 15:12:08 +02:00
call-pinentry.c agent: Improve error reporting from Pinentry. 2015-03-11 16:28:32 +01:00
call-scd.c agent: Replace some sprintf. 2014-12-02 14:13:53 +01:00
command-ssh.c agent: Fix length test in sshcontrol parser. 2015-03-15 13:04:48 +01:00
command.c agent: Remove useless conditions in command.c. 2015-03-15 13:11:44 +01:00
cvt-openpgp.c agent: Compute correct MPI length header for protected ECC keys. 2015-03-19 18:01:58 +01:00
cvt-openpgp.h Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
divert-scd.c scd: ECDH Support. 2014-12-22 09:27:00 +09:00
findkey.c agent: Fix use of imported but unprotected openpgp keys. 2015-01-29 16:26:07 +01:00
genkey.c agent: Remove useless conditions. 2015-03-15 12:59:17 +01:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c gpg-agent: Use "pinentry-basic" as fallback. 2015-02-04 10:28:38 +01:00
keyformat.txt gpg: Finish experimental support for Ed25519. 2014-05-07 13:27:43 +02:00
learncard.c gpg: Let --card--status create a shadow key (card key stub). 2014-12-12 12:47:28 +01:00
pkdecrypt.c agent: Replace some sprintf. 2014-12-02 14:13:53 +01:00
pksign.c scd: fix for 64-bit arch. 2015-03-09 11:00:03 +09:00
preset-passphrase.c Add a hook to be called right after main. 2015-01-28 19:57:22 +01:00
protect-tool.c Add a hook to be called right after main. 2015-01-28 19:57:22 +01:00
protect.c agent: Fix use of imported but unprotected openpgp keys. 2015-01-29 16:26:07 +01:00
t-protect.c Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c agent: Make --allow-mark-trusted the default. 2014-03-07 09:48:26 +01:00
w32main.c Make use of the *_NAME etc macros. 2013-11-18 14:09:47 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00