Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
paramiko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
paramiko
Commits
816f575e322f
Commit
816f575e322f
authored
3 years ago
by
Paul Howarth
Browse files
Options
Downloads
Patches
Plain Diff
Mark new tests that require SHA1
Like
https://github.com/paramiko/paramiko/pull/2011
parent
51bee060255f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_client.py
+2
-0
2 additions, 0 deletions
tests/test_client.py
with
2 additions
and
0 deletions
tests/test_client.py
+
2
−
0
View file @
816f575e
...
...
@@ -370,6 +370,7 @@
==
"
{}-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
"
)
...
...
@@ -373,6 +374,7 @@
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
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment