Skip to content
Snippets Groups Projects
Commit 150f39f182b8 authored by Paul Howarth's avatar Paul Howarth
Browse files

Mark new tests that require SHA1

parent 000487142baa
Branches
No related tags found
No related merge requests found
...@@ -361,6 +361,7 @@ ...@@ -361,6 +361,7 @@
== "{}-cert-v01@openssh.com".format(alg) == "{}-cert-v01@openssh.com".format(alg)
) )
@requires_sha1_signing
def test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2(self): def test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2(self):
self._cert_algo_test(ver="7.7", alg="ssh-rsa") self._cert_algo_test(ver="7.7", alg="ssh-rsa")
...@@ -364,6 +365,7 @@ ...@@ -364,6 +365,7 @@
def test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2(self): def test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2(self):
self._cert_algo_test(ver="7.7", alg="ssh-rsa") 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): 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 # NOTE: 512 happens to be first in our list and is thus chosen
self._cert_algo_test(ver="7.8", alg="rsa-sha2-512") self._cert_algo_test(ver="7.8", alg="rsa-sha2-512")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment