1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 780ba32336 gpg: Make decryption with the OpenPGP card work.
* scd/app-common.h (APP_DECIPHER_INFO_NOPAD): New.
* scd/app-openpgp.c (do_decipher): Add arg R_INFO.
* scd/app-nks.c (do_decipher): Add arg R_INFO as a dummy.
* scd/app.c (app_decipher): Add arg R_INFO.
* scd/command.c (cmd_pkdecrypt): Print status line "PADDING".
* agent/call-scd.c (padding_info_cb): New.
(agent_card_pkdecrypt): Add arg R_PADDING.
* agent/divert-scd.c (divert_pkdecrypt): Ditto.
* agent/pkdecrypt.c (agent_pkdecrypt): Ditto.
* agent/command.c (cmd_pkdecrypt):  Print status line "PADDING".
* g10/call-agent.c (padding_info_cb): New.
(agent_pkdecrypt): Add arg R_PADDING.
* g10/pubkey-enc.c (get_it): Use padding info.
--

Decryption using a card never worked in gpg 2.1 because the
information whether the pkcs#1 padding needs to be removed was not
available.  Gpg < 2.1 too this info from the secret sub key but that
has gone in 2.1.

Signed-off-by: Werner Koch <wk@gnupg.org>
2013-08-28 17:40:32 +02:00
..
2008-06-25 11:14:48 +00:00
sm/
2006-11-14 10:23:21 +00:00
2010-06-10 10:39:44 +00:00
DCO
2013-04-17 11:26:27 +02:00
2010-08-16 11:03:43 +00:00
FAQ
2010-10-05 13:56:25 +00:00
2003-01-09 13:24:01 +00:00
2009-07-22 13:33:46 +00:00
2010-06-10 10:39:44 +00:00
2007-07-04 19:49:40 +00:00
2007-03-08 18:31:56 +00:00
2007-03-08 18:31:56 +00:00
2007-03-08 18:31:56 +00:00
2011-08-12 14:40:47 +02:00
2013-05-07 21:25:27 +02:00
2013-05-07 21:25:27 +02:00
2009-05-06 10:57:10 +00:00
2013-04-19 12:01:22 +02:00
2013-02-12 14:15:21 +09:00
2007-05-08 13:59:41 +00:00
2010-06-10 10:39:44 +00:00
2006-08-21 20:20:23 +00:00
2013-04-19 12:01:22 +02:00
2006-08-21 20:20:23 +00:00
2008-06-25 11:14:48 +00:00
2012-11-30 12:47:49 -05:00
2009-07-22 13:33:46 +00:00
2011-08-12 14:40:47 +02:00
2006-12-06 16:38:34 +00:00