Install on macOS
Install the Secure Enclave-backed .pkg, configure the launchd job, verify it, and update or remove it.
On macOS the notary runs as a launchd system daemon with its keys in the Secure Enclave. No kernel configuration is needed. You need:
- A Mac with Apple silicon or a T2 chip. The package is built for the architecture it was built on; releases are arm64.
- An admin account.
1. Install
From the .pkg attached to the
vcomp-notary-desktop release:
sudo installer -pkg eqty-notary-{{VERSION}}-macos-arm64.pkg -target /The package lays down:
| Path | What |
|---|---|
/usr/local/bin/eqty-notary | The daemon |
/usr/local/bin/eqty-notaryctl | The command line |
/Library/LaunchDaemons/com.eqty.notary.plist | The launchd job |
/var/run/eqty-notary/ | The Unix socket; recreated each boot |
/var/log/eqty-notary/ | eqty-notary.log and .err, plus the per-process audit logs |
/var/lib/eqty-notary/ | State: attestation, vTPM state, mode 0700 |
Its preinstall script boots out any previous instance so upgrades replace cleanly, and
postinstall bootstraps the job with RunAtLoad and KeepAlive. The daemon runs as root:
only root sees every PID in proc_listallpids, which the observer needs.
Persistent Secure Enclave keys are wrapped blobs in the System keychain, readable only by code matching the daemon’s designated requirement. The release package is signed with EQTY’s Developer ID, so its keys survive upgrades.
2. Verify
# the job and the environment it sees
sudo launchctl print system/com.eqty.notary | grep -A20 environment
# the listeners came up
log show --predicate 'process == "eqty-notary"' --last 5m | grep "listener up"
# ready: the notary's own credential exists
curl -s http://127.0.0.1:8066/v1/isReady
# the socket exists
ls -l /var/run/eqty-notary/eqty-notary.sockIf isReady stays pending, the startup attestation did not complete. Look for
SK provenance skipped in /var/log/eqty-notary/eqty-notary.err.
3. Configure
The daemon reads its configuration from the process environment once, at startup. Under launchd
that is the plist’s EnvironmentVariables dictionary; there is no drop-in layer as with systemd.
The package sets EQTY_AUTO_REGISTER=1, as the Linux package does.
To change a setting on an installed host, edit the plist and reload the job:
sudo vi /Library/LaunchDaemons/com.eqty.notary.plist
sudo launchctl bootout system /Library/LaunchDaemons/com.eqty.notary.plist
sudo launchctl bootstrap system /Library/LaunchDaemons/com.eqty.notary.plistOr with plutil, for example to require registration:
P=/Library/LaunchDaemons/com.eqty.notary.plist
sudo plutil -replace EnvironmentVariables.EQTY_AUTO_REGISTER -string 0 "$P"
sudo launchctl bootout system/com.eqty.notary
while sudo launchctl print system/com.eqty.notary >/dev/null 2>&1; do sleep 1; done
sudo launchctl bootstrap system "$P"The while line waits until launchd has unloaded the old daemon. Without it, bootstrap can
fail with Bootstrap failed: 5: Input/output error.
Upgrading the package replaces the plist, so repeat any edits after an upgrade. The full list of
variables is on the Configuration page. EQTY_TPM_TCTI,
EQTY_KEY_GUARDIAN_URL, EQTY_VTPM_PCRS and the key-guard settings have no effect on macOS.
What the notary issues here
The macOS notary is Secure Enclave-backed and has no attestation key: there is no TPM to quote.
Its identity credential is a VCompSecureEnclaveV1 carrying the daemon binary’s CID and a
host-reported code identity (CDHash, team ID, signing ID, hardened runtime, SIP status). Apple
does not attest Secure Enclave keys for daemons, so this root is self-reported. See
Credentials.
Update
Install the newer package over the old one. preinstall boots the old instance out and
postinstall re-bootstraps. Keys and state under /var/lib/eqty-notary and in the System
keychain persist, so registered binaries keep their DIDs.
sudo installer -pkg eqty-notary-{{VERSION}}-macos-arm64.pkg -target /Uninstall
sudo launchctl bootout system /Library/LaunchDaemons/com.eqty.notary.plist
sudo rm /Library/LaunchDaemons/com.eqty.notary.plist /usr/local/bin/eqty-notary /usr/local/bin/eqty-notaryctl
sudo rm -rf /var/run/eqty-notary /var/log/eqty-notary
sudo pkgutil --forget com.eqty.notaryTo remove the keys and state too, which destroys every notary key and DID on this Mac, also run
sudo eqty-notary --wipe-keys before deleting the binary, then sudo rm -rf /var/lib/eqty-notary.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
/v1/isReady stays pending, /v1/credential is 503 | The startup attestation did not complete. Check eqty-notary.err for SK provenance skipped. |
/v1/sign returns 403 | The caller is not tracked: its binary was not registered, or it was already running before registration. With auto-registration off, register it and start a fresh process. |
| The process credential shows the daemon’s details, not the caller’s | The daemon must be root to read another process’s environment. The packaged job is. |
| Tracked child PIDs vanish | A known kqueue NOTE_TRACK quirk; see macos/QUIRKS.md in the repository. |
| Environment changes did not take | launchd reads the environment at process start only. bootout then bootstrap. |
| The daemon exits at startup | Both EQTY_DISABLE_UDS and EQTY_DISABLE_TCP are set. Leave at least one listener on. |
OSStatus -25293 in the log | A differently signed daemon is trying to use keys another signature created. See the note above. |