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
Dart should provide a facility to create keylog files when secure sockets are used #47838
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-io
Comments
brianquinlan
added
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-io
labels
Dec 2, 2021
If we want to use a callback into dart and also allow TLS renegotiation, there is no isolate defined during the
|
The initial negotiation is invoked by Dart code:
|
copybara-service bot
pushed a commit
that referenced
this issue
Feb 17, 2022
TEST=unit tests Bug: #47838 Change-Id: I8a64e8623022215cae261eadb25b22deb9f3d910 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231330 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Brian Quinlan <bquinlan@google.com>
Fixed in 917ae52 |
For details on how to use this, see the API docs for SecureSocket.connect(). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-io
These files are used by network monitoring tools (e.g. Wireshark) to decrypt payloads.
Python offers this functionality through an API:
https://docs.python.org/3/library/ssl.html#ssl.SSLContext.keylog_filename
Implementation:
https://github.com/python/cpython/blob/main/Modules/_ssl/debughelpers.c#L177
curl offers it through an environment variable:
https://everything.curl.dev/usingcurl/tls/sslkeylogfile
This POC implementation works with Wireshark:
The text was updated successfully, but these errors were encountered: