[openssh-commits] [openssh] 03/03: upstream: Test conversion of ed25519 and ecdsa keys too.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jul 23 15:25:46 AEST 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 1653ece6832b2b304d46866b262d5f69880a9ec7
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Fri Jul 23 05:07:16 2021 +0000

    upstream: Test conversion of ed25519 and ecdsa keys too.
    
    OpenBSD-Regress-ID: 3676d2d00e58e0d6d37f2878f108cc2b83bbe4bb
---
 regress/keygen-convert.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/regress/keygen-convert.sh b/regress/keygen-convert.sh
index 77649558..fb11078a 100644
--- a/regress/keygen-convert.sh
+++ b/regress/keygen-convert.sh
@@ -1,15 +1,21 @@
-#	$OpenBSD: keygen-convert.sh,v 1.3 2021/07/23 04:56:21 dtucker Exp $
+#	$OpenBSD: keygen-convert.sh,v 1.4 2021/07/23 05:07:16 dtucker Exp $
 #	Placed in the Public Domain.
 
 tid="convert keys"
 
+ecdsa=0
 types=""
 for i in ${SSH_KEYTYPES}; do
 	case "$i" in
 		ssh-dss)	types="$types dsa" ;;
 		ssh-rsa)	types="$types rsa" ;;
+		ssh-ed25519)	types="$types ed25519" ;;
+		ecdsa-sha2-*)	ecdsa=1 ;;
 	esac
 done
+if [ "x$ecdsa" = "x1" ]; then
+	types="$types ecdsa"
+fi
 
 cat > $OBJ/askpass <<EOD
 #!/bin/sh

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list