Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tls 1.3 #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

danielhodder
Copy link
Collaborator

@danielhodder danielhodder commented Jan 21, 2025

Firstly updates Grok to build with Java 1.8 (since I doubt anyone cares about anything newer).

Then add TLS 1.3 support to protocol and cipher filters (resolves #12)

This is a lot more of a change than you'd expect since TLS 1.3 Ciphers
do not specify a Key Exchange. The Key Exchange has been moved to a
message later in the protocol, so there is a new Key Exchange type which
defined these ciphers as a special kind of key exchange which can be
targeted with the keyExchange, and authentication, filters.

The format of the TLS 1.3 cipher specs is also different which required
special handling in the Cipher Spec Parser. The WITH has been dropped
since the key exchange no longer appears in the spec. Since there are so
few the library list lists all the possible ciphers which are defined in
the RFC directly now.

I have also added the magic markers for the TLS 1.3 handshake to the
fips, and forwardSecrecy, matchers since I believe they should be
included in those sets.

My editor's formatting seems to be arguing with that in this repo, so let me know if that offends you and I'll figure out how to make it match.

This is a lot more of a change than you'd expect since TLS 1.3 Ciphers
do not specify a Key Exchange. The Key Exchange has been moved to a
message later in the protocol, so there is a new Key Exchange type which
defined these ciphers as a special kind of key exchange which can be
targeted with the keyExchange, and authentication, filters.

The format of the TLS 1.3 cipher specs is also different which required
special handling in the Cipher Spec Parser. The _WITH_ has been dropped
since the key exchange no longer appears in the spec. Since there are so
few the library list lists all the possible ciphers which are defined in
the RFC directly now.

I have also added the magic markers for the TLS 1.3 handshake to the
fips, and forwardSecrecy, matchers since I believe they should be
included in those sets.
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.

TLS 1.3 Ciphers are not recognised
1 participant