summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-10-27 17:04:06 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-10-27 17:04:26 +0100
commit40645ebb71eece35b3fc64399dc77140a9a8e8be (patch)
tree599a754518e345193e04efa569fcdbb67d73c4d9 /gnu
parente2d14ee97c8786de7be0868c53bbf51f7b4f4a29 (diff)
gnu: Add pam-u2f.
* gnu/packages/security-token.scm (pam-u2f): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/security-token.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index fb84a764ab9..1c2c4c7a0e6 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
499verifying the cryptographic operations.") 499verifying the cryptographic operations.")
500 (license license:bsd-2))) 500 (license license:bsd-2)))
501 501
502(define-public pam-u2f
503 (package
504 (name "pam-u2f")
505 (version "1.0.8")
506 (source (origin
507 (method git-fetch)
508 (uri
509 (git-reference
510 (url "https://github.com/Yubico/pam-u2f.git")
511 (commit (string-append "pam_u2f-" version))))
512 (file-name (git-file-name name version))
513 (sha256
514 (base32
515 "04d9davyi33gqbvga1rvh9fijp6f16mx2xmnn4n61rnhcn2jac98"))))
516 (build-system gnu-build-system)
517 (arguments
518 `(#:configure-flags
519 (list (string-append "--with-pam-dir="
520 (assoc-ref %outputs "out") "/lib/security"))))
521 (inputs
522 `(("libu2f-host" ,libu2f-host)
523 ("libu2f-server" ,libu2f-server)
524 ("linux-pam" ,linux-pam)))
525 (native-inputs
526 `(("autoconf" ,autoconf)
527 ("automake" ,automake)
528 ("libtool" ,libtool)
529 ("asciidoc" ,asciidoc)
530 ("pkg-config" ,pkg-config)))
531 (home-page "https://developers.yubico.com/pam-u2f/")
532 (synopsis "PAM module for U2F authentication")
533 (description
534 "This package provides a module implementing PAM over U2F, providing an
535easy way to integrate the YubiKey (or other U2F compliant authenticators) into
536your existing infrastructure.")
537 (license license:bsd-2)))
538
502(define-public python-fido2 539(define-public python-fido2
503 (package 540 (package
504 (name "python-fido2") 541 (name "python-fido2")