-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[TLS13] Add tls13 resume session #2625
[TLS13] Add tls13 resume session #2625
Conversation
gpotter2
commented
May 3, 2020
- rebase of https://github.com/romain-perez/scapy/tree/add-tls13-resume-session
- add tls unit tests
a866eac
to
e620149
Compare
Codecov Report
@@ Coverage Diff @@
## master #2625 +/- ##
==========================================
- Coverage 88.41% 87.92% -0.50%
==========================================
Files 247 247
Lines 52178 52453 +275
==========================================
- Hits 46135 46118 -17
- Misses 6043 6335 +292
|
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.
Cool PR. I made some simple comments.
|
||
s = self.cur_session | ||
with open(self.session_ticket_file, "ab") as f: | ||
# ticket;ticket_nonce;obfuscated_age;start_time;resumption_secret |
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.
Why not using a comma to delimit the fields?
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's clearer ? It matters really little, this is only used internally
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.
I think that it is better to use a well-known format even for internal usages =)