Update signed_params to included hello.random data #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change clarifies that the signature over ServerDHParams data is a
signature over the hash of the client + server hello random random data and the
ServerDHParams data.
I believe this small regression was introduced in TLS1.2 with the result
that the TLS1.2 RFC (and current TLS1.3 draft) does not contain sufficient detail
to implement TLS + DHE.
All TLS1.2 clients and servers that I have tested do include the hello random
data (and omitting it would leave implementations open to replay attacks).