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

Swap payload length #1294

Merged
merged 2 commits into from Apr 15, 2018
Merged

Conversation

huitema
Copy link
Contributor

@huitema huitema commented Apr 14, 2018

This PR swaps the positions of the payload length and packet number field in the long header. This will allow encryption of the packet number per PR #1079 without also encrypting the payload length at the same time. Because encrypting the payload length makes packet handling really complicated!

Copy link
Member

@nibanks nibanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikkelfj
Copy link
Contributor

I strongly recommend to modify 1079 in a way that does not modify any AEAD protected content at all, and that means moving the packet number further away. But even without moving the packet number, it is possible to encrypt only the packet number without afffecting neighbouring fields using my proposed changes.

#1079 (comment)

@martinthomson martinthomson merged commit cdd7aeb into quicwg:master Apr 15, 2018
@martinthomson
Copy link
Member

Yeah, this is what I planned to do when rebasing #1079. No sense in delaying it given that Christian has done the work.

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.

None yet

4 participants