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-06-05 13:11:53 +0100
commit9c01e0ae9889c05bfe68b2f1f1c5e5019e63ff0b (patch)
treef201599714bd6a41d93f557d02faefd7b5776ae5 /regress/test-exec.sh
parent9d4508c5c1d6466c662befcb26aff09f41966102 (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: 2018-08-30 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 b8e2009de..08338121b 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -500,6 +500,18 @@ REGRESS_INTEROP_CONCH=no
500if test -x "$CONCH" ; then 500if test -x "$CONCH" ; then
501 REGRESS_INTEROP_CONCH=yes 501 REGRESS_INTEROP_CONCH=yes
502fi 502fi
503case "$SCRIPT" in
504*conch*) ;;
505*) REGRESS_INTEROP_CONCH=no
506esac
507
508if test "$REGRESS_INTEROP_CONCH" = "yes" ; then
509 # Convert rsa key to old format to work around
510 # https://twistedmatrix.com/trac/ticket/9515
511 cp $OBJ/rsa $OBJ/rsa_oldfmt
512 cp $OBJ/rsa.pub $OBJ/rsa_oldfmt.pub
513 ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/rsa_oldfmt >/dev/null
514fi
503 515
504# If PuTTY is present and we are running a PuTTY test, prepare keys and 516# If PuTTY is present and we are running a PuTTY test, prepare keys and
505# configuration 517# configuration