From: dtucker Date: Tue, 18 Jun 2024 08:11:48 +0000 (+0000) Subject: Re-enable ssh-dss tests if ssh is compiled with DSA support X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=273e22d0de6b06faaf559745a8027d8ab10c3212;p=openbsd Re-enable ssh-dss tests if ssh is compiled with DSA support --- diff --git a/regress/usr.bin/ssh/test-exec.sh b/regress/usr.bin/ssh/test-exec.sh index e5f02541e83..e7c7bdb3dbc 100644 --- a/regress/usr.bin/ssh/test-exec.sh +++ b/regress/usr.bin/ssh/test-exec.sh @@ -1,4 +1,4 @@ -# $OpenBSD: test-exec.sh,v 1.116 2024/06/18 06:14:27 anton Exp $ +# $OpenBSD: test-exec.sh,v 1.117 2024/06/18 08:11:48 dtucker Exp $ # Placed in the Public Domain. #SUDO=sudo @@ -646,6 +646,10 @@ esac if test "$REGRESS_INTEROP_DROPBEAR" = "yes" ; then trace Create dropbear keys and add to authorized_keys + kt="rsa ecdsa ed25519" + if $SSH -Q key-plain | grep ssh-dss >/dev/null; then + kt="$kt dss" + fi mkdir -p $OBJ/.dropbear for i in rsa ecdsa ed25519; do if [ ! -f "$OBJ/.dropbear/id_$i" ]; then