From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42233) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jORUe-00084U-VK for guix-patches@gnu.org; Tue, 14 Apr 2020 15:45:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jORUV-0006J2-Gr for guix-patches@gnu.org; Tue, 14 Apr 2020 15:45:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jORUV-0006Iu-Dq for guix-patches@gnu.org; Tue, 14 Apr 2020 15:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jORUV-0003nt-Cb for guix-patches@gnu.org; Tue, 14 Apr 2020 15:45:03 -0400 Subject: [bug#40631] [PATCH 1/4] gnu: Add softhsm. Resent-Message-ID: From: Christopher Baines Date: Tue, 14 Apr 2020 20:44:17 +0100 Message-Id: <20200414194420.15589-1-mail@cbaines.net> In-Reply-To: <877dyh7tcn.fsf@cbaines.net> References: <877dyh7tcn.fsf@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40631@debbugs.gnu.org Required for the libcacard tests. * gnu/packages/security-token.scm (softhsm): New variable. --- gnu/packages/security-token.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index c5cbb758da..2ff0abb248 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.5.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://dist.opendnssec.org/source/" + "softhsm-" version ".tar.gz")) + (sha256 + (base32 + "1cijq78jr3mzg7jj11r0krawijp99p253f4qdqr94n728p7mdalj")))) + (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") -- 2.26.0