3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01: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
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

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