Gatekeeper

Read a verdict

Discover what an endpoint publishes, verify it once, read a running Gatekeeper's status, and understand a denial.

How-toFor users, developers

Three commands look without forwarding anything. All three take --json. The transcripts below were captured on Linux; the configuration path yours prints depends on your system, and gatekeeper config path names it.

Look before you pin

endpoint discover verifies and prints the evidence, and never writes to the configuration. It takes a configured endpoint name or a bare hostname.

sh
gatekeeper endpoint discover router

Against production, with no pin yet, it ends with DENIED — verified, but policy: the built-in pin policy (gatekeeper.default) denied and the line to act on:

terminal
To accept this deployment:  gatekeeper endpoint trust add router sha256:5b95f3453a1b055f16852df0d886932304205bc8cf85877e25e83b228d3e53c8

"Verified, but" is the important phrase: every cryptographic stage passed, and only the pin is missing.

Verify once

verify runs the whole pipeline against a live host and evaluates every policy. Exit status 0 means the endpoint would be admitted; 3 means it would not.

gatekeeper verify router, after pinning, 2026-10-20
$ gatekeeper verify routerADMITTED — verified and allowed by every policyEndpoint       routerUpstream       https://api.router.superprotocol.comChecked        just nowEvidence kind  DeploymentEvidenceIssued         4s agoTrusted root            attested:329abfac433bc14636fe85052f8ba542132a77eb82d34a5c96de0f0676198706 (sha256:ebbad9337917c52d9792a79ee823be5ee091f839e4588f16d17d9e246ff0d82a) — attested (registry), not from trustedRootsObserved TLS leaf       sha256:c710de845fa9efe1e8e0b1071d15bde82c30f867e193987d7f445d97d3a5e6a6Signed certFingerprint  sha256:c710de845fa9efe1e8e0b1071d15bde82c30f867e193987d7f445d97d3a5e6a6evidenceDigest            sha256:5b95f3453a1b055f16852df0d886932304205bc8cf85877e25e83b228d3e53c8Pinned for this endpoint  yesRoot certificate TEE evidence  Verdict             attested (registry) — this is a Super Swarm root  Evidence type       Intel TDX (Azure)  Report integrity    ok  Chain revocation    not checked  Debug mode          disabled  Ciphertext hiding   disabled  Page swap disabled  disabled  Network type        trusted  Measurement         329abfac433bc14636fe85052f8ba542132a77eb82d34a5c96de0f0676198706 (in trusted registry)  Key binding         79556f468f4daf3c44b91448c6f20d627e147e61ab11e5163101e97aad9118a8 (matches the report data)Certificate chain (leaf → root)  ROLE  SUBJECT                                                                                 FINGERPRINT             EXPIRES  leaf  CN=Super Swarm Evidence Subroot CA Level 1,OU=IT,O=SuperProtocol,L=New York,ST=NY,C=US  sha256:87c4f866…f3a733  2027-01-17  root  CN=Super Swarm Root CA,OU=IT,O=SuperProtocol,L=New York,ST=NY,C=US                      sha256:ebbad933…f0d82a  2036-10-16Container images  docker.io/library/busybox@sha256:5cec3fc171c87218698e85a52af7087de727372aae264a787b8112901a5b0092  docker.io/library/haproxy@sha256:56b887da77428b7a6621e59e480cdbd330cc805c22d3cedb66ceea76ffdea2c6  ghcr.io/super-protocol/confidential-router/gatekeeper@sha256:e57e4f2f1952d6b369086a72e28ea42f7d8ac93f4dc39b76217bfb8bf9c1958b  ghcr.io/super-protocol/confidential-router/router-api@sha256:367aab943e948fb5443e6839212bdb5965a9d3791966626eadede79c44ec7ab0  ghcr.io/super-protocol/confidential-router/router-ui@sha256:af8ea605f79472d9d74806fac154a390fe1fae8c4b3277d83ec412d6b9d93fbf  ghcr.io/zalando/spilo-17@sha256:b7db9e8f62e809ebd9a0679fbdba147a811fdd240ab78380ea4720a46a017184  quay.io/coreos/etcd@sha256:2c029095680c13c2b36116cc3935e1b0cddc0f5af78004457fd863616d8d072bPolicies  POLICY      PACKAGE             RESULT  (built-in)  gatekeeper.default  allow

Reading the report

LineMeaning
Trusted root … attested (registry), not from trustedRootsThe root was admitted on its own hardware evidence and a registry-signed measurement, not from a certificate you pasted
Observed TLS leaf and Signed certFingerprintEqual: the connection is the one the proof describes
evidenceDigest and Pinned for this endpointThe deployment, and whether you approved it
Verdict … attested (registry)The root's own TEE evidence verified; attested (operator-pinned) would mean you accepted the measurement yourself
Report integrity okThe hardware report chains to the CPU vendor
Chain revocation not checkedVendor revocation lists are an opt-in (attestedRoots.checkRevocations)
Debug mode, Ciphertext hiding, Page swap disabledTEE flags, reported and never enforced; require what you want in a policy
Network type trustedThe platform's own network split, as declared by the root
Measurement … (in trusted registry)The rebuilt launch measurement carries a Super Protocol signature
Key binding … (matches the report data)The report commits to this certificate's key
Container imagesEvery image in the pinned snapshot, by digest

A verify of a hostname that is not configured has no pins, so it can be verified but never admitted.

Status of a running Gatekeeper

status asks the running process for every endpoint: whether its listener is up, its last verdict, and how much traffic it carries. It reports; it does not verify. It needs the admin socket:

terminal
$ gatekeeper statusgatekeeper: a running gatekeeper is only reachable through its admin socket, and none is configured       (add an `admin:` section to /home/you/.config/confidential-gatekeeper/config.yaml, or read the dashboard `gatekeeper run` already shows)

Add it and reload:

yaml
admin:  listen: unix:/run/user/1000/gatekeeper.sock

Every response through a running Gatekeeper also carries the header X-Gatekeeper-Verdict, allow on an admitted connection.

What a denial says

A request that arrives while there is no valid verdict is answered by Gatekeeper itself, under the default failMode: closed. Nothing reaches the upstream, and any connection the previous verdict admitted is closed.

HTTP 503
{  "error": {    "message": "policy: the built-in pin policy (gatekeeper.default) denied",    "type": "gatekeeper_error",    "code": "attestation_failed"  },  "stage": "policy",  "reason": "the built-in pin policy (gatekeeper.default) denied",  "checkedAt": "2026-10-19T20:05:00Z"}

error is OpenAI-shaped so a client library surfaces the message. stage names the check that failed; the table is on Vocabulary. The same string is on the X-Gatekeeper-Verdict header.

checkedAt is when the verdict behind the refusal was taken, and it is also on the X-Gatekeeper-Checked-At header. The refusal is answered from the verdict in force, so the reason describes that moment and not the moment you read it.

code is attestation_failed for a check that ran and said no, and attestation_unreachable when Gatekeeper could not reach the endpoint to run one at all: a refused dial, a failed handshake, a truncated read. The second says nothing about the endpoint, which may be perfectly healthy and briefly unreachable.

A request that meets a denial also re-attests on the spot, at most one check every two seconds per endpoint, and is decided on the result. A cause that has already passed therefore clears on your next request instead of at the next reattestInterval, and on the same backoff in the background when there is no request to carry it; a cause that has not is still a refusal, and fail-closed still sends nothing upstream. A tls-fingerprint refusal is the exception, because it is not a verdict: the verdict in force is an admitted one and the certificate on the connection is what failed, so it clears on the next re-attestation, within the verdict cache TTL of 60 seconds.

The denial you are most likely to meet is policy with an unpinned or changed digest: a deployment you have not approved. The one that means "not a build the registry signed" names the measurement and points at Test or unsigned builds.

When a newly signed cloud is admitted

A running Gatekeeper caches the attested-root verdict for 10 minutes (attestedRoots.cacheTtl) and re-attests every endpoint on its own schedule (5 minutes by default). A cloud whose measurement is signed later is admitted within about 15 minutes without a restart, or at once on SIGHUP.