Skip to content

Commit

Permalink
Merge pull request #143 from tempesta-tech/ak-deprecated-curves
Browse files Browse the repository at this point in the history
secp192r1 certificates can not be loaded any more
  • Loading branch information
krizhanovsky authored Nov 4, 2019
2 parents 10b3a18 + 86f12f5 commit dcf11a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tls/test_tls_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def setUp(self):
self.cgen = CertGenerator()
self.cgen.key = {
'alg': 'ecdsa',
'curve': ec.SECP192R1() # Unsupported curve
'curve': ec.SECP192R1() # Deprecated curve, RFC 8422 5.1.1
}
self.cgen.sign_alg = 'sha256'
self.cgen.generate()
Expand All @@ -215,7 +215,8 @@ def setUp(self):
tester.TempestaTest.setUp(self)

def test(self):
self.check_bad_alg("Warning: None of the common ciphersuites is usable")
self.check_cannot_start("ERROR: tls_certificate: "
+ "Invalid certificate specified")


class ECDSA_SHA256_SECP256(X509):
Expand Down

0 comments on commit dcf11a1

Please sign in to comment.