Skip to content

Commit

Permalink
Merge pull request #774 from tlsfuzzer/lucky13-dhe
Browse files Browse the repository at this point in the history
lucky13: make test work with (EC)DHE ciphers
  • Loading branch information
tomato42 committed Sep 3, 2021
2 parents a770342 + bb3dfc9 commit 85f9c1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/test-lucky13.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ def main():
ext[ExtensionType.signature_algorithms_cert] = \
SignatureAlgorithmsCertExtension().create(SIG_ALL)
if dhe:
groups = [GroupName.secp256r1,
sup_groups = [GroupName.secp256r1,
GroupName.ffdhe2048]
ext[ExtensionType.supported_groups] = SupportedGroupsExtension() \
.create(groups)
.create(sup_groups)

# first run sanity test and verify that server supports this ciphersuite
conversation = Connect(host, port)
Expand Down
2 changes: 2 additions & 0 deletions tests/tlslite-ng-random-subset.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@
"exp_pass" : false},
{"name": "test-lucky13.py",
"arguments" : ["--quick"]},
{"name": "test-lucky13.py",
"arguments" : ["--quick", "-C", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"]},
{"name" : "test-message-duplication.py"},
{"name" : "test-message-skipping.py"},
{"name" : "test-message-skipping.py",
Expand Down
2 changes: 2 additions & 0 deletions tests/tlslite-ng.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@
"exp_pass" : false},
{"name": "test-lucky13.py",
"arguments" : ["--quick"]},
{"name": "test-lucky13.py",
"arguments" : ["--quick", "-C", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"]},
{"name" : "test-message-duplication.py"},
{"name" : "test-message-skipping.py"},
{"name" : "test-message-skipping.py",
Expand Down

0 comments on commit 85f9c1e

Please sign in to comment.