1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-07 23:27:48 +02:00
gnupg/agent
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
..
agent.h gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +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 Use has_leading_keyword in the assuan callbacks. 2013-02-22 10:56:13 +01:00
call-scd.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command-ssh.c agent: Fix two compiler warnings. 2013-08-28 13:04:31 +02:00
command.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
cvt-openpgp.c Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +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 Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
genkey.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: New option --disable-check-own-socket. 2013-05-22 09:56:05 +02:00
keyformat.txt Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
learncard.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
Makefile.am Fix Makefile regression. 2013-06-26 23:23:18 +02:00
pkdecrypt.c gpg: Make decryption with the OpenPGP card work. 2013-08-28 17:40:32 +02:00
pksign.c agent: pksign result conversion to sexp to upper layer. 2013-02-28 11:17:47 +09:00
preset-passphrase.c common: Add a global variable to for the default error source. 2012-02-06 20:50:47 +01:00
protect-tool.c Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
protect.c agent: Include missing prototype. 2013-08-01 11:32:05 +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 Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
w32main.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00