summaryrefslogtreecommitdiffhomepage
path: root/tests/test_client.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2022-05-20 18:26:21 -0400
committerJeff Forcier <jeff@bitprophet.org>2022-05-20 18:26:21 -0400
commita193be62507b71fd80123a57e7432ab77e1f5c13 (patch)
treee1f7d30c642b0f3f0f7a22a4808b9e0fedc65c9f /tests/test_client.py
parent2b32b402c5f574699fe43b4d6b6f2b645e26849e (diff)
parent345fa0236528b8e2d7be3198e4abd9682fd2a80f (diff)
Merge branch '2.10' into 2.11
Diffstat (limited to 'tests/test_client.py')
-rw-r--r--tests/test_client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_client.py b/tests/test_client.py
index fdf19c45..3db4cd22 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -370,9 +370,11 @@ class SSHClientTest(ClientTest):
== "{}-cert-v01@openssh.com".format(alg)
)
+ @requires_sha1_signing
def test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2(self):
self._cert_algo_test(ver="7.7", alg="ssh-rsa")
+ @requires_sha1_signing
def test_newer_openssh_uses_rsa_sha2_for_certs_not_ssh_rsa(self):
# NOTE: 512 happens to be first in our list and is thus chosen
self._cert_algo_test(ver="7.8", alg="rsa-sha2-512")