diff options
author | Christopher Baines <mail@cbaines.net> | 2020-04-14 20:29:27 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-05-03 10:35:57 +0100 |
commit | 2bed28f46c490cbd04fe61064db6d7ffcaf349e6 (patch) | |
tree | 34676839817f87852d265e06d6fab36f20b4d2ae /gnu/packages | |
parent | 6241eacd708ee82da0fad6b8a9fc867cc82f926c (diff) | |
download | guix-2bed28f46c490cbd04fe61064db6d7ffcaf349e6.tar.gz |
gnu: Add softhsm.
Required for the libcacard tests. * gnu/packages/security-token.scm (softhsm): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/security-token.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index c5cbb758da..10e69237ca 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -167,6 +167,34 @@ the low-level development kit for the Yubico YubiKey authentication device.") (home-page "https://developers.yubico.com/yubico-c/") (license license:bsd-2))) +(define-public softhsm + (package + (name "softhsm") + (version "2.6.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://dist.opendnssec.org/source/" + "softhsm-" version ".tar.gz")) + (sha256 + (base32 + "1wkmyi6n3z2pak1cj5yk6v6bv9w0m24skycya48iikab0mrr8931")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--disable-gost"))) ; TODO Missing the OpenSSL + ; engine for GOST + (inputs + `(("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("cppunit" ,cppunit))) + (synopsis "Software implementation of a generic cryptographic device") + (description + "SoftHSM 2 is a software implementation of a generic cryptographic device +with a PKCS #11 Cryptographic Token Interface.") + (home-page "https://www.opendnssec.org/softhsm/") + (license license:bsd-2))) + (define-public pcsc-lite (package (name "pcsc-lite") |