diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-12-16 02:39:05 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-12-21 13:35:42 +1100 |
commit | e5b7cf8edca7e843adc125621e1dab14507f430a (patch) | |
tree | 3b7fd4a0558e25b422d64b341f8c5fd50d15c013 /regress/keytype.sh | |
parent | 40be78f503277bd91c958fa25ea9ef918a2ffd3d (diff) |
upstream: test security key host keys in addition to user keys
OpenBSD-Regress-ID: 9fb45326106669a27e4bf150575c321806e275b1
Diffstat (limited to 'regress/keytype.sh')
-rw-r--r-- | regress/keytype.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/regress/keytype.sh b/regress/keytype.sh index 91c5aca1b..20a8ceaf2 100644 --- a/regress/keytype.sh +++ b/regress/keytype.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: keytype.sh,v 1.9 2019/11/26 23:43:10 djm Exp $ | 1 | # $OpenBSD: keytype.sh,v 1.10 2019/12/16 02:39:05 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="login with different key types" | 4 | tid="login with different key types" |
@@ -50,11 +50,7 @@ kname_to_ktype() { | |||
50 | tries="1 2 3" | 50 | tries="1 2 3" |
51 | for ut in $ktypes; do | 51 | for ut in $ktypes; do |
52 | user_type=`kname_to_ktype "$ut"` | 52 | user_type=`kname_to_ktype "$ut"` |
53 | # SK keys are not supported for hostkeys. | 53 | htypes="$ut" |
54 | case "$ut" in | ||
55 | *sk) htypes=ed25519-512;; | ||
56 | *) htypes="$ut";; | ||
57 | esac | ||
58 | #htypes=$ktypes | 54 | #htypes=$ktypes |
59 | for ht in $htypes; do | 55 | for ht in $htypes; do |
60 | host_type=`kname_to_ktype "$ht"` | 56 | host_type=`kname_to_ktype "$ht"` |