diff options
Diffstat (limited to 'regress/unittests/sshkey/mktestdata.sh')
-rwxr-xr-x | regress/unittests/sshkey/mktestdata.sh | 14 |
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 | ||
4 | PW=mekmitasdigoat | 4 | PW=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. | ||
132 | cp rsa_1 rsa_1_sha1 | ||
133 | cp rsa_1 rsa_1_sha512 | ||
134 | cp rsa_1.pub rsa_1_sha1.pub | ||
135 | cp rsa_1.pub rsa_1_sha512.pub | ||
136 | ssh-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 | ||
139 | ssh-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 | |||
131 | ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ | 143 | ssh-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 |
133 | ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ | 145 | ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ |