i2goSignals

goSignals

23. Local-issuer addressing for SSF discovery (issuers rooted at the server base URL)

Date: 2026-06-17

Status

Accepted (design settled in GH #188 grilling; implementation tracked there). Server-side companion to #187 (the receiver/CLI path-insertion fix).

Context

SSF §7.2.4 binds three values together: the issuer returned in the Transmitter Configuration MUST be byte-identical to (1) the Issuer URL the receiver used to fetch the configuration (built by RFC 8615 path insertion per §7.2 — /.well-known/ssf-configuration inserted between host and path), and (2) the iss claim in the SETs that transmitter signs. jwks_uri is otherwise free-form: any HTTPS URL that actually serves that issuer’s keys.

goSignals stores every issuer (signing key) under an opaque keyName string captured as a single URL-encoded path segment. When that string is itself a URL (https://host/issuer1), the legacy behavior URL-encodes it and advertises jwks_uri = https://host/jwks/https%3A%2F%2Fhost%2Fissuer1. That neither matches the insert-style fetch URL nor reads as a clean key location — a §7.2.4 violation the moment an issuer carries a path. The default host-only deployment never hit this because insertion of a path-less issuer yields the plain /.well-known/ssf-configuration.

A naive fix — “always advertise our own /jwks/<issuer>” uniformly — is wrong, and the reason is goSignals’ router role. goSignals is not only a publisher; it relays. In forward mode a relayed SET keeps the original publishing entity’s iss, and the downstream receiver verifying it must fetch that entity’s keys. If discovery/relay rewrote every issuer under a goSignals-hosted path, goSignals would be claiming itself as the key source for SETs it did not publish — breaking the §7.2.4 issuer/iss/jwks_uri binding for the next hop.

Decision

Split issuers into two classes by whether their root (scheme://host[:port]) equals the server’s configured base URL, and address them differently.

Endpoints other than discovery/JWKS stay root-level (/stream, /status, /verify, /register); stream identity remains carried in the token, not the URL path. Per-issuer endpoint namespacing (full multi-tenant routing) is explicitly out of scope.

Considered alternatives

Consequences

Positive

Negative / accepted trade-offs