Commit 8f4e6a26 authored by Wim Van de Meerssche's avatar Wim Van de Meerssche
Browse files

removed spurious commas in ALLOWED_HOST_KEY_ALGOS

parent 4225f62d
......@@ -150,6 +150,12 @@ def test_urn_hash_5():
assert urn_b in d
def test_urn_hash_5b():
urn_a = URN('urn:publicid:IDN+example.com+ttype1+tname1')
urn_b = URN('urn:publicid:IDN+EXAMPLE.COM+TTYPE1+TNAME1')
assert urn_a.__hash__() == urn_b.__hash__()
def test_urn_hash_6():
urn_a = URN('urn:publicid:IDN+example.com+ttype1+tname1')
urn_b = URN('urn:publicid:IDN+example.com+ttype1+tname2')
......
......@@ -20,8 +20,8 @@ def is_valid_email(email: Optional[str]) -> bool:
ALLOWED_HOST_KEY_ALGOS = [
# current secure versions according to https://github.com/jtesta/ssh-audit
'ssh-ed25519-cert-v01@openssh.com,',
'ssh-rsa-cert-v01@openssh.com,',
'ssh-ed25519,',
'ssh-rsa-cert-v01@openssh.com',
'ssh-ed25519',
'ssh-rsa',
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment