Credentials
The Verifiable Credentials the Desktop Notary issues for itself and for the processes it signs for, the evidence they carry, and how to verify them.
Every credential the notary emits is a W3C Verifiable Credential, wrapped as a
CredentialRegistration statement in a {version, contexts, statements, blobs} manifest, the
same envelope every EQTY lineage manifest uses. GET /v1/credential returns it; see the
API.
Evidence travels inside the credential. The TPM quote, its signature, the AK public key and
any EK or AK certificates live in the manifest’s blobs, referenced by CID from inside the
signed credential, so the signature covers the reference and the document stands on its own.
There is no DID-registration step and nothing is enrolled anywhere. CredentialRegistration is
only the EQTY vocabulary’s name for “a credential appears in this graph”.
The field-by-field reference for every credential is the Credential Catalog.
Two kinds
| Credential | Type | Issuer | What it says |
|---|---|---|---|
| Identity | IdentityAttestation of VCompTpmV1, VCompSecureEnclaveV1 or VCompWslV1 | Itself | This notary’s key lives in this hardware. On Linux and Windows, evidenced by a TPM2_Quote signed by an attestation key. On macOS, the smaller claim the platform supports, with no evidence block. In WSL, issued by the Windows host notary. |
| Process | VCompProcessV1 or VCompContainerV1 | The notary | This key was minted for a process running this executable (BLAKE3 and SHA-256), invoked with this command line, in this directory, as this user. Or, for a caller in a container, for this container, named by the container alone. No evidence of its own: what roots it is its issuer. |
A fact the daemon could not observe is absent from the credential rather than defaulted. An
empty commandLine would read as “invoked with no arguments”, a different claim from “we could
not read the arguments”.
The chain
flowchart LR
EK["TPM EK certificate<br/>(manufacturer)"] -. credential activation .-> AK["Notary AK<br/>certified by an EQTY Key Guardian"]
AK -- TPM2_Quote, TPM2_Certify --> SK["Notary system key<br/>VCompTpmV1"]
SK -- issues --> P["Process key<br/>VCompProcessV1"]
P -- signs --> W["Workload statements<br/>Data, Computation, Metadata"]On Linux the quote covers PCR 9 and PCR 10, and its qualifying data is the notary binary’s SHA-256. PCR 10 is where the kernel’s IMA extends every measured binary, so the credential proves that this notary binary, with this hash, was measured by the kernel on the current boot. On Windows the quote covers PCRs 0, 2, 4, 7, 11, 12, 13 and 14 and comes with the TCG event log, the EK certificate and a host-reported Authenticode identity. On macOS there is no quote: the root is the Developer ID-signed daemon and its host-reported code identity.
Host metadata
Each identity manifest registers the notary host’s OS as metadata about the identity, the way
the EQTY Notary in a confidential VM registers its Azure or GCP details: a MetadataRegistration
whose subject is the identity statement and whose metadata is the JCS-canonical JSON
{osFamily, osVersion, kernelRelease, architecture, evidenceLevel} carried in blobs.
evidenceLevel is host-reported: the notary reads these values from the local OS, and the TPM
quote does not prove them.
A notary on a vTPM
A notary running in a VM whose TPM is a hardware-rooted vTPM adds the vTPM’s chain
to its own evidence. At startup it reads the EK certificate and the issuer chain from the vTPM’s
NV into tpmEKCertificate, has the vTPM’s IAK TPM2_Certify its AK, and puts the IAK-issued AK
certificate, the IAK certificate and the chain into tpmAKCertificate. A verifier gets one X.509
chain from the quoting AK to the host notary’s root, plus the TPM’s own statement that the AK and
IAK share a TPM. Run such a guest notary without a Key Guardian, or it prefers the Key Guardian’s
certificate and the chain ends there instead of at the host.
Verify a manifest
Three tools read these manifests:
- The Lineage Explorer renders the graph.
- The eqty-manifest verifier checks every statement’s
signature and content hash, and reports what it could not check. Today it reports the identity
credentials as not checked: it does not yet recognise their
identity-attestation/v1context, and it has no pinned root for aVCompTpmV1. eqty-notary-verify, from the repository’snotary-verifycrate and installed by the Windows MSI, checks an identity manifest offline on any OS: every blob and statement against its CID, every proof, the quote, the AK’s certify of the key behind the issuer DID, and on Windows the boot log replayed to the quoted PCRs. Exit0is all passed,2is nothing failed but something unchecked,1is a failure. See Install on Windows.
curl -s http://127.0.0.1:8066/v1/credential > identity.json
eqty-notary-verify identity.jsonWhat sits beside the credential
What the credential schema cannot yet express is written next to it instead of being dropped.
On Linux, EQTY_ATTESTATION_DIR/latest/ (default /var/lib/eqty-notary/attestation/latest/)
holds the AK to SK TPM2_Certify pair, the PCR 10 IMA replay chain and the PCR 9 event-log
chain, with ak_pub.bin in the form tpm2_checkquote -u consumes. The identity credential is
also published at /run/eqty-notary/credential.json, mode 0644, for non-root verifiers.
Sample manifests for Linux, a container, macOS, and QEMU guests on Linux and macOS vTPMs are in
the repository’s manifests/ directory.