diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-10-27 17:04:06 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-10-27 17:04:26 +0100 |
commit | 40645ebb71eece35b3fc64399dc77140a9a8e8be (patch) | |
tree | 599a754518e345193e04efa569fcdbb67d73c4d9 | |
parent | e2d14ee97c8786de7be0868c53bbf51f7b4f4a29 (diff) | |
download | guix-40645ebb71eece35b3fc64399dc77140a9a8e8be.tar.gz |
gnu: Add pam-u2f.
* gnu/packages/security-token.scm (pam-u2f): New variable.
-rw-r--r-- | gnu/packages/security-token.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index fb84a764ab..1c2c4c7a0e 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -499,6 +499,43 @@ Registration and U2F Authentication operations, and functionality for verifying the cryptographic operations.") (license license:bsd-2))) +(define-public pam-u2f + (package + (name "pam-u2f") + (version "1.0.8") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/Yubico/pam-u2f.git") + (commit (string-append "pam_u2f-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04d9davyi33gqbvga1rvh9fijp6f16mx2xmnn4n61rnhcn2jac98")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-pam-dir=" + (assoc-ref %outputs "out") "/lib/security")))) + (inputs + `(("libu2f-host" ,libu2f-host) + ("libu2f-server" ,libu2f-server) + ("linux-pam" ,linux-pam))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("asciidoc" ,asciidoc) + ("pkg-config" ,pkg-config))) + (home-page "https://developers.yubico.com/pam-u2f/") + (synopsis "PAM module for U2F authentication") + (description + "This package provides a module implementing PAM over U2F, providing an +easy way to integrate the YubiKey (or other U2F compliant authenticators) into +your existing infrastructure.") + (license license:bsd-2))) + (define-public python-fido2 (package (name "python-fido2") |