-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Embed sslkeylog files into pcaps #269
base: master
Are you sure you want to change the base?
Conversation
c5b8fd8
to
d3978ad
Compare
365141c
to
e73ec56
Compare
@marten-seemann This looks like a really cool addition, is there anything I can do to help land this PR? |
@jlaine Sure, let's get it in! First of all, this PR would need to be rebased. If you could test that this actually works, we should be good to go. |
if ( | ||
os.path.isfile(trace_with_secrets) | ||
and os.path.getsize(trace_with_secrets) > 0 | ||
): | ||
# already injected | ||
|
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 would this happen?
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 a long time since I wrote this. I think it was an edge case in my specific setup where I experimented with trace files. I guess you can remove it.
Feel free to take over the work on this PR. I work on different topics and can't spend time on it anymore, sorry.
Alternative to quic-interop#269 Thanks to @sedrubal for the groundwork
With pcapng it is possible to embed the secrets from sslkeylog directly into the trace using
editcap
. This makes it easier when you want to analyze the pcap files (e.g. using Wireshark).