summaryrefslogtreecommitdiff
path: root/regress/unittests/sshkey/mktestdata.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-09-13 12:12:42 +1000
committerDamien Miller <djm@mindrot.org>2018-09-13 12:12:42 +1000
commit86112951d63d48839f035b5795be62635a463f99 (patch)
treed37a03940bedac4aefda3f63b8e99b378c42e07a /regress/unittests/sshkey/mktestdata.sh
parent482d23bcacdd3664f21cc82a5135f66fc598275f (diff)
forgot to stage these test files in commit d70d061
Diffstat (limited to 'regress/unittests/sshkey/mktestdata.sh')
-rwxr-xr-xregress/unittests/sshkey/mktestdata.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/regress/unittests/sshkey/mktestdata.sh b/regress/unittests/sshkey/mktestdata.sh
index 8047bc62f..93da34c64 100755
--- a/regress/unittests/sshkey/mktestdata.sh
+++ b/regress/unittests/sshkey/mktestdata.sh
@@ -1,5 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2# $OpenBSD: mktestdata.sh,v 1.6 2017/04/30 23:33:48 djm Exp $ 2# $OpenBSD: mktestdata.sh,v 1.7 2018/09/12 01:36:45 djm Exp $
3 3
4PW=mekmitasdigoat 4PW=mekmitasdigoat
5 5
@@ -128,6 +128,18 @@ ssh-keygen -s rsa_2 -I hugo -n user1,user2 \
128 -Oforce-command=/bin/ls -Ono-port-forwarding -Osource-address=10.0.0.0/8 \ 128 -Oforce-command=/bin/ls -Ono-port-forwarding -Osource-address=10.0.0.0/8 \
129 -V 19990101:20110101 -z 4 ed25519_1.pub 129 -V 19990101:20110101 -z 4 ed25519_1.pub
130 130
131# Make a few RSA variant signature too.
132cp rsa_1 rsa_1_sha1
133cp rsa_1 rsa_1_sha512
134cp rsa_1.pub rsa_1_sha1.pub
135cp rsa_1.pub rsa_1_sha512.pub
136ssh-keygen -s rsa_2 -I hugo -n user1,user2 -t ssh-rsa \
137 -Oforce-command=/bin/ls -Ono-port-forwarding -Osource-address=10.0.0.0/8 \
138 -V 19990101:20110101 -z 1 rsa_1_sha1.pub
139ssh-keygen -s rsa_2 -I hugo -n user1,user2 -t rsa-sha2-512 \
140 -Oforce-command=/bin/ls -Ono-port-forwarding -Osource-address=10.0.0.0/8 \
141 -V 19990101:20110101 -z 1 rsa_1_sha512.pub
142
131ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ 143ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \
132 -V 19990101:20110101 -z 5 rsa_1.pub 144 -V 19990101:20110101 -z 5 rsa_1.pub
133ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ 145ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \