Signed Passports and Verifiable Credentials

What the OpenEPCIS credential service does today. A did:web issuer per environment, W3C Data Integrity and SD-JWT VC, status lists, a public verifier, a signed trusted issuer list, sealed audit checkpoints, OID4VCI issuance and OID4VP presentation with access receipts.

OpenEPCIS signs product passports, organisation identities and EPCIS event attestations as W3C Verifiable Credentials (data model 2.0). Each environment runs its own issuer with its own did:web identity, and everything a verifier needs is public: the DID document, the JSON-LD contexts, the status lists and the credential itself. A verifier does not have to install anything from us.

This page describes what runs and how the parts fit together. The Credentials API page has the endpoints with curl examples. Standards Interoperability covers the vocabulary side of the same question.

Availability

Status on the epc.is platform as of 19 November 2026. "Released" means the feature ships in the current issuer and resolver releases and runs on our reference installation, and is not yet deployed on epc.is.

CapabilityStatusNotes
did:web issuer per environmentAvailabledid:web:id.epc.is, P-256 Multikey, published at https://id.epc.is/.well-known/did.json; did:web:issuer.epc.is stays resolvable as an alias
Data Integrity ecdsa-rdfc-2019 credentialsAvailablePassports for battery, textile, electronics, EUDR, CPR, PPWR, iron and steel, detergents and FSMA 204; the organisation identity anchor; EPCIS event attestations
Tier-sliced battery passport (VC-JOSE)AvailableOne signed credential per access tier, hash-chained to the public anchor
Public credential retrievalAvailableGET /vc/credentials/{id} serves the signed bytes of Public credentials
Status lists (revocation)AvailableOpt-in per credential configuration; the organisation identity anchor is revocable
Verification endpointAvailablePOST /vc/verify, free of charge, no account, four policy profiles
OID4VCI for passports and event credentialsAvailableIssuer metadata at /.well-known/openid-credential-issuer, access token from the epc.is Keycloak realm
Signed trusted issuer listAvailablehttps://issuer.epc.is/.well-known/vc-trusted-issuers, signed as did:web:id.epc.is
Sealed audit checkpointsAvailablehttps://issuer.epc.is/.well-known/audit-checkpoints/{tenant}
OID4VP presentation and access receiptReleasedVerifier endpoints /vc/oid4vp/* and the resolver's DPP-Tier / DPP-Receipt handling
SD-JWT VC person credentials via Keycloak OID4VCIIn preparationEmployee and organisation membership credentials run on our reference installation; the epc.is realm does not issue them yet
Tier unlock by wallet presentationIn preparationWired end to end, switched off until the credential-type-to-role mapping is configured; not yet configurable per tenant in Digital Data Management
GS1 licence chain verification in the hosted verifierIn preparationRules and chain source are built and tested against GS1 Global; the hosted verifier does not switch the GS1 trust root on yet
Acceptance against the EUDI reference walletPendingPresentation is implemented to OpenID4VP 1.0 with DCQL; the formal test with the EU reference wallet is still to be run
Credentials listed in the product linksetPer deploymentAutomatic linkset registration under gs1:dpp is switched off on epc.is

We decided against building holder key binding at issuance (c_nonce and proof), credential offers with a pre-authorized code, deferred issuance, ISO mdoc and the x509_san_dns verifier identity scheme. A wallet request carrying a proof is refused with invalid_proof, so no wallet is told its key was bound when it was not.

The issuer

Every environment has its own issuer with its own key. On epc.is the issuer signs as did:web:id.epc.is, on the same host as the GS1 Digital Link resolver, in the way GS1 itself publishes did:web:id.gs1.org. A verifier resolves the key over HTTPS from https://id.epc.is/.well-known/did.json, where it is published as a P-256 Multikey together with the resolver and the EPCIS repository as services. The credential service itself answers at https://issuer.epc.is, and did:web:issuer.epc.is, the identity used before November 2026, remains resolvable as an alias, so credentials and status lists signed under it keep verifying. A DIF domain linkage document at https://id.epc.is/.well-known/did-configuration.json ties the DID to its domain. Using it needs no registry membership and no admission to a consortium.

Private key material is kept in Kubernetes secrets, apart from the search index. The same key signs credentials, the trusted issuer list, the audit checkpoints, the OID4VP request objects and the access receipts. Each of these artefacts names the verification method in its kid, so all of them verify against the one published DID document.

The issuer only signs subject identifiers it may vouch for. A credentialSubject.id on a platform host is allowed; any other host must be a verified resolver domain owned by the caller. A request for a foreign host is refused with 403 and the reason in the body.

Formats

The format is chosen once per credential configuration, and the issuer publishes the choice in its OID4VCI metadata.

W3C Data Integrity, ecdsa-rdfc-2019

Data Integrity credentials use the media type application/vc+ld+json and the OID4VCI format ldp_vc. The proof covers the passport as an RDF graph, so it survives reformatting, key reordering and conversion to another RDF syntax. GS1 and UNTP build on this format, and most passports use it.

VC-JOSE

VC-JOSE (application/vc+jwt, OID4VCI format jwt_vc_json) is used for the tier-sliced battery passport, where one subject becomes up to three independently signed credentials, one per access tier. The non-public slices are hash-chained to the public anchor through relatedResource.digestMultibase, and only the anchor is advertised publicly.

SD-JWT VC

SD-JWT VC (application/dc+sd-jwt) is the format the EU wallet ecosystem is built around. Public claims stay in the clear and every other claim becomes selectively disclosable, so the holder decides at presentation time what to reveal. The verifier accepts SD-JWT VC with key binding, and Keycloak issues the person credentials in this format.

Signing offline

Signing never depends on the network. The signing engine resolves contexts only from a vendored bundle, and it refuses to sign a credential that still contains relative @id or @type references, because no strict verifier could check it.

Status lists

Revocation is opt-in per credential configuration. A credential issued without a status purpose carries no credentialStatus and cannot be revoked, which is the honest default for a passport nobody intends to withdraw. Where revocation is enabled, the issuer supports the W3C Bitstring Status List and the IETF Token Status List.

Status lists are served anonymously at /vc/status/{listId} with Cache-Control: public, max-age=300, so a revocation reaches verifiers within five minutes. Revocation is bound to the tenant that owns the credential, it is idempotent, and it is permanent. A credential of another tenant answers 404.

Verification

POST /vc/verify is public and free of charge, as EN 18246 §4.7 asks. It accepts a serialised credential (compact JWS, SD-JWT, JSON-LD text) or a JSON-LD object.

The answer is layered. Each stage reports PASS, FAIL, UNDETERMINED or NOT_APPLICABLE, and the named policy profile decides which stages block acceptance:

StageQuestion
ENVELOPEIs the securing envelope well formed, with the expected algorithm and type?
PROOFDoes the signature verify over the resolved key?
CONTROLLER_BINDINGIs the key controlled by the credential's issuer and authorised for assertionMethod?
VALIDITYIs the credential inside its validity window?
STATUSIs it revoked or suspended?
TRUST_ROOTDoes a trust root vouch for the issuer?
AUTHORITYIs the issuer entitled to speak about this subject, for example its own GS1 prefix?
ProfileRequiresFor
self (default)validity, statusOpenEPCIS credentials, no trust walk
untpvalidity, status, trust root; authority preferredUNTP-conformant third parties
gs1validity, status, trust root, authorityGS1-rooted credentials with prefix containment
espr-authorityvalidity, status, trust root, authority at qualified assuranceauthority audiences

The verifier resolves JSON-LD contexts in three tiers: the vendored bundle, the vendored W3C base set, and an HTTPS fetch restricted to an allow-list (www.w3.org, ref.gs1.org, ref.openepcis.org, vocabulary.uncefact.org, w3id.org). A missing context yields the regular verdict UNDETERMINED: context unavailable: <iri> with no server error, so a verifier learns which context was missing.

Trusted issuer list

EN 18246 Annex A.3 asks that a verifier can check an issuer's authority against a trusted list. The platform's trusted issuer registry is published as a signed list at /.well-known/vc-trusted-issuers (all entries) and /.well-known/vc-trusted-issuers/{tenant} (entries a tenant added).

The list is a compact JWS (typ: trusted-issuers+jwt, ES256) signed with the issuer key, so it verifies offline against a saved did.json. Each entry names the issuer identity, its kind (did, https or x509), the tenant, its subject scopes and its status. An entry past its validUntil is published as revoked, so a consumer with an older copy sees the withdrawal. The list is valid for one hour, and a strictly increasing ver lets a consumer refuse a rollback.

Audit checkpoints

EN 18239 §5.2.16 requires a record of every change to rights and data. Every change to credentials, trust entries and keys, every change to master data, linksets, passports and access rights, and every read above the Public tier leaves an entry in one hash-chained, append-only log per tenant. Changes made in the identity provider are forwarded into the same chain.

The chain is sealed with the platform key, at least hourly and immediately after every access grant, revocation, key rotation and trust change. The seals are public at /.well-known/audit-checkpoints/{tenant}, newest first. A seal is a compact JWS (typ: audit-checkpoint+jwt) over {tenant, seq, head, issuedAt, kid, iss}.

Anyone holding the published did.json, the published seals and an export of the entries can check the log without access to the platform: every seal must verify, and the chain must reach each sealed head intact. Entries record identifiers and the shape of a change and leave the subject's data out.

Chains are keyed by the economic operator: gln-<GLN13> when the operator's GLN is known, otherwise grp-<tenant group>, with platform for platform-wide operations.

Issuance with OID4VCI

Two issuers share one authorisation model. Keycloak issues the identity-near credentials whose claims are user attributes, namely an employee credential and an organisation membership credential, both as SD-JWT VC; on epc.is this is in preparation.

The platform issuer issues the data-heavy credentials: passports, event attestations and the organisation identity anchor, whose claims come from the passport API, the EPCIS repository and the resolver's master data. Its metadata lists every credential configuration and names Keycloak in authorization_servers. A wallet signs in where it already signs in, obtains an access token, and calls POST /vc/oid4vci/credential with credential_configuration_id and subject_id. The subject is required because these credentials describe a product, a facility or an organisation, and subject_id names which one.

Operators and integrations can use the administrative call POST /vc/credentials/{configId} for the same pipeline.

Presentation with OID4VP and the access receipt

EN 18239 §5.2.8 lets a trustworthy role credential admit an actor to controlled passport data without a case-by-case release by the economic operator. In OpenEPCIS the resolver is the relying party and the issuer service is the verifier. Between the two travels a signed access receipt.

  1. A client asks the resolver for a record and sends DPP-Tier: AuthorizedOnly or DPP-Tier: Restricted. Without the header nothing changes, and Public data stays public without authentication.
  2. If the caller does not reach the requested tier, the resolver answers 401 with two challenges in WWW-Authenticate: a Bearer challenge and an OID4VP challenge carrying a request_uri and a session.
  3. The wallet opens the request_uri. The signed request object (client_id_scheme=did, DCQL query, response_mode=direct_post.jwt) tells it which credential types are acceptable and which key to encrypt the response to.
  4. The verifier checks holder binding (the SD-JWT key binding JWT, or the presentation proof with challenge and domain), single-use nonce and audience, then runs every credential through the same layered verification as /vc/verify.
  5. On success it writes an access.grant entry to the tenant's audit chain, seals the chain, and issues a receipt (typ: dpp-access-receipt+jwt, valid at most 15 minutes) carrying the roles the accepted credentials map to. If the audit entry cannot be written, no receipt is issued.
  6. The client polls GET /access/sessions/{session} at the resolver for the receipt and repeats the read with DPP-Receipt: <jws>. The resolver checks the receipt against the verifier's did.json, its audience, expiry, single use and optional resource binding, and serves the record at the tier the roles grant.

A receipt grants read access only, and a receipt without roles is valid but opens nothing. Reads made with a receipt appear in the audit log with grantSource=PRESENTATION.

The mechanism is complete in both services and is switched off until the mapping from credential types to roles is configured. Configuring that mapping per tenant in Digital Data Management is in preparation, and so is the acceptance test against the EUDI reference wallet.

GS1 licence chain

GS1 is the root of trust for GS1 Digital Link. The verifier models the GS1 Digital Licence chain as a trust root: GS1 Global prefix licence, then the member organisation's company prefix licence, then key credentials. When the chain verifies and licenses this issuer, the verdict carries the assurance GS1_LICENCE, and the verified prefix becomes the subject scope. The AUTHORITY stage then rejects a passport for a GTIN outside the issuer's own prefix.

The chain is discovered from the issuer's DID document and walked up through extendsCredential. A licence link counts only when it was fetched from a configured GS1 registry (by default https://id.gs1.org/). Fetches are bounded in depth, size and time. An unreachable registry yields UNDETERMINED, which keeps a network failure apart from the verdict "unlicensed".

A real GS1 licence credential, fetched from GS1's live service and checked against GS1's published DID document, verifies in the OpenEPCIS engine and stops verifying when a single byte changes. The hosted verifier does not switch the GS1 trust root on yet; until it does, the gs1 profile cannot reach a GS1_LICENCE verdict on epc.is.

Canonicalization decides whether a signature travels

Parts of a passport carry no identifier of their own: the individual material entries, the hazard statements, the footprint figures. Before signing they are numbered so that any two readers see them in the same order. That step is RDF canonicalization, it is specified exactly, and the signature is a hash over its result.

Two implementations that number them differently produce different bytes from identical data, and the verifier reports an invalid signature although nothing was altered. Two nodes pointing at a third is the classic case where the numbering rules decide:

one implementation      the standard

#test #A _:c14n0        #test #A _:c14n2
#test #B _:c14n1        #test #B _:c14n0
_:c14n0 #next _:c14n2   _:c14n0 #next _:c14n1
_:c14n1 #next _:c14n2   _:c14n2 #next _:c14n1

A battery passport has 92 such unnamed parts. OpenEPCIS therefore runs the W3C rdf-canon conformance suite in the build against the canonicalizer it actually uses. A credential issued by OpenEPCIS is accepted by an independent third-party verifier on an unrelated library stack, which reports ecdsa-rdfc-2019 | verified: true.

The published contexts are part of the signature

The translation into canonical form is driven by the JSON-LD context documents published on ref.openepcis.org. Every credential names them by URL, and a verifier fetches them and repeats the translation. If the served documents differ from what the issuer used, even by one term definition, the verifier reconstructs different bytes and rejects a valid passport. Published context versions are therefore treated as records, and the issuer and the reference site are kept in step.

Where wallets fit

A product passport is an assertion about a thing, published so that anyone scanning the product can read it, and a wallet usually has no reason to carry it. Wallets matter where a holder is involved, so OpenEPCIS uses them for the actors: who they are and what they may see.

ScenarioWhat is presentedStatus
Unlocking a restricted access tierA role credential, for example an authorised repairer or a market surveillance authorityImplemented, switched off until configured
Proving prefix entitlementThe brand owner's GS1 prefix licence credentialChain verification built, not yet on in the hosted verifier
Acting for an organisationEmployee and organisation membership credentials from KeycloakIn preparation for epc.is
Onboarding an economic operatorA legal-person attestation from an organisational walletPlanned, once the EU Business Wallet exists

The first row is ESPR Article 9 followed through. Access tiers are enforced at the data layer today. A presented credential lets the entitlement travel with the holder, so a recycler in another member state can prove what they are and read what that entitles them to without an account on the platform.

Next steps

Last updated: