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

Gratuitous key schedule change #1004

Merged
merged 3 commits into from
Dec 13, 2017
Merged

Conversation

martinthomson
Copy link
Member

This changes the key schedule for QUIC so that it uses shorter labels. Rather than a "tls13 " stem, it uses a "QUIC " stem. The labels are all now shorter and more consistent in case.

Closes #1003.

This changes the labels that we use in key derivations to be shorter.  That is
in line with similar changes TLS made, so that the number of iterations of the
underlying hash function are reduced slightly.  QUIC will still run SHA-256
like a bitcoin rig, but this should help some.

I've chosen to define the function we use rather than reuse the TLS 1.3
function.  It's still the same function, but it now uses a different root
label.  That should help avoid collisions if QUIC and TLS diverge (though that
would be unlikely).  The main benefit is in reducing the label length.

This also corrects the error in the example.
@martinthomson martinthomson added -tls design An issue that affects the design of the protocol; resolution requires consensus. labels Dec 8, 2017
@marten-seemann
Copy link
Contributor

Will this change be included in -09? Do we need to do this before or after the remote interim?

@martinthomson
Copy link
Member Author

It's definitely not in -08. I definitely wouldn't want to make this part of anything we do this month.

@janaiyengar
Copy link
Contributor

@marten-seemann raises a good point -- let's not merge this until after we decide on #995.

@ianswett
Copy link
Contributor

PR #995 is no longer in play, so I think we can merge this.

@seanturner seanturner merged commit 4d2fca6 into master Dec 13, 2017
@martinthomson martinthomson deleted the gratuitous-key-schedule-change branch December 13, 2017 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-tls design An issue that affects the design of the protocol; resolution requires consensus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants