[Python-modules-commits] [python-asyncssh] 07/09: Don't run chacha20 tests as OpenSSL doesn't support this cipher.
Vincent Bernat
bernat at moszumanska.debian.org
Sat Oct 31 22:54:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
bernat pushed a commit to branch master
in repository python-asyncssh.
commit 942c19c5bd0357654715092a2b271f005f48a40c
Author: Vincent Bernat <vincent at bernat.im>
Date: Sat Oct 31 23:28:40 2015 +0100
Don't run chacha20 tests as OpenSSL doesn't support this cipher.
Forwarded: not-needed
OpenSSL as shipped in Debian doesn't support the Chacha20-Poly1305
cipher. This cipher will be introduced in OpenSSL 1.1.0.
Patch-Name: do-not-test-chacha20-cipher.patch
---
tests/test_cipher.py | 1 +
tests/test_public_key.py | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_cipher.py b/tests/test_cipher.py
index c6c90b7..85ce205 100644
--- a/tests/test_cipher.py
+++ b/tests/test_cipher.py
@@ -79,6 +79,7 @@ class _TestCipher(unittest.TestCase):
self.assertEqual(hdr, dechdr)
self.assertEqual(data, decdata)
+ @unittest.skip("not supported in Debian")
def test_chacha_errors(self):
"""Unit test error code paths in chacha cipher"""
diff --git a/tests/test_public_key.py b/tests/test_public_key.py
index 8cd8c13..6a370c7 100644
--- a/tests/test_public_key.py
+++ b/tests/test_public_key.py
@@ -102,8 +102,7 @@ if run('ssh -V') >= b'OpenSSH_6.9': # pragma: no branch
# GCM & Chacha tests require OpenSSH 6.9 due to a bug in earlier versions:
# https://bugzilla.mindrot.org/show_bug.cgi?id=2366
openssh_ciphers = openssh_ciphers + ('aes128-gcm at openssh.com',
- 'aes256-gcm at openssh.com',
- 'chacha20-poly1305 at openssh.com')
+ 'aes256-gcm at openssh.com')
class _TestPublicKey(TempDirTestCase):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-asyncssh.git
More information about the Python-modules-commits
mailing list