Allow decryption with card keys > 3072 bit
authorWerner Koch <wk@gnupg.org>
Tue, 6 Nov 2012 13:39:22 +0000 (14:39 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 6 Nov 2012 13:39:22 +0000 (14:39 +0100)
commitab4ea45f54006eba55db11263431c4c0c4f557dc
tree99ebe30d380a7e3a8eef2f1d3bd764a651351d82
parentc0a20d6124118a91e18aa707d2c1102c67d6798f
Allow decryption with card keys > 3072 bit

* scd/command.c (MAXLEN_SETDATA): New.
(cmd_setdata): Add option --append.
* g10/call-agent.c (agent_scd_pkdecrypt): Use new option for long data

* scd/app-openpgp.c (struct app_local_s): Add field manufacturer.
(app_select_openpgp): Store manufacturer.
(do_decipher): Print a note for broken cards.

--

Please note that I was not able to run a full test because I only have
broken cards (S/N < 346) available.
g10/call-agent.c
scd/app-openpgp.c
scd/command.c