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

Embed sslkeylog files into pcaps #269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sedrubal
Copy link
Contributor

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).

@sedrubal sedrubal force-pushed the embed-sslkeylog-into-pcap branch from c5b8fd8 to d3978ad Compare September 10, 2021 09:22
@marten-seemann marten-seemann force-pushed the master branch 2 times, most recently from 365141c to e73ec56 Compare December 19, 2022 07:59
@jlaine
Copy link
Contributor

jlaine commented Jul 8, 2024

@marten-seemann This looks like a really cool addition, is there anything I can do to help land this PR?

@marten-seemann
Copy link
Collaborator

@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.

Comment on lines +164 to +169
if (
os.path.isfile(trace_with_secrets)
and os.path.getsize(trace_with_secrets) > 0
):
# already injected

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would this happen?

Copy link
Contributor Author

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.

larseggert added a commit to larseggert/quic-interop-runner that referenced this pull request Sep 11, 2024
Alternative to quic-interop#269

Thanks to @sedrubal for the groundwork
marten-seemann pushed a commit that referenced this pull request Oct 11, 2024
* Embed sslkeylog files into pcaps

Alternative to #269

Thanks to @sedrubal for the groundwork

* black
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.

3 participants