From 97bb46ea0e5f9744957b06d4e67e3b34ef9a64d3 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 24 Nov 2021 23:05:30 +0100 Subject: gnu: eid-mw: Disable pinentry. * gnu/packages/security-token.scm (eid-mw)[arguments]: Add "--disable-pinentry" to #:configure-flags. --- gnu/packages/security-token.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/security-token.scm') diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index e006b4cf25..ac6aa2bdbe 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -145,7 +145,12 @@ readers and is needed to communicate with such devices through the ("cyrus-sasl" ,cyrus-sasl))) (arguments `(#:configure-flags - (list "--disable-static") + (list "--disable-static" + + ;; With the (prettier) pinentry enabled, eid-viewer will skip + ;; crucial dialogue when used with card readers with built-in + ;; keypads such as the Digipass 870, and possibly others too. + "--disable-pinentry") #:phases (modify-phases %standard-phases (replace 'bootstrap -- cgit v1.2.3 From 8e9e18286320680a9170fa2aae7c754753ea9792 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 24 Nov 2021 23:14:09 +0100 Subject: gnu: eid-mw: Expand description. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/security-token.scm (synopsis, description): Expand. Add reminder to myself— er, ’new users’. --- gnu/packages/security-token.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu/packages/security-token.scm') diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index ac6aa2bdbe..2ff147b621 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -161,9 +161,11 @@ readers and is needed to communicate with such devices through the (("/bin/sh") (which "sh")) (("^(GITDESC=).*" _ match) (string-append match ,version "\n"))) (invoke "sh" "./bootstrap.sh")))))) - (synopsis "Belgian eID Middleware") - (description "The Belgian eID Middleware is required to authenticate with -online services using the Belgian electronic identity card.") + (synopsis "Belgian electronic identity card (eID) middleware") + (description "The Belgian eID middleware is required to authenticate with +online services and sign digital documents with Belgian identity cards. + +It requires a running pcscd service and a compatible card reader.") (home-page "https://github.com/Fedict/eid-mw") (license license:lgpl3))) -- cgit v1.2.3 From 3aaef047a6fdf02b1db0f4d53d445d6f7809171e Mon Sep 17 00:00:00 2001 From: Ahmad Jarara Date: Fri, 5 Nov 2021 13:59:27 -0400 Subject: gnu: Add libfido2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/security-token.scm (libfido2): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/security-token.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/security-token.scm') diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 2ff147b621..d5ce6e100d 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Antero Mejr ;;; Copyright © 2021 Sergey Trofimov ;;; Copyright © 2021 Dhruvin Gandhi +;;; Copyright © 2021 Ahmad Jarara ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,6 +45,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages curl) #:use-module (gnu packages check) + #:use-module (gnu packages compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -783,3 +785,36 @@ used for online authentication with electronic German ID cards and residence titles. To use this app, a supported RFID card reader or NFC-enabled smart phone is required.") (license license:eupl1.2))) + +(define-public libfido2 + (package + (name "libfido2") + (version "1.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://github.com/Yubico/libfido2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 (base32 "12zy4cnlcffcb64lsx8198y09j1dwi0bcn9rr82q6i1k950yzd3p")))) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs + `(("zlib" ,zlib) + ("udev" ,eudev) + ("libcbor" ,libcbor) + ("openssl" ,openssl))) + (build-system cmake-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; regress tests enabled only for debug builds + (delete 'check)))) + (synopsis "Library functionality and command-line tools for FIDO devices") + (description "libfido2 provides library functionality and command-line +tools to communicate with a FIDO device over USB, and to verify attestation +and assertion signatures. + +libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2) protocols.") + (license license:bsd-2) + (home-page "https://github.com/Yubico/libfido2"))) -- cgit v1.2.3