summaryrefslogtreecommitdiff
path: root/regress/limit-keytype.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-12-16 02:39:05 +0000
committerDamien Miller <djm@mindrot.org>2019-12-21 13:35:42 +1100
commite5b7cf8edca7e843adc125621e1dab14507f430a (patch)
tree3b7fd4a0558e25b422d64b341f8c5fd50d15c013 /regress/limit-keytype.sh
parent40be78f503277bd91c958fa25ea9ef918a2ffd3d (diff)
upstream: test security key host keys in addition to user keys
OpenBSD-Regress-ID: 9fb45326106669a27e4bf150575c321806e275b1
Diffstat (limited to 'regress/limit-keytype.sh')
-rw-r--r--regress/limit-keytype.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/limit-keytype.sh b/regress/limit-keytype.sh
index abac05c0c..010a88cd7 100644
--- a/regress/limit-keytype.sh
+++ b/regress/limit-keytype.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: limit-keytype.sh,v 1.8 2019/11/26 23:43:10 djm Exp $ 1# $OpenBSD: limit-keytype.sh,v 1.9 2019/12/16 02:39:05 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="restrict pubkey type" 4tid="restrict pubkey type"
@@ -13,7 +13,7 @@ mv $OBJ/ssh_proxy $OBJ/ssh_proxy.orig
13 13
14ktype1=ed25519; ktype2=ed25519; ktype3=ed25519; 14ktype1=ed25519; ktype2=ed25519; ktype3=ed25519;
15ktype4=ed25519; ktype5=ed25519; ktype6=ed25519; 15ktype4=ed25519; ktype5=ed25519; ktype6=ed25519;
16for t in `${SSH} -Q key-plain | maybe_filter_sk`; do 16for t in $SSH_KEYTYPES ; do
17 case "$t" in 17 case "$t" in
18 ssh-rsa) ktype2=rsa ;; 18 ssh-rsa) ktype2=rsa ;;
19 ecdsa*) ktype3=ecdsa ;; # unused 19 ecdsa*) ktype3=ecdsa ;; # unused