From ad44ca81bea83657d558aaef5a1d789a9032bac3 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Tue, 26 Nov 2019 23:43:10 +0000 Subject: upstream: test FIDO2/U2F key types; ok markus@ OpenBSD-Regress-ID: 367e06d5a260407619b4b113ea0bd7004a435474 --- regress/principals-command.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regress/principals-command.sh') diff --git a/regress/principals-command.sh b/regress/principals-command.sh index 005c6b7d6..a91858cbb 100644 --- a/regress/principals-command.sh +++ b/regress/principals-command.sh @@ -12,7 +12,7 @@ if [ -z "$SUDO" -a ! -w /var/run ]; then exit 0 fi -case "`${SSH} -Q key-plain | grep -v ^sk-`" in +case "`${SSH} -Q key-plain`" in *ssh-rsa*) userkeytype=rsa ;; *) userkeytype=ed25519 ;; esac -- cgit v1.2.3