gnupg/agent
Werner Koch afe85582dd agent: Fix import of OpenPGP EdDSA keys.
* agent/cvt-openpgp.c (get_keygrip): Special case EdDSA.
(convert_secret_key): Ditto.
(convert_transfer_key): Ditto.
(apply_protection): Handle opaque MPIs.

(do_unprotect): Check FLAG_OPAQUE instead of FLAG_USER1 before
unpacking an opaque mpi.
--

The key transfer protocol between gpg and gpg-agent uses gcrypt
algorithm numbers which merge all ECC algorithms into one.  Thus it is
not possible to use the algorithm number to determine the EdDSA
algorithm.  We need to known that because Libgcrypt requires the
"eddsa" flag with the curve "Ed25519" to actually use the Ed25519
signature specification.

The last fix is for correctness; the first case won't be used anyway.
2014-09-02 11:22:07 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Fix Makefile regression. 2013-06-26 23:23:18 +02:00
agent.h agent: Add command DELETE_KEY. 2014-04-15 17:03:54 +02:00
cache.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
call-pinentry.c Silence several warnings when building under Windows. 2014-03-07 16:06:35 +01:00
call-scd.c Silence several warnings when building under Windows. 2014-03-07 16:06:35 +01:00
command-ssh.c agent: Fix auth key comment handling. 2014-05-08 11:46:38 +09:00
command.c gpg: Fix regression in secret key export. 2014-04-15 19:44:42 +02:00
cvt-openpgp.c agent: Fix import of OpenPGP EdDSA keys. 2014-09-02 11:22:07 +02:00
cvt-openpgp.h Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
divert-scd.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
findkey.c agent: Return NO_SECKEY instead of ENONET for PKSIGN and others. 2014-08-18 15:42:54 +02:00
genkey.c agent: Show just one warning with all failed passphrase constraints. 2014-07-23 19:51:52 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Adjust for changed npth_eselect under W32. 2014-06-27 19:19:24 +02:00
keyformat.txt gpg: Finish experimental support for Ed25519. 2014-05-07 13:27:43 +02:00
learncard.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
pkdecrypt.c agent: Return NO_SECKEY instead of ENONET for PKSIGN and others. 2014-08-18 15:42:54 +02:00
pksign.c agent: Return NO_SECKEY instead of ENONET for PKSIGN and others. 2014-08-18 15:42:54 +02:00
preset-passphrase.c w32: Include winsock2.h to silence warnings. 2014-03-07 14:18:43 +01:00
protect-tool.c Make use of the *_NAME etc macros. 2013-11-18 14:09:47 +01:00
protect.c agent: Allow key unprotection using AES-256. 2014-09-01 10:15:21 +02: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