Skip to content

Attestations

Statements one domain signs about an identity, usually one issued by another domain. An attestation is created as an offer; its subject accepts it by proving possession of an identity key, and receives a credential bound to that key. The credential is an SD-JWT VC: each claim is disclosed or withheld by its holder, and a presentation is bound to one verifier and one occasion. The issuer's key is certified by its root key, so the DNS pin anchors every credential, and a status list tells whether a credential still stands without the issuer learning who asked. Which attesters to believe is left to whoever verifies.

GET /.well-known/jwt-vc-issuer

Credential issuer metadata

Unauthenticated

Callable with no credential.

The key this server signs credentials and status lists with, in the form SD-JWT VC defines for issuer metadata. issuer is https://<domain>, the value every credential issued here carries as iss.

The key is ECDSA P-256 (ES256). It is not the root key: it is a separate key the root key certifies. revoked_certification carries that certification in the format of every root-key statement — payload (base64url of a JSON body with type: credential-key-v1, the domain, and the key's RFC 7638 thumbprint as kid) and signature (hex). A verifier that walked the DNS pin to the root key checks the certification and so ties every credential to the domain. A key served here without a certification under the pinned root key proves nothing.

Responses

Status Meaning
200 The issuer identifier and its key set.

Response fields

Field Type Notes
issuer string https://<domain>.
jwks object

GET /api/attestations/status

Status list of the credentials issued here

Unauthenticated

Callable with no credential.

The revocation state of every credential this server issued, as one Token Status List: a JWT of type statuslist+jwt, signed with the credential key, whose status_list.lst is a zlib-compressed bit array, one bit per credential. A set bit means revoked. Each credential names its position in its status claim.

A verifier reads the whole list and looks its credential up in it, so this server does not learn which credential was checked or by whom. The list is at least twice as long as the number of credentials issued, and positions are assigned at random.

A revocation is never undone, and it outlives the attestation: a deleted attestation, or one whose workspace was deleted, stays revoked. A position the list does not reach says nothing about its credential, which is not the same as revoked.

Responses

Status Meaning
200 The status list token, as application/statuslist+jwt. It may be kept for ttl seconds (five minutes), which is the revocation latency in the usual case, and is not valid past exp.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

GET /api/attestations/offers/{token}

What an offer states

Unauthenticated

Callable with no credential.

Shows an offer to whoever holds its token, before anything is decided: the attesting server, the workspace, the type, and every claim with its value, so the subject sees what would be stated about them. Once the offer was accepted the claims are left out.

server names the domain and root key fingerprint to walk the DNS chain against.

Parameters

Name In Required Notes
token path yes The offer's one-time token, returned once in the X-Attestation-Token header when the attestation was created.

Responses

Status Meaning
200 The offer.
404 No such resource, or the caller may not see it.
410 attestation_offer_expired or attestation_offer_revoked.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
type string
label string
status string (offered | active)
claims object Present while the offer is open.
expiresAt string When the credential stops being valid; empty for none.
offerExpiresAt string Until when the offer can be accepted.
subjectFingerprint string Set when the offer was made for one identity, or accepted by one.
server ServerClaim
workspace object

POST /api/attestations/offers/{token}/claim

Accept an offer and receive the credential

Unauthenticated

Callable with no credential.

Issues the credential to an identity that proves its key. The caller is usually the subject's own server, relaying for the app (POST /api/credentials/claim there); nothing but the token and the proof is needed.

The challenge comes from GET /api/challenges/attestation/{token} with the identity's id, and is signed on the device with the identity key. This server then checks the identity with the server that issued it: the certificate is the one fingerprinted, that server's DNS-pinned root key signed the fingerprint, and it still vouches for the identity. An identity issued here is checked against this server's own records.

The credential is an SD-JWT VC signed with the credential key. It names the issuer (iss), the type (vct), the holder's key (cnf.jwk), the identity it is about (revoked_holder: fingerprint and domain) and its position in the status list (status). Every claim of the attestation is selectively disclosable.

An offer is accepted once. The identity that accepted it may claim it again until the offer's date and receives the same statement again, so a lost answer costs nothing; any other identity is refused with attestation_offer_claimed.

Parameters

Name In Required Notes
token path yes

Request body

application/json

Field Type Notes
identity object The public half of the subject's identity.
challengeNonce string
challengeSignature string

Responses

Status Meaning
200 The credential, with every disclosure.
400 Refused, with a named reason.
401 challenge_required, challenge_invalid or signature_invalid.
403 remote_identity_invalid when the identity could not be verified with the server that issued it, identity_revoked when that server withdrew it, attestation_identity_mismatch when the offer was made for another identity.
404 No such resource, or the caller may not see it.
410 attestation_offer_claimed, attestation_offer_expired or attestation_offer_revoked.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
credential string <issuer JWT>~<disclosure>~…~
issuer string The attesting domain.

POST /api/attestations/verify

Verify a presented credential

Unauthenticated

Callable with no credential.

Checks a presentation along both chains and answers with a verdict.

The attester's chain: the issuer's domain is read from iss, its root key is tied to the domain through the _revoked TXT record, the credential key is checked against the root key's certification, the credential's signature against that key, and its position in the issuer's status list.

The holder's chain: the key binding is checked against the key the credential names, for the audience and nonce given here, and the server that issued the holder's identity is asked whether that identity still stands.

The verdict states who attested and what was disclosed. It does not decide whether the attester deserves to be believed: which domains are accepted for which statement is the caller's policy.

Without audience and nonce no key binding is checked, and the verdict is never verified: a credential without a key binding could be presented by anyone holding a copy. A service chooses a fresh nonce for every request and passes its own origin as audience.

Always answers 200; a presentation that cannot be read is the verdict invalid, and a check that could not be completed is unverified, never an error to ignore.

Request body

application/json

Field Type Notes
presentation string <issuer JWT>~<disclosure>~…~<key binding JWT>
audience string The verifier as the presentation names it, e.g. its origin.
nonce string The value the verifier chose for this occasion.

Responses

Status Meaning
200 The verdict.
400 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
state string (verified | unverified | dnsMissing | spoofed | revoked | expired | invalid)
reason string The first reason the credential was held back, or what was verified.
issuer string The attesting domain.
issuerState string How the issuer's key was tied to its domain.
type string The credential's vct.
claims object The disclosed claims. Left out unless the issuer's signature verified.
withheld integer How many claims the credential holds that were not disclosed.
status string (valid | revoked | unknown) What the issuer's status list says.
issuedAt integer Unix seconds.
expiresAt integer Unix seconds; absent when the credential does not expire.
holder object The identity the credential was issued to.
keyBound boolean Whether the presentation proved possession of the holder's key for the audience and nonce given.

POST /api/attestations/reissue

Move a credential to the holder's new identity

Unauthenticated

Callable with no credential.

Issues a credential this server issued again, for another identity of its holder, and revokes the one it replaces. The caller is usually the holder's own server, relaying for the app (POST /api/credentials/{id}/reissue there). Nobody at the issuer is asked: the key the credential is bound to authorizes the move.

The request carries the credential as issued (without a key binding), the public half of the new identity, the new identity's signature over a challenge from GET /api/challenges/reissue/{old fingerprint}?identityId=<new id>, and a voucher signed with the key in the credential's cnf.

This server checks, in this order: its own signature on the credential, and that the credential is in date; that its position in the status list is not revoked and the attestation still names this holder; that the new identity comes from the same server as the old one and is another identity; the voucher; the challenge, which is spent here; the new identity with the server that issued it, as for a claim; and that the old identity still stands there. Revoking the old identity therefore ends its key's say: nothing bound to it can be moved after that.

The new credential states the same claims and type, with the same issue and expiry dates, bound to the new key, at a fresh position in the status list. The old position is revoked in the same transaction, and the attestation names the new identity as its subject. A credential moves once; moving it to yet another identity is refused with reissue_credential_revoked. Moving it again to the identity it already moved to hands out the current credential once more, so a lost answer is fetched by retrying.

Request body

application/json

Field Type Notes
credential string The credential as issued: <issuer JWT>~<disclosure>~…~.
identity object The public half of the identity the credential moves to.
challengeNonce string
challengeSignature string The new identity key's signature over the nonce.
voucher ReissueVoucher

Responses

Status Meaning
200 The new credential, with every disclosure.
400 reissue_credential_invalid when the credential was not issued here or cannot be read, identity_required without an identity.
401 reissue_voucher_invalid when the voucher is missing, signed by another key or states something else, challenge_required, challenge_invalid or signature_invalid.
403 reissue_identity_mismatch when the new identity is the old one or comes from another server, remote_identity_invalid or identity_revoked for the new identity, reissue_holder_revoked when the old identity was revoked, reissue_holder_unconfirmed when its server could not confirm it.
410 reissue_credential_revoked when the credential was revoked or already moved, reissue_credential_expired when it has expired.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
credential string <issuer JWT>~<disclosure>~…~
issuer string The attesting domain.

POST /api/attestation-checks

Ask someone to show an attestation

Auth: Session

Makes a check: this server stands in for the service that would otherwise ask. The answer is a present query for an ordinary revoked://present link, whose audience is this server's origin, whose nonce is the check's own and whose state is the check's id. The other person answers it like any request to see an attestation; the answer lands at POST /api/public/attestation-checks/answer.

A check can be answered once, for ten minutes. identityId names the asker as the other person sees them; it must be one of the caller's own active identities. Requires a users session.

Request body

application/json

Field Type Notes
type string The kind of attestation asked for. Empty asks for any.
issuers array of string Attester domains accepted.
claims array of string Claims asked for.
identityId string The asker's identity, shown to the other person.
connection string The connected tool whose proposal this check came from: one of the caller's own live connections. Lets the tool see the verdict.
ref string The tool's own reference, up to 80 characters.

Responses

Status Meaning
200 The check, and the query of the link that answers it.
400 Refused, with a named reason.
401 Refused, with a named reason.
403 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
id string
expiresAt string
present object

GET /api/public/attestation-checks/{id}

Who asks to see an attestation

Unauthenticated

Callable with no credential.

Read by the answering app before anything is shown: the asker's identity, stated as a request's requester is, and this server's domain, so the app checks the asker along the same trust chain. Answers only while the check is open.

Parameters

Name In Required Notes
id path yes

Responses

Status Meaning
200 The asker.
404 Refused, with a named reason.
410 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
asker object
expiresAt string
server object

POST /api/public/attestation-checks/answer

Answer a check with a presentation

Unauthenticated

Callable with no credential.

The response_uri of a check's present link. The presentation is verified against the check's audience and nonce on arrival, and the verdict is kept for the asker; the credential is not. Something that is not a presentation, or one made for another verifier, is refused without using the check up. The first answer that verifies as a presentation closes it: a second gets 410.

Request body

application/json

Field Type Notes
presentation string
state string The check's id.

Responses

Status Meaning
200 Kept. state is the verdict's state.
400 Refused, with a named reason.
404 Refused, with a named reason.
410 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
state string

POST /api/attestation-shares

Start a link that shows a held attestation

Auth: Session

Starts a link for one of the caller's held attestations, open for days (1 to 90). The answer is the audience and nonce the holder's presentation must be bound to; the link opens once POST /api/attestation-shares/{id}/activate receives one that verifies, within ten minutes. Requires a users session.

Request body

application/json

Field Type Notes
credential string The id of one of the caller's credentials.
days integer

Responses

Status Meaning
200 The pending link and what to bind the presentation to.
400 Refused, with a named reason.
401 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
id string
audience string
nonce string
expiresAt string

POST /api/attestation-shares/{id}/activate

Sign a pending link and open it

Auth: Session

Takes the holder's presentation for a pending link. It must be bound to the link's audience and nonce, made by the identity the attestation was issued to, and the attestation must still stand. The answer carries the link; only a hash of its token is kept, so it is shown this once. A link is signed once: a second attempt gets 410.

Parameters

Name In Required Notes
id path yes

Request body

application/json

Field Type Notes
presentation string

Responses

Status Meaning
200 The open link.
400 Refused, with a named reason.
401 Refused, with a named reason.
404 Refused, with a named reason.
410 Refused, with a named reason.

Response fields

Field Type Notes
id string
token string
url string
expiresAt string
disclosed array of string

POST /api/attestation-shares/{id}/revoke

End a link

Auth: Session

Ends one of the caller's links. Whoever opens it afterwards gets 410.

Parameters

Name In Required Notes
id path yes

Responses

Status Meaning
200 Ended.
401 Refused, with a named reason.
404 Refused, with a named reason.

Response fields

Field Type Notes
id string
status string

GET /api/public/attestation-shares/{token}

Read a shared attestation

Unauthenticated

Callable with no credential.

What a link shows: the verdict on the holder's presentation, checked again now. The key binding was checked when the holder signed the link; the issuer's key, the status list, expiry and the holder's identity are checked on every read. The link shows what the holder chose to share; it does not prove that whoever sent it is the holder. Each read is counted for the holder.

Parameters

Name In Required Notes
token path yes

Responses

Status Meaning
200 The verdict, with when the link was made and until when it is open.
404 Refused, with a named reason.
410 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
state string
reason string
issuer string
type string
claims object
withheld integer
issuerState string How the issuer's key was tied to its domain.
status string (valid | revoked | unknown)
issuedAt integer Unix seconds.
expiresAt integer Unix seconds; absent when the credential does not expire.
keyBound boolean Always true; the key binding was checked when the link was made.
holder object
holderName string
sharedAt string
linkExpiresAt string

GET /p/{token}

A shared attestation, as a page

Unauthenticated

Callable with no credential.

The link a holder passes on. A browser gets a page; anything else gets the JSON of GET /api/public/attestation-shares/{token}.

Parameters

Name In Required Notes
token path yes

Responses

Status Meaning
200 The page, or the verdict as JSON.
404 Refused, with a named reason.
410 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

POST /api/credentials/claim

Accept an offer and keep the credential

Auth: Session

Accepts an attestation offer for the person signed in here and keeps the credential for them. This is what the app calls; the offer may live on this server or on any other.

The app obtains the challenge from the offer's server and signs it on the device. This server adds the identity's public half, calls the offer's server, and checks what comes back before keeping it: the server that was asked signed it, with a key tied to its domain, and it is bound to the key and the identity that asked. A credential that fails this is not kept, and credential_invalid is returned; the offer can be accepted again.

origin is the address of the offer's server and is left out for an offer on this server. Accepting an offer again replaces the kept copy.

Request body

application/json

Field Type Notes
origin string The other server's address, e.g. https://verify.example. Plain http is accepted only for a domain listed in PEER_OVERRIDES.
token string
identityId string An identity of the signed-in person on this server.
challengeNonce string
challengeSignature string

Responses

Status Meaning
200 The kept credential, as its credentials record.
400 Refused, with a named reason.
401 Refused, with a named reason.
403 Refused, with a named reason.
404 No such resource, or the caller may not see it.
410 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.
502 remote_unreachable when the other server could not be reached, credential_invalid when what it returned did not verify.

Response fields

Field Type Notes
id string
issuer string The attesting domain.
type string
identity string
credential string The SD-JWT with every disclosure.
claims object
issuedAt string
expiresAt string
user string
workspace string
collectionId string
collectionName string
created string
updated string

GET /api/credentials/{id}/status

Whether a held credential still stands

Auth: Session

The holder's view of a credential they keep: the same checks as POST /api/attestations/verify, without a key binding, since nothing is being presented. It tells whether the attester's key still verifies, whether the credential was revoked or has expired, and whether the identity it is bound to still stands.

Parameters

Name In Required Notes
id path yes

Responses

Status Meaning
200 The verdict. keyBound is always false here.
401 Refused, with a named reason.
404 No such resource, or the caller may not see it.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.

Response fields

Field Type Notes
state string (verified | unverified | dnsMissing | spoofed | revoked | expired | invalid)
reason string The first reason the credential was held back, or what was verified.
issuer string The attesting domain.
issuerState string How the issuer's key was tied to its domain.
type string The credential's vct.
claims object The disclosed claims. Left out unless the issuer's signature verified.
withheld integer How many claims the credential holds that were not disclosed.
status string (valid | revoked | unknown) What the issuer's status list says.
issuedAt integer Unix seconds.
expiresAt integer Unix seconds; absent when the credential does not expire.
holder object The identity the credential was issued to.
keyBound boolean Whether the presentation proved possession of the holder's key for the audience and nonce given.

GET /api/credentials/{id}/reissue

The issuer's challenge for moving a held credential

Auth: Session

Fetches a challenge from the credential's issuer — this server when it issued the credential — for moving it to identityId, another active identity of the signed-in person. The app knows an issuer by its domain only, so this server reaches it on the app's behalf.

The app signs the nonce with the new identity's key, and builds the voucher itself from what it knows: the issuer, the two fingerprints and this nonce. Nothing else is taken from the answer.

Parameters

Name In Required Notes
id path yes A credential the signed-in person keeps.
identityId query no The identity it moves to, for GET. POST names it in the body.

Responses

Status Meaning
200 A nonce to sign.
401 Refused, with a named reason.
403 identity_not_owned, identity_revoked or reissue_identity_mismatch for the identity it moves to.
404 credential_not_found.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.
502 remote_unreachable when the issuer could not be reached.

Response fields

Field Type Notes
nonce string
expiresAt string RFC 3339; empty when the issuer's server did not say.

POST /api/credentials/{id}/reissue

Move a held credential to another identity

Auth: Session

Moves a credential the signed-in person keeps to another of their identities, and keeps the replacement in place of the old copy. This is what the app calls for each credential when an identity is replaced.

Both signatures are made on the device: the voucher with the key of the identity the credential is bound to, the challenge with the new one. This server adds the credential and the new identity's public half, calls the issuer (POST /api/attestations/reissue, on this server or the issuer's), and checks what comes back as it checks an accepted offer: the issuer signed it with a key tied to its domain, and it is bound to the new key and identity. A refusal from the issuer is passed on with its code; the credential then stays bound to the old identity.

Parameters

Name In Required Notes
id path yes A credential the signed-in person keeps.
identityId query no The identity it moves to, for GET. POST names it in the body.

Request body

application/json

Field Type Notes
identityId string The identity it moves to.
challengeNonce string
challengeSignature string
voucher ReissueVoucher

Responses

Status Meaning
200 The kept credential, as its credentials record, now bound to the new identity.
400 Refused, with a named reason.
401 Refused, with a named reason.
403 Refused, with a named reason.
404 credential_not_found.
410 Refused, with a named reason.
429 Too many attempts. Password gates, probes and challenges are limited per client, so a slug cannot be brute-forced.
502 remote_unreachable when the issuer could not be reached, credential_invalid when what it returned did not verify.

Response fields

Field Type Notes
id string
issuer string The attesting domain.
type string
identity string
credential string The SD-JWT with every disclosure.
claims object
issuedAt string
expiresAt string
user string
workspace string
collectionId string
collectionName string
created string
updated string