gnupg/scd
Werner Koch 14816c7980
scd: Make app_genkey and supporting ISO function more flexible.
* scd/app.c (app_genkey): Add arg keytype.
* scd/app-common.h (struct app_ctx_s): Fitto for the genkey member.
* scd/command.c (cmd_genkey): Adjust for change.
* scd/iso7816.c (do_generate_keypair): Replace arg read_only by new
args p1 and p2.
(iso7816_read_public_key): Adjust for this.
(iso7816_generate_keypair): Add new args p1 and p2.
* scd/app-openpgp.c (do_genkey): Adjust for changes.
--

The OpenPGP card creates keys according to parameters read from a data
object.  Other cards we are about to implement require a direct
specification of the requested keytype.  This patch implements the
required changes.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 9a9cb0257a)
2019-02-11 10:59:32 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
apdu.c scd: One new and one improved 7816 function. 2019-01-22 10:13:28 +01:00
apdu.h scd: One new and one improved 7816 function. 2019-01-22 10:13:28 +01:00
app-common.h scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01: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 scd: Add option --clear to PASSWD. 2019-01-22 10:14:55 +01:00
app-openpgp.c scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01: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: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01: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 for USB INTERRUPT transfer. 2019-01-17 08:13:17 +09:00
ccid-driver.h scd: Support "acknowledge button" feature. 2018-12-18 10:18:23 +09:00
command.c scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01:00
iso7816.c scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01:00
iso7816.h scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01: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: Add option --clear to PASSWD. 2019-01-22 10:14:55 +01:00