summaryrefslogtreecommitdiff
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-08-30 00:58:56 +0100
committerColin Watson <cjwatson@debian.org>2019-10-22 11:05:47 +0100
commitbbce4380e516e8bfed1ae09af0bc3661e427794a (patch)
treef35e7ea458d0519205bb702f20cc92a5b5a82dc2 /regress/test-exec.sh
parentf0c916d8008c30809fef44469bee1b74426a3071 (diff)
Work around conch interoperability failure
Twisted Conch fails to read private keys in the new format (https://twistedmatrix.com/trac/ticket/9515). Work around this until it can be fixed in Twisted. Forwarded: not-needed Last-Update: 2019-10-09 Patch-Name: conch-old-privkey-format.patch
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r--regress/test-exec.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 508b93284..5e48bfbe3 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -510,6 +510,18 @@ REGRESS_INTEROP_CONCH=no
510if test -x "$CONCH" ; then 510if test -x "$CONCH" ; then
511 REGRESS_INTEROP_CONCH=yes 511 REGRESS_INTEROP_CONCH=yes
512fi 512fi
513case "$SCRIPT" in
514*conch*) ;;
515*) REGRESS_INTEROP_CONCH=no
516esac
517
518if test "$REGRESS_INTEROP_CONCH" = "yes" ; then
519 # Convert rsa key to old format to work around
520 # https://twistedmatrix.com/trac/ticket/9515
521 cp $OBJ/ssh-rsa $OBJ/ssh-rsa_oldfmt
522 cp $OBJ/ssh-rsa.pub $OBJ/ssh-rsa_oldfmt.pub
523 ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/ssh-rsa_oldfmt >/dev/null
524fi
513 525
514# If PuTTY is present and we are running a PuTTY test, prepare keys and 526# If PuTTY is present and we are running a PuTTY test, prepare keys and
515# configuration 527# configuration