From 8eb9224f32ddf1c9e1490c4d9688a177f8b6ae64 Mon Sep 17 00:00:00 2001 From: Andreas Schwier Date: Fri, 18 Jul 2014 16:20:59 +0200 Subject: scd: Support for SmartCard-HSM * scd/app-sc-hsm.c: New. * scd/app.c (select_application, get_supported_applications): Register new app. -- Add a read/only driver for scdaemon that provides access to keys and certificates on a SmartCard-HSM (www.smartcard-hsm.com). The driver supports RSA and ECC keys on SmartCard-HSM cards and USB-Sticks. The driver does not yet support the MicroSD edition. -- ChangeLog and FSF copyright year fix by wk. --- scd/app.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scd/app.c') diff --git a/scd/app.c b/scd/app.c index a0bb5f5ac..1694ea1c4 100644 --- a/scd/app.c +++ b/scd/app.c @@ -387,6 +387,8 @@ select_application (ctrl_t ctrl, int slot, const char *name, app_t *r_app) err = app_select_geldkarte (app); if (err && is_app_allowed ("dinsig") && (!name || !strcmp (name, "dinsig"))) err = app_select_dinsig (app); + if (err && is_app_allowed ("sc-hsm") && (!name || !strcmp (name, "sc-hsm"))) + err = app_select_sc_hsm (app); if (err && name) err = gpg_error (GPG_ERR_NOT_SUPPORTED); @@ -422,6 +424,7 @@ get_supported_applications (void) "p15", "geldkarte", "dinsig", + "sc-hsm", /* Note: "undefined" is not listed here because it needs special treatment by the client. */ NULL -- cgit v1.2.3