Repository navigation
fix(backend): isolate SSL key logging from bundled Windows runtime - #194
Merged
Merged
Conversation
Linked issuesChecked at commit da1be38 #193 [Doc] OPENSSL_Uplink(xxx,08): no OPENSSL_Applink的一个排查思路 · 1 of 2 met · 1 to check by hand
|
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.
Problem
Closes #193.
The bundled Windows Python/OpenSSL runtime can abort with
OPENSSL_Uplink(...): no OPENSSL_ApplinkwhenSSLKEYLOGFILEis inherited, causing the backend to exit before the dashboard becomes reachable. The reporter confirmed that removing the variable restores startup.Changes
SSLKEYLOGFILEfrom the bundled Windows backend child through the existing packaged-Python environment sanitizer. Existing logging records only the variable name.Validation
aarch64-apple-darwin, rustc/cargo 1.93.1:cargo test --manifest-path src-tauri/Cargo.toml --locked -- --nocapture— 215 passed, 0 failed (baseline: 214 passed).cargo clippy --manifest-path src-tauri/Cargo.toml --locked --all-targets -- -D warnings— passed.cargo fmt --manifest-path src-tauri/Cargo.toml --all -- --check— passed.git diff --check— passed.x86_64-pc-windows-msvcusingrustc --test --emit=metadata.Native Windows execution and the release-installer crash were not reproduced locally. The macOS test exercises the preservation branch; the Windows removal assertion requires a Windows run. This PR uses the reported process-local workaround without upgrading the packaged runtime or changing SSL context/CA handling.
Summary by Sourcery
Prevent inherited SSL key logging settings from aborting the bundled Windows backend during startup.
Bug Fixes:
Enhancements:
Documentation:
Tests: