gnupg/scd
NIIBE Yutaka b89e63e5c3 scd: Support OpenPGP card V3 for RSA.
* scd/app-openpgp.c (struct app_local_s): Remove max_cmd_data and
max_rsp_data fields as Extended Capabilities bits are different.
(get_cached_data) Use extcap.max_certlen_3.
(get_one_do): Don't use exmode=1.
(determine_rsa_response): New.
(get_public_key, do_genkey): Call determine_rsa_response.
(do_sign): Use keyattr[0].rsa.n_bits / 8, instead of max_rsp_data.
(do_auth): Use keyattr[2].rsa.n_bits / 8, instead of max_rsp_data.
(do_decipher): Likewise with Use keyattr[1].rsa.n_bits / 8.
(show_caps): Remove max_cmd_data and max_rsp_data.
(app_select_openpgp): Likewise.

--

OpenPGP card V3 had introduced incompatible change in Extended
Capabilities bits.  We can work around by this change by not
using those bits.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-11-25 16:35:15 +09:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
apdu.c scd: Fix receive buffer size. 2016-11-22 20:53:57 +09:00
apdu.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-common.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-dinsig.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-geldkarte.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-help.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-nks.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-openpgp.c scd: Support OpenPGP card V3 for RSA. 2016-11-25 16:35:15 +09:00
app-p15.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-sc-hsm.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
atr.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
command.c scd: Fix status info encoding. 2016-11-14 10:25:43 +09:00
iso7816.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
iso7816.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c scd,dirmngr: Keep the standard fds when daemonizing. 2016-11-16 21:17:47 +01:00
scdaemon.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00