diff options
author | Andreas Schwier <[email protected]> | 2014-07-18 14:20:59 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-07-25 07:43:29 +0000 |
commit | 8eb9224f32ddf1c9e1490c4d9688a177f8b6ae64 (patch) | |
tree | 4a77d1044bcb7fa98dfd71ccba6a53ffe3a1f6b8 /scd/app.c | |
parent | gpg: Switch to an EdDSA format with prefix byte. (diff) | |
download | gnupg-8eb9224f32ddf1c9e1490c4d9688a177f8b6ae64.tar.gz gnupg-8eb9224f32ddf1c9e1490c4d9688a177f8b6ae64.zip |
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.
Diffstat (limited to 'scd/app.c')
-rw-r--r-- | scd/app.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |