Released: 2026-11-20
First full release since v0.11.1. It consolidates the pre-releases
v0.12.0-alpha.1 through v0.12.0-alpha.22. This is not a drop-in upgrade:
the store is migrated one way at first start, and the signing-key and TLS
defaults change. Read Upgrade before you start a v0.12.0 server on
an existing store.
v0.11 was a push/poll SET router. v0.12.0 changes five things about it:
https unless a stream opts out.deliveries
collection replaces two, any node answers a poll or SSTP request, and push,
poll and SSTP run concurrently per stream.It also moves the build to Go 1.27.4.
SSTP is new in this release. Unlike push and poll, which each carry SETs one way, one SSTP exchange carries SETs and acknowledgements in both directions between two paired servers.
POST /sstp/{id} carries SETs and acknowledgements both
ways between two paired servers. One pair record holds both directions
(ADR 0018), created with goSignals create stream sstp or a
--bootstrap-file (ADR 0019). See docs/SSTP.md.pkg/goSetSstp: Exchange, request/response parsing, VerifySET
/ VerifySETX5C, a per-SET error registry (ClassifySetErr,
PartitionSetErrs) and the problem types ProblemBindingRevoked and
ProblemServerSuspended.setErrs; an unregistered error code is held, not dropped.
A signing error halts the stream.FORWARD or PUBLISH mode routes onward
(ADR 0031). Set IMPORT to stop at this server.event_source and receive_mode are set per direction at
create. event_source cannot be changed afterwards. Pair status changes,
including disable, apply to the pair.Wire-level corrections, each visible to a client:
204 No Content (was 200)./stream takes its target from the body’s stream_id when no
query parameter is given.aud when the caller omits it: an opaque
urn:i2-open:ssf:aud:<uuid>, fixed at create (ADR 0024). iss is the
server’s advertised issuer. A caller-asserted iss or aud is kept.host/.well-known/ssf-configuration/<path>). Issuers with a path are
served discovery and JWKS documents (ADR 0023).authorization_servers, scopes_supported and bearer_methods_supported
left the SSF configuration document. Read them from
/.well-known/oauth-protected-resource (RFC 9728) or the new
/.well-known/oauth-authorization-server (RFC 8414, ADR 0026).events_requested now means the full supported catalog. Wildcards
are answered as the enumerated list. A pattern that does not compile is
400.default_subjects
starts at ALL instead of dropping every event.urn:ietf:params:scim:event:misc:asyncresp.aud and
iss are taken from the transmitter’s response, status and verify calls
carry stream_id, a string-valued aud is accepted, and per-stream
transmitter TLS settings apply to every outbound call.POST /trigger-event is implemented and delivers only to the streams the
request names.Strict mode (ADR 0025): mark a peer --strict-ssf to drop operator-asserted
iss / aud when registering with it and to fail when its advertised issuer
does not match where its configuration was fetched (SSF §7.2.4). The default
only warns. I2SIG_STRICT_SSF applies to cmd/goSsfServer alone.
The harness is under conformance/: 4 transmitter and 4 receiver plans, driven
by run-all-plans.sh.
goSet.Parse returns an error without a JWKS;
use the new goSet.Peek to inspect an untrusted token. The alg: none
branch is gone. Accepted algorithms are RS256, ES256 and ML-DSA-65;
PS256, RS512 and HMAC variants are rejected at the header.iss and the issuer JWKS
URL.https unless the stream sets
tx_allow_plaintext (CLI --allow-plaintext). I2SIG_INSECURE_SSTP_HTTP
is retired. Every TLS config sets TLS 1.2 as its minimum.*** on every GET.
The live value appears only in create and rotation responses; a client that
read credentials back from a GET must change.I2SIG_BEARER_ROTATE_ON_GET mints a replacement when a stream is read with
its own bearer; the old one stays valid for I2SIG_BEARER_ROTATE_GRACE
(default 1h).X25519MLKEM768; I2SIG_TLS_PQ_KEM=MLKEM1024 adds ML-KEM-1024. The FIPS
140-3 module v1.0.0 cannot do ML-DSA.jwks_readiness
(ADR 0033).crypto/rand. A private-CA issuer no longer fails with
certificate signed by unknown authority on PUT /server/{alias}.iss / aud.POST /key/{issuer}?alg= (goSignals create key --alg), then the stream.
A signing transmitter with no active key is refused on save; a running one
pauses, then disables.I2SIG_KEY_ALG selects ES256, RS256
or ML-DSA-65; any other value stops the server at startup. The auth-token
key stays RSA.alg for a stream with no
signing_alg. Creating a key therefore switches those streams. Pin
signing_alg on a stream whose receiver cannot follow.I2SIG_ISSUER_KEY_LIFETIME; 0 or never turns expiry off). Keys that
existed before the upgrade have no dates and never expire.POST /key/{keyName}/status suspends
(reversible) or revokes (terminal). A change that would strand a signing
transmitter answers 409.Key-Id header. PEM uploads accept EC P-256 and
ML-DSA-65 certificates.jti is the dedup key. A re-delivered SET
is stored once and is not routed again.deliveries collection replaces pendingEvents and
deliveredEvents: one document per (sid, jti).503 with Retry-After (was 400).I2SIG_PUSH_CONCURRENCY), several
outstanding polls and SSTP batches, and poll responses signed by a worker
pool. On the dev bed push went from about 38 to over 500 events/s; a
two-node cluster drained poll at over 2,000 events/s. Numbers and method are
in docs/perf/.I2SIG_STORE_WAL=local, ADR 0045) with a
per-stream durability attribute. A multi-node deployment refuses to start
with it.events and subject_filters are
stored as they appear on the wire. Old rows are read in place. A payload
member starting with $ is rejected.I2SIG_PING_RETENTION (default 24h, 0 to keep) (ADR 0048). v0.11
kept them forever.maxEvents: 0 is acknowledgement
only. A rejected JTI is reported in setErrs and acked.invalid_request no longer disables the stream by
itself; the server checks the SET with its own validators first.bulkWrite and falls back on older servers.POST /poll/{id} and POST /sstp/{id}; a non-owner forwards to the
owner over POST /_cluster/claim.I2SIG_LEASE_SAFETY_MARGIN (default 5s) sets
how early an owner stops acting before its lease ends.I2SIG_CLUSTER_ADVERTISE_URL. Stream changes
reach other nodes at once instead of at the 40 s sync, and stale node and
lease rows are reaped.X509Source instead of opening
one per call, so cluster and peer mTLS no longer opens a new SPIRE agent
connection per request. Shutdown, contention, eviction and proxy handling
were hardened (#326). go-spiffe is v2.9.0.Off by default (ADR 0029). Per receiver stream event_validation, or
I2SIG_STREAM_EVENT_VALIDATION, takes NONE, WARN, ENFORCE or STRICT.
Validators cover CAEP (5 event types), RISC (9), SCIM / RFC 9967 (12) and four
experimental WISE types. I2SIG_EVENT_TYPES_EXTRA adds event URIs to the
supported catalog (ADR 0032). The library is pkg/goSetValidate.
docs/Metrics.md.HEALTHCHECK against the default TLS
listener; override it when TLS is off or the port differs.build.sh and Dockerfile.multistage are removed. Make is the
only entry: make build-docker builds a local image, make build-publish
validates a multi-arch build, and make qa is the full local gate. The
goSignals CLI is built into bin/.I2SIG_PPROF_ADDR opens an opt-in pprof listener.KC_* variable names, PostgreSQL
18 (volume at /var/lib/postgresql), MongoDB 8.0.13, dev admin on host port
8081.docker-compose.yml,
docker-compose-cluster.yml and docker-compose-spiffe.yml pull
independentid/i2gosignals:0.12.0 instead of a locally built image, and
mount config/certs read-only into each server. make run and
make run-spiffe-demo no longer build; they only generate the certificates
when missing. The -dev files still build from source.Every variable named here is described in docs/configuration_properties.md.
1.26.4 → 1.27.4. The code uses 1.27 standard-library packages
(uuid, crypto/mldsa, encoding/json/v2), so an older toolchain cannot
build it. 1.27.4 fixes GO-2026-6859 (net/http).bash runtime base is re-pinned to its current digest.At the release commit:
go test -race ./...: all packages pass.go vet ./... and gofmt -l: clean. go mod tidy: no diff.govulncheck ./...: no vulnerabilities found.Take a backup first. There is no path back: once v0.12.0 has started on a store, an older server must not be run against it.
Before the first start:
jti. If duplicates exist the server logs a WARN, the index is not
built and duplicate suppression is off until you remove them and restart.
Group the collection by jti to find them.{ping:1, state:1, createdAt:1} on deliveries (partial,
ping: true) and {receivedAt:1} on events (partial, verification event
types). Otherwise they are built at first start. See
docs/operations.md, “Ping events are purged after 24 hours”.https, or set tx_allow_plaintext
on the stream.I2SIG_KEY_ALG=RS256 to keep minting RSA
keys, and pin signing_alg on streams whose receivers accept only RS256.
An issuer that holds only its existing RSA key keeps signing with it.I2SIG_CLUSTER_ADVERTISE_URL per node, and set
I2SIG_POLL_DEFAULT_TIMEOUT / I2SIG_POLL_MAX_TIMEOUT to the same values
on every node.At first start:
pendingEvents and deliveredEvents are copied into deliveries and
dropped. Stream starts wait until it finishes.compact yourself, one member at a time.docs/operations.md, “Signing key selection”.Afterwards, update clients that relied on: 200 on stream delete; credentials
readable on GET; the three OAuth fields in the SSF configuration document; the
hard-delete key route; 400 from ingest on a store failure; the mixed-case
SCIM asyncResp URI; or a ksuid-shaped jti. A new jti is a 36-character
UUIDv7, which is still time-ordered; existing events keep the jti they have.
If you build from source, your go must be ≥ 1.27.4 (or allow Go’s automatic
toolchain download).
The detail behind each section, in order:
alpha.3 (SSF conformance) ·
alpha.4, alpha.5 (strict mode,
discovery) · alpha.7 (admin surface, bearer rotation) ·
alpha.8 (event router) ·
alpha.9 (signing-only) ·
alpha.10 (key status) ·
alpha.11, alpha.12
(retention) · alpha.13 (SSTP hardening) ·
alpha.15 (event validation) ·
alpha.16 · alpha.17
(persistence, catalog, JWKS readiness) · alpha.18
(Go 1.27, ML-DSA) · alpha.19 ·
alpha.20 (throughput, keys, TLS floor) ·
alpha.21 (cluster delivery, ES256) ·
alpha.22 (ping retention).
alpha.6 and alpha.14 were version-only tags. ADRs are in docs/adr/.
Full changelog: https://github.com/i2-open/i2goSignals/compare/v0.11.1…v0.12.0