hardening(sidecar): Phase 1/2 transport, validation, and normalization fixes#35
hardening(sidecar): Phase 1/2 transport, validation, and normalization fixes#35Ankit-Kotnala wants to merge 1 commit into
Conversation
|
@tharindupr |
|
nice scoping on this one, the transport guard and the non-strict-mode fail-closed behaviour are both things i was worrying about after reading phase 2. a few observations for your consideration: on MaxPayloadSize in transport. what's the current default and does it land in on the nonce TTL fallback. good catch on the zero/negative case. is there a test that demonstrates the fallback actually kicks in? i saw on the normalise_test expansion. 238 insertions to on overall this is the kind of small-surface, tests-attached pr that lands cleanly. the style of grouping hardening into one commit makes it easy for phase-3 code to rebase on top. nothing blocking from my side, just the documentation + test-coverage questions above |
Summary
This PR implements Phase 1/2 hardening improvements in the Go sidecar without introducing any architectural changes.
Changes
Scope
Why
These changes improve the robustness and security of the sidecar by:
Impact
Notes
How to Test
go test ./...