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

Specify whether DHE public keys are zero-padded. #458

Merged
merged 1 commit into from
May 18, 2016
Merged

Conversation

davidben
Copy link
Contributor

TLS 1.2 did not specify this and some implementations have sporadic interoperability issues as a result. Specify that, in TLS 1.3, public keys should be zero-padded. This is believed to be the more compatible TLS 1.2 variant, and having cryptographic messages be fixed-width fields where possible (not that it matters for public keys) seems preferable to saving one byte 1/256 of the time.

@davidben
Copy link
Contributor Author

(Er, that should say "DHE public keys". I'll go do a force-push to fix the commit description.)

@davidben davidben changed the title Specify whether DHE groups are zero-padded. Specify whether DHE public keys are zero-padded. May 17, 2016
TLS 1.2 did not specify this and some implementations have sporadic
interoperability issues as a result. Specify that, in TLS 1.3, public keys
should be zero-padded. This is believed to be the more compatible TLS 1.2
variant, and having cryptographic messages be fixed-width fields where possible
(not that it matters for public keys) seems preferable to saving one byte 1/256
of the time.
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

2 participants