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

Use SSLKEYLOGFILE env to enable logging SSL keys in libwebrtc / borin… #1409

Open
wants to merge 1 commit into
base: wpe-2.38
Choose a base branch
from

Conversation

jacek-manko-red
Copy link

…gssl

For debugging, it's sometimes useful to be able to decrypt captured TLS traffic. By setting SSLKEYLOGFILE env variable, it's possible to log secrets to a file, which can then be used for decryption.
But libwebrtc uses a separate TLS implementation, boringssl, which does not support it by default.

Add key logging in libwebrtc if the env is set.

…gssl

For debugging, it's sometimes useful to be able to decrypt captured TLS traffic.
By setting SSLKEYLOGFILE env variable, it's possible to log secrets to a file,
which can then be used for decryption.
But libwebrtc uses a separate TLS implementation, boringssl, which does not support it by default.

Add key logging in libwebrtc if the env is set.
@modeveci modeveci requested a review from philn November 19, 2024 09:17
@modeveci
Copy link

Hi @philn , Can you look at this PR to see if it can be maintained? and please comment about coding style and IO api usage. Thank you very much!

@philn
Copy link

philn commented Nov 19, 2024

This is directly copy/pasted from https://boringssl.googlesource.com/boringssl/+/refs/heads/master/tool/client.cc so please give credit to the original author :)

@philn
Copy link

philn commented Nov 19, 2024

Have you tried mitmproxy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants