summaryrefslogtreecommitdiff
path: root/regress/keys-command.sh
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2019-07-25 08:48:11 +0000
committerDarren Tucker <dtucker@dtucker.net>2019-07-25 20:01:19 +1000
commit47f8ff1fa5b76790c1d785815fd13ee6009f8012 (patch)
treea9bdc3fcf7ebf3c90c7de69e0ee15a3981da53f0 /regress/keys-command.sh
parent1e94afdfa8df774ab7dd3bad52912b636dc31bbd (diff)
upstream: Switch keys-command test from rsa to ed25519 since it's
supported for both OpenSSL and non-OpenSSL builds. OpenBSD-Regress-ID: 174be4be876edd493e4a5c851e5bc579885e7a0a
Diffstat (limited to 'regress/keys-command.sh')
-rw-r--r--regress/keys-command.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/keys-command.sh b/regress/keys-command.sh
index d166fc589..33b6e7b42 100644
--- a/regress/keys-command.sh
+++ b/regress/keys-command.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: keys-command.sh,v 1.5 2018/11/22 08:48:32 dtucker Exp $ 1# $OpenBSD: keys-command.sh,v 1.6 2019/07/25 08:48:11 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="authorized keys from command" 4tid="authorized keys from command"
@@ -14,8 +14,8 @@ rm -f $OBJ/keys-command-args
14touch $OBJ/keys-command-args 14touch $OBJ/keys-command-args
15chmod a+rw $OBJ/keys-command-args 15chmod a+rw $OBJ/keys-command-args
16 16
17expected_key_text=`awk '{ print $2 }' < $OBJ/rsa.pub` 17expected_key_text=`awk '{ print $2 }' < $OBJ/ssh-ed25519.pub`
18expected_key_fp=`$SSHKEYGEN -lf $OBJ/rsa.pub | awk '{ print $2 }'` 18expected_key_fp=`$SSHKEYGEN -lf $OBJ/ssh-ed25519.pub | awk '{ print $2 }'`
19 19
20# Establish a AuthorizedKeysCommand in /var/run where it will have 20# Establish a AuthorizedKeysCommand in /var/run where it will have
21# acceptable directory permissions. 21# acceptable directory permissions.