Key takeaways
- People sign in with WebAuthn passkeys (ES256 or EdDSA). There are no passwords to leak or reset.
- Sessions are signed by each node's attested key and checked on any node without asking the issuer.
- API keys are scoped to apps, methods, read-only access and a lifetime of up to one year. Only their hash is stored.
What signs a person in?
A person on Calimero Network is an account, and they prove it with a WebAuthn passkey. Each passkey on the account is one of their devices, and an account can hold up to 10. The node verifies registrations and sign-ins itself, for ES256 and EdDSA keys.
Sign-in needs the user to be present. Anything that changes something important needs more. Approving a sensitive method, an upgrade or an organization's deletion is a step-up, and it needs the user verified by PIN or biometric. A touch alone is not consent.
Each ceremony's challenge lives in the memory of the node that issued it for 5 minutes and is used once. It can finish on any node, which fetches the challenge from the issuer over the attested peer channel, so a load balancer can send the two requests anywhere.
How are sessions issued and checked?
A session token is signed by the node that issued it, using that node's signing key. That key is created on the node's first start and stored wrapped under its storage key, so only the same signed release can ever use it. You can check it yourself: it is the key the node attests withGET /attestation?purpose=receipts.
Any other node verifies the token without calling the issuer. It checks the signature against the key it attested for that node, checks the expiry, and checks that the issuer's release is one the account's organizations approved. A node on a release nobody approved will neither issue nor accept the account's sessions.
When a token expires, the client refreshes once on any node and retries. The Rust client, mero-js andmeroctl do this for you.
What can an API key do?
Scripts, services and AI agents can't touch a passkey, so they use API keys. A signed-in account creates one withPOST /auth/apikeys and approves it with a passkey. The key (cal_…) is shown once, and the cluster keeps only its hash.
- apps: only these app instances.
- methods: only these methods.
- readOnly: views, events and reads only.
- allowConfirm: may carry the holder's passkey assertion for a confirm method. It can never produce one.
- ttlSecs: lifetime, at most and by default one year.
Deploying from CI gets its own kind of key. An upgrade key can upgrade one app to a release from its package's signer, and nothing else. It replaces the passkey step-up that a pipeline can't answer.
What happens when someone loses every passkey?
Each account gets recovery codes. Starting recovery with a code and a new passkey puts that passkey on hold for 72 hours. During that window, any passkey already on the account can cancel it. If nobody cancels, the new passkey joins the account and every earlier session and API key is revoked.
Removing a passkey ends that device's sessions too, and the last passkey on an account can't be removed./auth/me shows which passkey each session came from, plus when each was added and last used.
Why does this matter for a confidential backend?
On a typical backend, whoever runs the auth service can mint a token and read as anyone. On Calimero Network, the key that signs sessions lives only inside an attested node running a signed release. An operator can restart nodes, but they can't sign a session, log in as a user or approve a step-up for them.
That's what the backend card on our homepage means by "passkeys and keys": the credentials are checked where the data is, by code you can verify.
Frequently asked questions
Does Calimero Network support passwords?
No. People sign in with WebAuthn passkeys, and machines use scoped API keys. Lost passkeys are replaced through recovery codes with a 72-hour window that existing passkeys can cancel.
Can an operator create a session for a user?
No. Sessions are signed by a key held only inside an attested node running a signed release, and every node checks that signature and the issuer's release before it accepts a token.
How should an AI agent authenticate to a Calimero Network app?
With an API key scoped to the apps and methods it needs, read-only if it only reads, with a short lifetime. An API key can carry a person's passkey confirmation but can never create one.
