Skip to content

[WIP] Upgrade TLS1.2 to TLS1.3#1120

Open
claucece wants to merge 14 commits intocloudflare:masterfrom
claucece:tls_upgrade
Open

[WIP] Upgrade TLS1.2 to TLS1.3#1120
claucece wants to merge 14 commits intocloudflare:masterfrom
claucece:tls_upgrade

Conversation

@claucece
Copy link
Copy Markdown
Contributor

@claucece claucece commented Jul 27, 2020

This takes the code done in PR #1101

TODOs:

  • Fix tests (that were coded for TLS1.2) and make sure they pass
  • Upgrade cfsslscan to work with the interface of TLS1.3 (slightly different than 1.2)
    • Check if some parts of the commons file should be omitted.
  • Upgrade the Grading algorithms to use/reflect TLS1.3, which includes:
    • Scanning with both TLS1.2 and TLS1.3
    • Rewiring some version-specific checks (e.g., SessionResumption in 1.2) to be done only with their version

lbarman and others added 9 commits April 22, 2020 18:01
(Seems unavoidable since HKDF is used in TLS1.3's key schedule)
Note: this is the commit that was really needed to swap for TLS1.3; all
previous commits were an attempt to patch the current implementation
towards 1.3, but that was long and error-prone. This is a clean change
on top of the copy-pasted reference implementation

Note2: Grading is still not updated to 1.3
Note3: I didn't update/run the tests (which the reference implementation
do not have)
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 27, 2020

Codecov Report

Merging #1120 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1120   +/-   ##
=======================================
  Coverage   56.27%   56.27%           
=======================================
  Files          77       77           
  Lines        7309     7309           
=======================================
  Hits         4113     4113           
  Misses       2727     2727           
  Partials      469      469           
Impacted Files Coverage Δ
scan/tls_handshake.go 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b49bea...be042d1. Read the comment docs.

@claucece claucece mentioned this pull request Jul 27, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants