EQTY LabDocs

Desktop Notary

A hardware-backed signing daemon for desktops and servers. One key per binary, held in a TPM or the Secure Enclave, and signatures only for the process that is running it.

View as Markdown

The EQTY Desktop Notary is a daemon that holds a signing key per binary in the machine’s hardware root of trust and signs on behalf of the processes running those binaries. A signature from it answers one question: which executable made this request, on which machine.

A signature from DID(H) identifies the main executable, with content hash H, associated with the process that opened the connection.

Everything in the daemon exists to keep that statement true: the hardware key seal, the kernel-attested observation of exec, and the re-hash of the live binary at exec time and again at signing time. The Security page spells out what the statement does not cover.

The notary serves the same HTTP API as the EQTY Notary inside a confidential VM, so the EQTY SDK drives it unmodified.

How it works

  1. A binary is registered, by path or by hash. The notary mints a P-256 key for its BLAKE3 hash in the TPM or Secure Enclave, and tells the kernel-side observer to watch for it. With auto-registration, which the packages turn on, this step happens on a binary’s first call.
  2. When a process execs a registered binary, the observer reports it. The notary re-hashes the live executable, and if it matches, tracks the PID and opens a per-process audit log.
  3. The process calls POST /v1/sign. The notary resolves the caller’s PID from the connection, checks it is tracked, re-reads its start time and re-hashes its live binary, then signs with that binary’s key. Anything else gets 403.
  4. The same binary on the same machine always resolves to the same key, and so the same DID, across daemon restarts.
mermaid
sequenceDiagram
    participant A as Registered binary
    participant N as Notary
    participant K as Kernel
    participant T as TPM / Secure Enclave
    A->>K: exec
    K-->>N: exec event (inode matches)
    N->>N: re-hash /proc/pid/exe, track PID
    A->>N: POST /v1/sign {data}
    N->>N: caller PID tracked? start time unchanged? live hash unchanged?
    N->>T: sign with the binary's key
    T-->>N: signature
    N-->>A: {signature, did, binary_hash}

What you get

PropertyLinuxmacOSWindows
Hardware-backed keysTPM 2.0Secure EnclaveTPM 2.0 through the Platform Crypto Provider
Per-binary identityBLAKE3 hash of the file, as a did:keySameSame
Process attributionKernel-attested peer PID on the Unix socket; 4-tuple lookup on loopback TCPSameLoopback TCP only
Process observereBPF: exec, fork, exit, open, closekqueue: exec, fork, exitETW: exec, exit
Hardware identityTPM quote over the IMA log, AK certified by an EQTY Key GuardianSecure Enclave key, host-reported code identityTPM quote with the TCG boot log, EK certificate
Audit trailPer-PID JSONL log with explicit loss countersSame, fewer event typesSame, fewer event types

Confidentiality of the signed payload is not a goal: the notary signs what it is given.

The pieces

PieceWhat it doesMore
Daemoneqty-notary: an HTTP API over a Unix socket and loopback TCP, run by systemd, launchd or the Windows service manager.Install
KeystoreMints and loads per-binary keys in the TPM or Secure Enclave. Blobs on disk are sealed to the chip and useless elsewhere.Security
ObserverWatches for execs of registered binaries and writes the per-process audit log.Audit Log
CredentialsW3C Verifiable Credentials for the notary’s own identity and for each process it signs for, with the hardware evidence inline.Credentials
vTPMsSoftware TPMs whose state the host root seals and whose IAK is a hardware key, for VMs and containers.Notary-backed vTPM
Command lineeqty-notaryctl registers binaries and manages vTPMs.Command Line

Get started

  1. Install the notary on Linux, macOS or Windows.
  2. Sign your first payload with the Quick Start.
  3. Point the EQTY SDK at it: Sign with the EQTY SDK.
  4. See how a signature traces back to the hardware on each platform: Chain of Trust.

The reference pages, the command line, the HTTP API, configuration, the audit log, credentials and the trust model, are under Advanced Topics.

To let web agents sign their actions in Firefox or Chrome with keys anchored to this notary, see Browser Notary. To give a VM a TPM rooted in this machine, see Notary-backed vTPM. To run Docker containers on a Mac against such a TPM, see Docker on macOS.