From d51dbacf4da044f797cb4c07e026adc608f1bc98 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 30 Mar 2018 16:08:56 +0100 Subject: DANE: smtp transport option dane_require_tls_ciphers --- test/scripts/5820-DANE-GnuTLS/5821 | 30 ++++++++++++++++++++++++++++++ test/scripts/5840-DANE-OpenSSL/5841 | 29 +++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 test/scripts/5820-DANE-GnuTLS/5821 create mode 100644 test/scripts/5840-DANE-OpenSSL/5841 (limited to 'test/scripts') diff --git a/test/scripts/5820-DANE-GnuTLS/5821 b/test/scripts/5820-DANE-GnuTLS/5821 new file mode 100644 index 000000000..f4ea30564 --- /dev/null +++ b/test/scripts/5820-DANE-GnuTLS/5821 @@ -0,0 +1,30 @@ +# DANE client: ciphers option +# +gnutls +exim -DSERVER=server -bd -oX PORT_D +**** + +### Baseline, dane unused +exim -odf CALLER@localhost.test.ex +Testing +**** +### Baseline, dane used +exim -odf CALLER@dane256ee.test.ex +Testing +**** +# +# +### Dane cipher specified, dane unused +# Since dane unused, should get the same cipher as the baseline +exim -odf -DOPT=NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+CAMELLIA-256-GCM:+SIGN-ALL:+COMP-NULL CALLER@localhost.test.ex +Testing +**** +### Dane cipher specified, dane used +# Should get the cipher specified here +exim -odf -DOPT=NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+CAMELLIA-256-GCM:+SIGN-ALL:+COMP-NULL CALLER@dane256ee.test.ex +Testing +**** +# +# +killdaemon +no_msglog_check diff --git a/test/scripts/5840-DANE-OpenSSL/5841 b/test/scripts/5840-DANE-OpenSSL/5841 new file mode 100644 index 000000000..52fac186a --- /dev/null +++ b/test/scripts/5840-DANE-OpenSSL/5841 @@ -0,0 +1,29 @@ +# DANE client: ciphers option +# +exim -DSERVER=server -bd -oX PORT_D +**** + +### Baseline, dane unused +exim -odf CALLER@localhost.test.ex +Testing +**** +### Baseline, dane used +exim -odf CALLER@dane256ee.test.ex +Testing +**** +# +# +### Dane cipher specified, dane unused +# Since dane unused, should get the same cipher as the baseline +exim -odf -DOPT=ECDHE-RSA-CAMELLIA256-SHA384 CALLER@localhost.test.ex +Testing +**** +### Dane cipher specified, dane used +# Should get the cipher specified here +exim -odf -DOPT=ECDHE-RSA-CAMELLIA256-SHA384 CALLER@dane256ee.test.ex +Testing +**** +# +# +killdaemon +no_msglog_check -- cgit v1.2.3