You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(daemon,brokerclient): final review fix wave for remote transport
Blocking:
- plans: replace the internal-service-name/deployment-name grep pattern in
the pre-PR leak-audit step with a neutral IP-shaped pattern plus a manual
scan instruction, and strip the absolute developer path from the same file
- pkg/brokerclient: fix the package doc and Client doc to say the client
reaches openbloxd over a Unix socket or a mutual-TLS network connection
- specs: correct the design doc's callback name from VerifyPeerCertificate to
VerifyConnection and explain why (VerifyPeerCertificate is skipped on
TLS 1.3 PSK resumption)
- CHANGELOG: add the Unreleased entries for the listen block, NewRemote/
TLSFiles, and caller identity; stop describing brokerclient as socket-only
Also fixed:
- assert MinVersion == tls.VersionTLS13 in
TestTLSConfigWiresAllowlistIntoVerifyConnection
- drop the dangling "fix report" reference in listener_tls_test.go
- correct newPKI's ServerName comment: the test certificate's IPAddresses SAN
already covers 127.0.0.1, so ServerName is set to exercise the documented
override, not because verification would otherwise fail
- main.go: log socket="off" (was socket="") for consistency with network="off"
- rename serveOnce to serveHTTP (it serves until t.Cleanup, not once)
- TestRemoteAcceptedRequestGetsExactlyTheProfilePolicy now also compares
Lifetime, DefaultTimeout and MaxTimeout
- config_test.go: add the "listen without tls" refusal case to the existing
incomplete-listen-block table
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Run: `cd /home/blox-master/dev/openblox-32-remote-transport && go test ./internal/daemon/ -run 'TestLoadAcceptsListen|TestLoadRejects|TestIsWildcardHost' -v`
199
+
Run: `go test ./internal/daemon/ -run 'TestLoadAcceptsListen|TestLoadRejects|TestIsWildcardHost' -v`
200
200
Expected: FAIL — compile error, `cfg.Listen` undefined and `ListenConfig` undefined.
201
201
202
202
-[ ]**Step 3: Add the types**
@@ -1849,8 +1849,8 @@ Expected: no diff. This work is stdlib-only.
1849
1849
1850
1850
-[ ]**Step 4: Audit the diff for anything deployment-specific**
Expected: only `127.0.0.1`from the neutral examples. Anything else is a leak of a specific deployment into a public repository and must be replaced with a neutral placeholder.
Expected: only `127.0.0.1`(and a documented `0.0.0.0` example). Also manually scan the diff against your own organisation's internal service names, deployment names, hostnames, and VPN/overlay-network products — none belong in this public repository. Anything found is a leak of deployment-specific detail and must be replaced with a neutral placeholder.
0 commit comments