1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-13 00:09:51 +02:00
gnupg/scd
NIIBE Yutaka 2969271876 scd: Support changing key attribute back to RSA.
* scd/app-openpgp.c (change_rsa_keyattr): Try usual RSA.

--

In the OpenPGP card specification, there are multiple options to
support RSA (having P and Q or not, etc.), and it is implementation
dependent.  Since GnuPG doesn't have knowledge which card
implementation support which option and there is no way (yet) for card
to express itself which key attributes are supported, we haven't
supported key attribute change back to RSA.  But, many card
implementation uses P and Q, try this option.  If other cases,
factory-reset would be easier option.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2018-03-30 09:59:09 +09:00
..
apdu.c scd: After fatal error, shutdown a reader. 2018-03-13 12:53:49 +09:00
apdu.h scd: Fix use case of PC/SC. 2017-02-13 11:09:13 +09:00
app-common.h scd: Fix RESET command handling (more). 2017-02-17 11:50:40 +09:00
app-dinsig.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-geldkarte.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-help.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-nks.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-openpgp.c scd: Support changing key attribute back to RSA. 2018-03-30 09:59:09 +09:00
app-p15.c scd: Relax a condition for p15 driver. 2017-04-10 13:18:30 +09:00
app-sc-hsm.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app.c scd: Enable card removal check after select_application. 2017-11-21 12:19:15 +09:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09: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 scd: Fix suspend/resume handling for CCID driver. 2018-03-15 23:59:22 +09:00
ccid-driver.h scd: Fix GetSlotStatus. 2017-01-30 09:32:03 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c agent,scd: Use pointer to represent HANDLE. 2018-03-27 16:24:17 +09:00
iso7816.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
iso7816.h scd: Fix API of select_file/_path. 2017-03-06 13:39:46 +09:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c scd: signal mask should be set just after npth_init. 2018-03-19 16:36:30 +09:00
scdaemon.h scd: Fix regression tracking the connection count. 2017-02-01 08:58:01 +09:00