
A Security Event Router that bridges Push and Poll SET delivery across federation boundaries, with durable storage, replay, and fan-out.
Identity and access decisions used to be one-shot events hidden in access logs. A user authenticated, received a token or a session cookie, and the relying party trusted that token until it expired — often hours or days later. That model breaks down the moment something changes mid-session: a device is reported stolen, an account is suspended, a privilege is revoked, a risk signal fires, or a user is offboarded by HR.
Security signals processing is the practice of communicating security related changes and events — continuously, asynchronously, and across organizational and product boundaries — so every system holding a session or a credential can react in near real time. This is done using a specialized form of Json Web Tokens called Security Event Tokens, a cryptographically signed message.
The canonical examples:
Doing this well at scale takes more than goodwill between IdPs and SaaS applications. It takes a stack of agreements about format, transport, semantics, and operations — and the operational infrastructure to make those agreements run in production.
The IETF and the OpenID Foundation have been assembling consensus around the stack. Five questions, five answers — and a gap that goSignals is built to fill.
1. How do we describe a security event in a way every recipient can verify? RFC 8417 defines the Security Event Token (SET): a JWT-based data structure that conveys a statement of fact, from an issuer, about a security subject — that something happened to or about that subject. A SET is not a command. It is a signed claim that an event occurred, which the receiver is free to act on, or not, according to its own policy. Every other spec in this stack rides on top of SETs.
2. How do SETs get from a transmitter to a receiver? RFC 8935 defines push-based delivery over HTTP, in which the transmitter POSTs each SET to a receiver endpoint. RFC 8936 defines poll-based delivery, in which the receiver fetches batches of pending SETs from the transmitter. Push fits receivers that can host endpoints; poll fits receivers behind a firewall or in environments where outbound is the only reliable direction. goSignals also implements a third, bidirectional method — SSTP (draft-hunt-secevent-sstp-00), the Synchronous SET Transfer Protocol — which carries SETs in both directions over a single HTTP cycle for peers that want a symmetric, firewall-friendly exchange. See docs/SSTP.md.
3. How do transmitters and receivers find each other, agree on what they share, and manage the relationship over time? The OpenID Foundation’s Shared Signals Framework (SSF) defines that layer — configuration discovery, stream lifecycle management, subject identifiers, and verification flows. SSF turns a bespoke integration into a managed stream.
4. What events specifically should we be sending? Three event vocabularies, all carried as SETs over SSF streams:
5. How does any of this survive an outage, a backlog, a misbehaving peer, or a federation boundary between trust zones? The specs define the wire and the words — not durable storage, replay, fan-out, ingress validation, egress re-signing, or the operational controls a production deployment needs. That gap is filled by a Security Event Router — the gap goSignals is built to fill.
A quick reference for the specifications i2goSignals implements and interoperates with — several of which were authored or co-authored by contributors to this project.
| Specification | Defines | Status |
|---|---|---|
| OpenID SSF 1.0 | Stream management, configuration discovery, subject identifiers, and wire framing for shared security event delivery | OpenID Final Spec (Sept 2025) |
| OpenID CAEP 1.0 | Continuous Access Evaluation event types (session revocation, credential change, device compliance, assurance level) | OpenID Final Spec (Sept 2025) |
| OpenID RISC 1.0 | Risk Incident Sharing and Coordination event types (account credential change, account disabled, identifier change) | OpenID Final Spec (Sept 2025) |
| RFC 8417 | Security Event Token (SET) — JWT-based envelope for all of the above | IETF Proposed Standard (2018) |
| RFC 8935 | Push-based SET delivery over HTTP | IETF Proposed Standard (2020) |
| RFC 8936 | Poll-based SET delivery over HTTP | IETF Proposed Standard (2020) |
| RFC 9967 | SCIM Profile for Security Event Tokens — provisioning-lifecycle event types; updates RFC 7643 and RFC 7644 | IETF Proposed Standard (May 2026) |
| draft-hunt-secevent-sstp-00 | Synchronous SET Transfer Protocol (SSTP) — bidirectional SET delivery over a single HTTP cycle | IETF Internet-Draft |
goSignals is a high-performance security event router and processor designed to facilitate the secure exchange of Security Event Tokens (SETs) between systems. It acts as a bridge, gateway, or store-and-forward server, connecting security event generators (transmitters) to receivers across different domains.
cmd/goSignals): A powerful command-line utility for configuring and administering goSignals and SSF-compliant servers.cmd/goSignalsServer): The core service implementing SET delivery protocols and the SSF framework. It uses MongoDB for persistent storage of configuration, keys, and event streams.pkg/goSet): A Go package for creating, parsing, and validating SET tokens, with built-in support for SCIM, RISC, and CAEP event types.For developers and platform engineers, this repository is the community edition of goSignals — the open source core of the Security Event Router, released under Apache 2.0. The fastest path in is Getting Started and the Demonstration Walk-through; Capabilities and Main Components are the quickest scan of what’s implemented.
For organizations evaluating goSignals as a product — for licensing, embedding, or commercial deployment alongside the I2 administration server or planned hosted service — start with What is goSignals? and read through Capabilities. For commercial conversations, contact info@independentid.com.
The i2goSignals project is currently under active development. This preview code is intended for feedback and community involvement and is not yet ready for production. Key features like administration API security and multi-node coordination are being finalized.
JTI).git clone https://github.com/i2-open/i2gosignals.git
cd i2gosignals
make build # builds the CLI and server binaries only
make build-docker # also build (and load) the i2gosignals container image
See Building Container Images for multi-arch and registry-push targets.
When using SPIFFE-enabled setups, register workloads once the services are healthy:
docker exec spire-server sh /etc/spire/registration/register.sh
login (browser PKCE / device-code), unattended I2SIG_BOOTSTRAP_TOKEN bootstrap, and the docker-compose variant matrix.There are several Docker Compose configurations for various use cases and demonstrations.
| File | Purpose | Key Features |
|---|---|---|
docker-compose.yml |
Standard Demo | Full stack with 2 nodes, MongoDB replica set, Keycloak, and monitoring (Prometheus/Grafana). |
docker-compose-dev.yml |
Development | Optimized for dev: live code mounting, Delve debugger (ports 2345-2347). |
docker-compose-spiffe.yml |
SPIFFE Demo | Adds SPIRE for workload identity and mTLS between nodes and MongoDB. |
docker-compose-cluster.yml |
Clustered Demo | Adds Nginx load balancer and redundant nodes for high-availability testing. |
Note: The -dev variants use Dockerfile-dev and mount the source code for live changes.
The docker-compose.yml file provides a sample environment demonstrating Push and Poll scenarios between two i2goSignals servers, along with i2scim.io servers for multi-master replication.
make buildgoSignals1, goSignals2, and keycloak to your /etc/hosts pointing to 127.0.0.1. The keycloak entry is required so that browser-side SSO redirects (e.g. Grafana logging in via Keycloak) resolve to the local stack.config/certs/ca-cert.pem into your browser or OS trust store so that https://localhost:3000 (Grafana) and https://keycloak:9080 are accepted without certificate warnings.
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain config/certs/ca-cert.pem/usr/local/share/ca-certificates/ and run sudo update-ca-certificatesdocker compose up -dscimSsfSetup service automatically configures the streams. To perform manual configuration or explore the tool:
./goSignals
goSignals> add server gs1 http://goSignals1:8888
Grafana is served at https://localhost:3000. The local username/password
login form is disabled — the only way in is Sign in with GoSignals Realm,
which authenticates against the gosignals Keycloak realm. Demo users map to
Grafana org roles via the grafana client roles: admin → Admin, user →
Viewer; any authenticated realm user with no grafana client role falls back
to Viewer.
make dev-build-imagemake dev-uplocalhost, Port to 2345./app in “Paths mapping”.Use make dev-logs to follow logs and make dev-down to stop the stack.
make dev-bench runs an end-to-end load and routing benchmark against the stack
(push and poll streams between goSignals1 and goSignals2) and can record results
over time; see docs/perf/e2e-benchmark.md.
Every Go node in the dev stack also exposes a Go pprof listener (host ports
6060 / 6061 / 6062 for goSignals1 / goSignals2 / goSsfServer). make dev-pprof
captures and opens a profile; see docs/perf/pprof.md.
All container image builds go through the Makefile. pkg/constants/version.txt
is the single source of truth for the binary version — it is embedded into
every Go binary via //go:embed and read by the Makefile to inject -ldflags
and to tag the local make build-docker image. Published multi-arch images are
different: their image tag and OCI version label come from the TAG the
family publisher passes to make build-publish, and the OCI
revision label is the full commit SHA.
| Target | What it does |
|---|---|
make build |
Builds the Go CLI and server (bin/goSignalsServer). No Docker. |
make build-docker |
Cross-compiles for the host arch and loads i2gosignals:<version> and :latest into the local Docker daemon. |
make build-publish |
Validates a multi-arch (linux/amd64,linux/arm64 by default) build — layers stay in the buildx cache, nothing is tagged or published. PUSH=1 REGISTRY=<host> NAMESPACE=<ns> TAG=<tag> pushes exactly two refs from one buildx invocation, <host>/<ns>/i2gosignals:<tag> and <host>/<ns>/i2gosignals:latest (the dual tag; all three variables are required with PUSH=1; the family publisher passes docker.io/independentid), and writes buildx metadata to $(META_DIR)/build-meta-i2gosignals.json (META_DIR defaults to bin/). It never tags vX.Y — the family publisher moves that floating tag. Override PLATFORMS=… to change architectures. Creates a docker-container buildx builder (BUILDX_BUILDER, default i2sig) on first run. make test-publish-contract pins this surface; make build-docker stays host-arch, local-daemon only. |
make docker-sbom |
Builds the host-arch image and extracts its SBOM (SPDX 2.3 in-toto attestation) to bin/sbom-<version>.json. |
make cross-compile-linux |
Stages per-arch Go binaries under bin/linux/<arch>/ (used as a dependency by the docker targets). |
Override the binary version for a one-off local image without editing
version.txt, or push a multi-arch image (:<tag> and :latest) by hand to your own registry:
make build-docker VERSION=1.2.3-rc1
make build-publish PUSH=1 REGISTRY=docker.io NAMESPACE=independentid TAG=v1.2.3
(C)2026 Independent Identity Inc.