1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 21:50:35 +02:00

gnu: openssh: Add support for ecdsa-sk, ed25519-sk ssh keys.

* gnu/packages/ssh.scm (openssh)[inputs]: Add LIBFIDO2.
[arguments]: Pass "--with-security-key-builtin".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Ahmad Jarara
2021-11-05 14:12:56 -04:00
committed by Ludovic Courtès
parent 3aaef047a6
commit 8cc099b425

View File

@@ -63,6 +63,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages security-token)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
#:use-module (gnu packages xorg)
@@ -199,6 +200,7 @@ a server that supports the SSH-2 protocol.")
(native-inputs `(("groff" ,groff)
("pkg-config" ,pkg-config)))
(inputs `(("libedit" ,libedit)
("libfido2" ,libfido2)
("openssl" ,openssl)
,@(if (hurd-target?)
'()
@@ -229,6 +231,9 @@ a server that supports the SSH-2 protocol.")
'()
'("--with-pam"))
;; supports creation and use of ecdsa-sk, ed25519-sk keys
"--with-security-key-builtin"
;; "make install" runs "install -s" by default,
;; which doesn't work for cross-compiled binaries
;; because it invokes 'strip' instead of