From 231a0d53abc7987137f943d15c3bf72defcee1a5 Mon Sep 17 00:00:00 2001 From: dtucker Date: Tue, 22 Jul 2014 23:23:22 +0000 Subject: [PATCH] Sign test certs with ed25519 instead of ecdsa so that they'll work in -portable on platforms that don't have ECDSA in their OpenSSL. ok djm --- regress/usr.bin/ssh/unittests/sshkey/mktestdata.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/usr.bin/ssh/unittests/sshkey/mktestdata.sh b/regress/usr.bin/ssh/unittests/sshkey/mktestdata.sh index 2039bf97480..59e8c044ba0 100755 --- a/regress/usr.bin/ssh/unittests/sshkey/mktestdata.sh +++ b/regress/usr.bin/ssh/unittests/sshkey/mktestdata.sh @@ -150,13 +150,13 @@ ssh-keygen -s rsa_2 -I hugo -n user1,user2 \ -Oforce-command=/bin/ls -Ono-port-forwarding -Osource-address=10.0.0.0/8 \ -V 19990101:20110101 -z 4 ed25519_1.pub -ssh-keygen -s ecdsa_1 -I julius -n host1,host2 -h \ +ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ -V 19990101:20110101 -z 5 rsa_1.pub -ssh-keygen -s ecdsa_1 -I julius -n host1,host2 -h \ +ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ -V 19990101:20110101 -z 6 dsa_1.pub ssh-keygen -s ecdsa_1 -I julius -n host1,host2 -h \ -V 19990101:20110101 -z 7 ecdsa_1.pub -ssh-keygen -s ecdsa_1 -I julius -n host1,host2 -h \ +ssh-keygen -s ed25519_1 -I julius -n host1,host2 -h \ -V 19990101:20110101 -z 8 ed25519_1.pub ssh-keygen -lf rsa1_1 | awk '{print $2}' > rsa1_1.fp -- 2.20.1