i2goSignals

goSignals v0.12.0-alpha.9

Released: TBD Compare: v0.12.0-alpha.8…v0.12.0-alpha.9

Why this release

Where alpha.8 exposed the business-stream event router and metering hook as a reusable embedding seam, alpha.9 hardens the receive side of that data plane — how a stream decides to trust an inbound SET, and how a receiver builds the TLS trust pool it uses to reach a transmitter’s issuer. Both changes are additive and default-off, and flag-off / unchanged-config streams are byte-for-byte unchanged.

The headline is a per-stream signing-only receive posture (#184, PR #222): a signingOnly flag that makes the SET’s JWS signature — not a transport bearer — the trust gate on a purpose: business receive stream. The bearer becomes optional across all three receive transports (RFC 8935 push, RFC 8936 poll-as-receiver, and SSTP) while signature verification of inbound SETs becomes mandatory; any bearer that is presented must still be valid. This is the Model A single-issuer shape: a signing-only stream must carry both an issuer (Iss) and an issuer JWKS URL as its single trust anchor. It supersedes the now abandoned signing-only control-stream line (enterprise #41 wontfix; admin #206/#208 moot) — signing-only is a business-stream concept, not a control-stream one.

The companion is a receiver TLS trust-pool fix (#220, PR #221). The receiver’s per-server TLS path (GetTlsConfigForServer) had diverged from the admin reference implementation: with no per-server certificate it returned a TLS config carrying system roots only and never loaded the global/dev CA pool, so a client-credentials token POST to a private-CA issuer (e.g. a Keycloak behind ca-cert.pem) failed x509: certificate signed by unknown authority, surfacing as an HTTP 500 on credential PUT /server/{alias}. The fix seeds RootCAs from the global cert pool and appends per-server certs rather than replacing them, clearing the receiver-side blocker for admin #271 (credential propagation). The family continues to ship byte-matched at the tag (v0.12.0-alpha.9).

Per-stream signing-only receive posture

Receiver TLS trust-pool fix

Verification

go test -race ./... is green module-wide. New coverage includes the push and SSTP signing-only server tests (internal/server/test/push_signing_only_test.go, internal/server/test/sstp_signing_only_test.go), the stream-service signing-only validation test (pkg/services/stream_service_signing_only_test.go), the receiver RequireSignature tests (pkg/goSetPush/push_test.go, pkg/goSetPoll/poll_test.go), and the expanded TLS helper tests (pkg/oauthClient/tls_helpers_test.go). Per-PR gates (gofmt -l, go vet, -race) pass with no new warnings.