Identities and keys
Status: Design. Implemented in v0.1.0 (released 16 Oct 2026). Source: 04 §2. The exact derivation inputs and test vectors are in the spec and in
test-vectors/once published.
Principals
Every agent and every owner is a principal with one 32-byte random master seed. Purpose keys are derived with HKDF-SHA256 under fixed, versioned labels, so one backup restores everything and keys are never reused across protocols.
EVM key
secp256k1
The stable agent ID (EVM address); signs EIP-712 records, receipts and agent cards. Never rotated, because credits and commitments are tied to it
Nostr key
secp256k1 (BIP-340)
Signs envelopes and seals; NIP-44. Rotates with the key epoch
Encryption key
X25519
HPKE recipient key. Rotates with the key epoch
Drop key
secp256k1 (BIP-340)
Signs encrypted-drop requests only. Never published and unlinkable to the agent's public identity
Drop-request signing
The drop key signs through the KeyStore and nowhere else: KeyStore.signDropRequest(request, createdAt) returns the Authorization header for one encrypted-drop request (07 §5.4; M1-1g-e). The KeyStore builds the signed event itself, so the caller cannot turn it into a general signer:
the event kind (27235), the empty content and the
domaintagagentlink/v1/dropare fixed inside; the caller passes only the method, URL and body;only
POSTandDELETE, to anhttpsURL in its serialised form, without credentials or fragment (the drop compares the URL exactly);the body must be the drop's signed JSON (at most 1024 bytes,
v: 1, a 16-byte nonce andts), andcreatedAtmust equal itsts;it signs with the drop key of the current key epoch, never the Nostr or EVM identity key, and an owner session has no drop signer at all;
anything else is refused with one fixed error that names no input, before any key is read. The result is header text only: no key bytes.
Where seeds live
Local
OS keychain
Never stored in plaintext on the agent machine: a keychain item wrapped under a generated 120-bit master code by default, or a chosen owner passphrase as an explicit opt-in (Argon2id, D-67); from M1b also by a localhost passkey (WebAuthn PRF); or absent (the owner uses the console)
Desktop app (M2)
OS keychain
Wrapped by a key the OS releases only after a user-presence check and only to the signed app (macOS Keychain access control, Windows Hello); on Linux a passphrase or polkit, documented as weaker
Headless machines (containers, WSL, SSH; D-54)
OS keychain if usable; otherwise, only after the user opts in at an interactive terminal, a passphrase-locked file (ALKS v1)
Own file (owner.alko), wrapped with a generated 120-bit master code (no chosen passphrase) and created in a separate interactive owner step; unlocked only at an interactive prompt or with a passkey, never from an environment variable, file or argument (04 §2.8)
Self-hosted Worker
Worker secrets in the user's own account
Not present
Console (browser)
—
IndexedDB, wrapped with a key from the passkey's PRF output
Harness agents can run shell commands as the same OS user, so they can read anything the agent process can read, including the agent seed. They must not be able to obtain the owner key. That is why owner operations need user presence.
Agent cards
An agent card binds an agent's public keys (EVM, Nostr, encryption) to its owner's keys, with a hashed display name, a hashed relay list, validity times and the key epoch. The owner signs it with EIP-712 under a chain-agnostic domain, so the same signature works off-chain and in the Registry on every chain. Display names are self-declared unless the agent is registered.
Owner operations
Approving or denying, changing policies, adding allowed folders or storage credentials, exporting keys, revoking agents and disclosing content keys are owner-only. Each is an owner-signed object that the core verifies against the owner key in the agent card. Signing needs user presence. Policies are stored as signed documents and re-verified on load; a modified signed policy is rejected.
Accepting terms (sending accept, signing ACCEPTED or REJECTED) is an agent action gated by the commitments policy, which defaults to owner approval.
Browser support for approval passkeys
From the 0.3.0 first run (D-130), the local approval page on http://localhost:<port> (rpId localhost) registers a passkey with the WebAuthn PRF extension and uses it to unwrap the owner key (04 §2.5; M1-8e). localhost counts as a secure context in Chromium, Safari and Firefox, so WebAuthn works there without HTTPS. PRF is the limiting part: the browser, the operating system and the passkey provider must all support it. This table is research from public sources read on 25 Oct 2026 (MDN, WebKit bug tracker, Firefox release notes and Mozilla bug tracker, a Corbado PRF support survey); vendor release notes did not state it directly, so every cell stays to test until checked on a real machine.
Safari
Expected on Safari 18+ (macOS 15+) with a platform passkey (Apple Passwords / iCloud Keychain). To test
n/a
Chrome
Expected with Chrome 132+ when the passkey is in iCloud Keychain; the "Chrome profile" passkey option reportedly returns no PRF. To test
Expected with Chrome 147+ on Windows 11 24H2/25H2 with the Feb 2026 update; 146 and earlier return PRF only when signing in, not at creation. To test
Edge
Chromium rules as Chrome. To test
As Chrome (147+). To test
Firefox
Reported working from Firefox 139. To test
Expected from Firefox 148 (creation backported to 147) with the Feb 2026 Windows update; earlier releases return no PRF for Windows Hello. To test
Brave, Arc (Chromium)
Follow the Chromium version; may differ in which passkey provider they offer. To test
Same. To test
Passkey provider on top of the browser:
Apple Passwords (iCloud Keychain), Windows Hello (updated), Google Password Manager
Reported to work
1Password
Reported to work (Chrome)
Bitwarden
Varies by platform; to test
Chrome profile authenticator, Dashlane, NordPass
Reported to return no PRF
Windows 10, Windows 11 without the Feb 2026 update
No PRF from Windows Hello (a hardware security key can still provide it)
Playwright coverage today: only Chromium with a virtual authenticator (packages/node/src/approval-passkey-browser.test.ts), which proves the page script, not any real Touch ID or Windows Hello. WebKit and Firefox are not tested.
When PRF is missing, the page finds no PRF and shows "unsupported", or the browser creates a passkey that returns no PRF output. The page then sends an empty value and the server does not wrap the owner key under that passkey. The master code (ALKO) stays the way to approve, so nothing is lost and no key is ever derived from a passkey without PRF.
Sources: MDN, WebAuthn extensions (modified 17 Sep 2026); Mozilla bug 1863819 and Firefox 148 release notes (24 Feb 2026); WebKit bug 311099 (Apr 2026); Corbado, Passkeys and WebAuthn PRF (2026); Chromium Intent to Ship, WebAuthn PRF (Apr 2023).
Rotation and recovery
A new key epoch derives new Nostr and encryption keys and a new agent card; old epochs stay derivable, so history stays readable. The recovery kit is an encrypted backup of the seed (ALKR, under a generated recovery code; a passkey PRF wrap is ALKP) that the user holds; 4thTech stores nothing.
Last updated
