Credentials and federation
Trust marks
On this page
- Introduction
- What it answers that a Trust Chain does not
- The claim name that changed
- The status endpoint in the Final specification
- Issuing
- Issuing without an expiry
- Revoking
- Holding a mark somebody else issued
- Delegation (§7.2)
- The Trust Anchor's two claims
trust_mark_issuersand the empty arraytrust_mark_ownersand private keys- Validating a mark (§7.3)
- Endpoints
- Privacy (§19.2)
Introduction
In an OpenID Federation, organisations trust each other's servers through a shared authority. Sometimes a federation also needs to know whether a member has passed an assessment, such as a national privacy profile. A Trust Mark says so. It is a signed statement by an accreditation authority that some entity conforms to a set of criteria.
Signari can issue Trust Marks, revoke them, and answer questions about their status. It can also hold marks that others issued to it, and publish them. Specification: OpenID Federation 1.0, Final, 17 February 2026, §7 and §8.4–§8.6.
You manage Trust Marks with the command line or the Admin API.
Note
Trust Marks travel inside OpenID Federation documents. Read OpenID Federation first if the federation words here are new.
What it answers that a Trust Chain does not
A "Trust Chain" is the chain of signed statements from an entity up to an authority that both sides trust. A Trust Chain proves provenance: this entity is who it claims to be, and an authority above it vouches for its keys. It says nothing about conformance: whether the entity has been assessed against a framework and passed.
So a federation can have a valid chain to an application it must not admit. A university federation may resolve a chain to every member's software. It may still need to know which of them have been assessed against the national privacy profile. That is what a Trust Mark carries.
The claim name that changed
The type identifier claim is trust_mark_type.
Drafts of this specification called it id.
Signari writes only trust_mark_type, and refuses any document carrying id,
including one carrying both. A document carrying both can mean two things: a
reader preferring one member and a reader preferring the other would disagree
about what was asserted, while each believes it validated the document.
This breaks compatibility with draft-era issuers. Accepting id as a fallback
would let Signari read a different member from other readers.
The status endpoint in the Final specification
The Final specification changes two things in §8.4:
- The request is
POSTwith one parameter,trust_mark: the whole signed JSON Web Token (JWT). It is not a(sub, id)pair. - The response is a signed JWT,
typ: trust-mark-status-response+jwt. It is not{"active": true}.
Asking by coordinates cannot tell a mark from its own superseded predecessor.
Re-issue a mark after a reassessment, and the old one still matches
(sub, type). So "active" would describe the latest mark for that pair, not the
mark in the caller's hand. Signari looks the mark up by the SHA-256 of its exact
serialisation, so the answer is about that exact mark.
A plain JSON answer to "has this accreditation been withdrawn" could be changed by anything on the network path, so the answer is signed.
An unknown mark gets 404, not a signed invalid. Signing invalid over bytes
Signari has never seen would create a signed statement about somebody else's
document. A
caller could then present it as evidence that Signari had considered the document.
Issuing
To issue a mark of one type to one subject, valid for a year:
Shellsignari trust-mark issue \ -trust-mark-type https://federation.example/profile/privacy-v2 \ -trust-mark-sub https://rp.example.org \ -trust-mark-lifetime 8760h
The Admin API issues, revokes, accepts, drops and delegates Trust Marks the same
way, under /admin/instances/{instanceID}/trust-marks, /held-trust-marks and
/trust-mark-delegations, with a deployment-wide token. See the Admin
API.
The type identifier must be a URL. §7.1 says it "MUST be collision-resistant
across multiple federations" and recommends a URL. Signari requires one,
which is stricter than the text. A bare word like certified is the
collision §7.1 warns about. Two federations both mint it, and a reader that
trusts one now trusts the other's.
Re-issuing supersedes. The previous active mark for that (type, subject) is
marked revoked, with the reason superseded by a later issuance, in the same
transaction, and kept. Conformance marks are reassessed as a matter of course, and
keeping the old row lets you answer what was asserted about an entity at an
earlier date.
Issuing without an expiry
-trust-mark-lifetime 0 issues a mark with no exp. §7.1 permits it, and says it
means the mark does not expire.
The command prints a warning when you do this. §7.3's expiry step no longer applies, so the only way a reader learns that the mark was withdrawn is to query the status endpoint. A reader that caches and does not re-check will honour it indefinitely.
Revoking
To revoke a mark, give its type, its subject and a reason:
Shellsignari trust-mark revoke \ -trust-mark-type https://federation.example/profile/privacy-v2 \ -trust-mark-sub https://rp.example.org \ -trust-mark-reason "failed the 2026 reassessment"
Revocation is local. Nothing in the protocol tells the subject, which is still publishing the mark in its own Entity Configuration, and will keep doing so. Readers learn by querying §8.4. The command prints this reminder, because a mark recorded as revoked is still honoured by any reader that has not queried the status endpoint.
The guard is in the WHERE clause. Otherwise two administrators revoking at once
would both read active, and both write. The record would keep only the second
reason and the second timestamp, so the first revocation would leave no trace.
Holding a mark somebody else issued
To hold a mark another issuer gave you, or to stop holding one:
Shellsignari trust-mark accept -trust-mark-file ./mark.jwtsignari trust-mark drop -trust-mark-type ... -trust-mark-issuer ...
accept records a mark for republication in the trust_marks claim of Signari's
own Entity Configuration. An "Entity Configuration" is the signed document each
member of a federation publishes about itself.
The signature is not checked here. §7.3's validation is the reader's job: an application deciding whether to believe Signari's accreditation. Signari holds no key for the issuer, so it does not run that procedure.
What is checked is everything whose failure damages Signari's own document. That is a mark issued to a different entity, one that has already expired, or one whose outer and inner type identifiers disagree. Each of those makes a conformant reader reject the mark. Depending on the reader, it may reject the whole Entity Configuration too. So one bad row could make every reader in the federation reject Signari's configuration.
Expired held marks are excluded from the published claim, in SQL. They stay in
the table, so trust-mark list can show that an accreditation lapsed. A mark that
has expired is one every reader is required to discard. Publishing it would put a
claim in a signed document that the federation throws away, while an
administrator reading their own configuration sees the accreditation listed.
Delegation (§7.2)
The owner of a type identifier need not be the party that issues marks of that type. §7.2's own example is vehicle inspection: the body that mandates the inspections does not perform them.
The owner signs a delegation, and the delegate then issues marks with it:
Shell# As the OWNER:signari trust-mark delegate \ -trust-mark-type https://gov.example/inspection \ -trust-mark-delegate https://inspector.example \ -trust-mark-lifetime 8760h > delegation.jwt# As the DELEGATE:signari trust-mark issue \ -trust-mark-type https://gov.example/inspection \ -trust-mark-sub https://garage.example \ -trust-mark-delegation ./delegation.jwt
Note the direction. The owner is iss, and the delegate is sub. The owner is
making a statement about who may issue on its behalf.
The "Trust Anchor" is the authority at the top of the federation. For this to
validate, it must publish the owner in its trust_mark_owners claim, with the
owner's federation keys. §7.2.2 verifies the delegation against the keys the
anchor publishes, never against anything the delegation itself carries.
trust-mark delegate prints this reminder, because a delegation that validates
nowhere looks the same as one that validates.
The Trust Anchor's two claims
A Trust Anchor sets its two claims from files:
Shellsignari trust-mark issuers -trust-mark-file ./issuers.jsonsignari trust-mark owners -trust-mark-file ./owners.json
Both are refused unless this entity is a Trust Anchor, one with no
authority_hints: by the command, by a schema CHECK and by oidfed.Build.
§3.1.2 says every reader MUST ignore these claims anywhere else. So publishing
them from a subordinate writes down a federation policy that appears to be in force,
and is applied nowhere. {} clears either. A Trust Anchor serves the
federation_fetch_endpoint it MUST publish; see OpenID
Federation.
trust_mark_issuers and the empty array
The claim lists, for each type identifier, the issuers that may issue it:
JSON{ "https://openid.net/certification/op": [], "https://refeds.org/sirtfi": ["https://swamid.se"]}
§3.1.2: "If the array following a Trust Mark type identifier is empty, anyone MAY issue Trust Marks with that identifier."
That is the opposite of how an empty list reads everywhere else in Signari,
where an empty list permits nothing, as in the Shared Signals stream's Allows
field.
Here the specification says otherwise, so it is implemented as written. Signari keeps three states apart, which mean three different things:
| state | meaning |
|---|---|
| claim absent | the anchor has not constrained issuers at all |
| type absent from the claim | the anchor enumerated the types it governs, and this is not one |
| type present, empty array | anyone may issue this type |
oidfed.TrustMarkIssuers.IssuerPermitted returns (permitted, known), so the
first two stay distinguishable at every call site. A naive len(list) == 0 → deny turns the specification's "anyone" into "nobody", and every mark in the
federation stops validating. A naive len(list) == 0 → allow applied to the
absent-type case turns an unenumerated type into an unguarded one.
trust-mark issuers prints ANYONE may issue this for each empty array at the
moment it is set, because the file being loaded looks identical either way.
trust_mark_owners and private keys
The owners claim carries a JSON Web Key (JWK) Set, and it goes into a signed
document served to the whole federation. trust-mark owners refuses any key
carrying a private member (d, p, q, dp, dq, qi, oth, k). It is the
same rule attester add applies, for the same reason. A private key pasted in by
mistake would be published to the whole federation, and that cannot be undone.
Validating a mark (§7.3)
oidfed.ValidateTrustMark implements all nine steps. Two of them need
explaining.
Step 4: the containing entity. "The Entity Identifier of the Entity whose Entity Configuration contains the instance MUST match the value of the Claim sub in the Trust Mark."
Without this step, a forgery needs no keys. Copy a valid, unexpired, correctly
signed Trust Mark out of one entity's configuration and into your own. An
implementation that skips step 4 accepts it.
TrustMarkOptions.ContainingEntity has no default, and validation fails without
it.
The issuer's keys arrive from a completed chain. §7.3: "An Entity MUST
therefore establish trust in the Trust Mark Issuer by following the procedure
defined in Section 10 prior to starting the Trust Mark validation process." So
IssuerJWKS is a parameter, never read from the mark. This is the same shape as
ValidateChain taking the anchor's keys out of band, and for the same reason: a
document cannot supply the key that verifies it.
exp is optional and the check is not. §7.1 makes exp OPTIONAL; §7.3 says
"the current time MUST be before the time represented by the exp Claim". Read
together, the check does not apply when the claim is absent. §7.3 then adds that
where marks are issued without an expiry "it is RECOMMENDED that a mechanism be
provided to validate them, such as the Trust Mark Status endpoint". Signari
accepts an absent exp, and a reader of such a mark should use the status
endpoint.
Endpoints
Signari serves Trust Marks at these addresses:
POST /federation/trust_mark_status | §8.4. trust_mark=<jwt>. Returns a signed trust-mark-status-response+jwt, or 404 for a mark Signari did not issue |
GET /federation/trust_mark_list | §8.5. trust_mark_type required, sub optional. Returns a JSON array of Entity Identifiers, [] when nobody holds it |
GET /federation/trust_mark | §8.6. trust_mark_type and sub both required. Returns application/trust-mark+jwt, or 404 |
All three are unauthenticated, throttled by their own bucket, and registered only when this instance has federation keys.
They are advertised in federation_entity metadata only once this entity has
issued a Trust Mark. The metadata answers "is this a Trust Mark Issuer", and
Signari answers it from whether this entity has ever issued one, not from a
configuration flag.
Rows are revoked, never deleted, so an issuer that has withdrawn everything still advertises a status endpoint. Readers can still ask it whether a mark was withdrawn.
§8.6 answers 404 identically for never-issued, revoked and expired. Anyone holding the mark can tell those apart through the status endpoint. Telling them apart here would let a stranger enumerate which entities Signari has ever accredited and then withdrawn.
Privacy (§19.2)
An unauthenticated status endpoint lets a Trust Mark Issuer observe who is
evaluating whom. §19.2 recommends short-lived marks, or using the listing endpoint
with trust_mark_type alone and no sub.
That recommendation is addressed to the caller, so both forms of the listing request are answered. On its own side, Signari limits the work. These are unauthenticated database queries, and the bucket is large enough that a federation resolving chains does not reach it. A tighter limit would also block normal federation traffic.