|
1 | 1 | """
|
2 | 2 | The MIT License (MIT)
|
3 | 3 |
|
4 |
| - Copyright (C) 2017-2024 Joe Testa ([email protected]) |
| 4 | + Copyright (C) 2017-2025 Joe Testa ([email protected]) |
5 | 5 | Copyright (C) 2017 Andris Raugulis ([email protected])
|
6 | 6 |
|
7 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -72,6 +72,7 @@ class SSH2_KexDB: # pylint: disable=too-few-public-methods
|
72 | 72 | INFO_DISABLED_IN_OPENSSH70 = 'disabled in OpenSSH 7.0: https://www.openssh.com/txt/release-7.0'
|
73 | 73 | INFO_NEVER_IMPLEMENTED_IN_OPENSSH = 'despite the @openssh.com tag, this was never implemented in OpenSSH'
|
74 | 74 | INFO_HYBRID_PQ_X25519_KEX = 'hybrid key exchange based on post-quantum resistant algorithm and proven conventional X25519 algorithm'
|
| 75 | + INFO_HYBRID_PQ_NISTP_KEX = 'hybrid key exchange based on post-quantum resistant algorithm and a suspected back-doored NIST P-curve' |
75 | 76 | INFO_REMOVED_IN_OPENSSH61 = 'removed since OpenSSH 6.1, removed from specification'
|
76 | 77 | INFO_REMOVED_IN_OPENSSH69 = 'removed in OpenSSH 6.9: https://www.openssh.com/txt/release-6.9'
|
77 | 78 | INFO_REMOVED_IN_OPENSSH70 = 'removed in OpenSSH 7.0: https://www.openssh.com/txt/release-7.0'
|
@@ -193,6 +194,8 @@ class SSH2_KexDB: # pylint: disable=too-few-public-methods
|
193 | 194 | '[email protected]': [[], [ FAIL_UNPROVEN], [ WARN_NOT_PQ_SAFE]],
|
194 | 195 | '[email protected]': [[], [ FAIL_UNPROVEN], [ WARN_NOT_PQ_SAFE]],
|
195 | 196 | 'mlkem768x25519-sha256': [['9.9'], [], [], [INFO_HYBRID_PQ_X25519_KEX]],
|
| 197 | + 'mlkem768nistp256-sha256': [[], [FAIL_NSA_BACKDOORED_CURVE], [], [INFO_HYBRID_PQ_NISTP_KEX]], |
| 198 | + 'mlkem1024nistp384-sha384': [[], [FAIL_NSA_BACKDOORED_CURVE], [], [INFO_HYBRID_PQ_NISTP_KEX]], |
196 | 199 | 'rsa1024-sha1': [[], [FAIL_1024BIT_MODULUS, FAIL_SHA1], [WARN_NOT_PQ_SAFE]],
|
197 | 200 | 'rsa2048-sha256': [[], [], [WARN_2048BIT_MODULUS, WARN_NOT_PQ_SAFE]],
|
198 | 201 | 'sm2kep-sha2-nistp256': [[], [FAIL_NSA_BACKDOORED_CURVE, FAIL_UNTRUSTED], [WARN_NOT_PQ_SAFE]],
|
|
0 commit comments