-
Notifications
You must be signed in to change notification settings - Fork 82
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
Send handshake messages in as few records as possible, send multiple new session tickets #287
Conversation
Thank you, I can verify that I can test https://gitlab.com/gnutls/gnutls/issues/511 using this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@nmav the amount of tickets sent is now configurable using a command line argument, the default is still two a single NewSessionTicket message from tlslite-ng is 174B long, so the configuration needs to request at least 95 tickets to fill a full record, the upside is that 2^14 % 174 is 28, so the NST will be fragmented if so many get requested |
ca82e09
to
062438c
Compare
@nmav finally found some time to update it, could you take a second look? |
062438c
to
e9ce626
Compare
support for sending multiple messages of the same time in single record, coalesce the server encrypted flight and session ticket
to reduce probability of key and IV collision, they need to be derived from a common secret; use TLS 1.3-like derivation mechanism to do that
e9ce626
to
ff1178f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may make sense to add a comment that tell with the value "2" was chosen, but otherwise LGTM
support for sending multiple messages of the same type in single record,
coalesce the server encrypted flight and session tickets, when
there are multiple to be sent
add support for sending multiple session tickets
rework key derivation for session tickets to prevent IV collisions
fixes #286
This change is