Add TLS key-log decryption - #91
Draft
NghiaTranUIT wants to merge 5 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tls.keylog_filepreference for the TLS, DTLS, and QUIC formats supported by the pinned buildUser impact
Users can select a Proxyman or NSS-compatible TLS key-log file and inspect decrypted client-to-server and server-to-client application streams in an offline or stopped capture. A running live capture is not rebuilt or replayed; stop it before loading the complete stream.
The selection lasts only for the current app launch. TCPViewer references the original key file, so appended secrets are available to later Wireshark dissection without reselecting the file.
Validation
xcodebuild -project TCPViewer.xcodeproj -scheme TCPViewer build CODE_SIGNING_ALLOWED=NO TCPVIEWER_DEVELOPMENT_TEAM=ABCDE12345 TCPVIEWER_BUILD_KEY=unit-test DEVELOPMENT_TEAM=ABCDE12345PcapPlusPlusCoreTests: 132 tests passedTCPViewerTests: 513 tests passedgit diff --checkOnly public Wireshark fixtures already vendored in the repository are used. The attached private key log was not copied or committed.
AI assistance
This pull request was substantially assisted by OpenAI Codex. The contributor has reviewed the implementation and validation results and remains responsible for the change.