Skip to content
Almena ID— version v2026-12-beta
Auto
EnglishEN

Key inventory

This annex adds no requirements: it summarizes which keys exist according to what has been decided so far in the other documents, so that decisions can be made with the full picture. If anything here contradicts another document, the other document prevails and this annex is corrected.

The algorithms are specified in cryptography. “Hardware” means the device’s hardware key store, with no possibility of extracting the key; “synchronized” means kept in the platform’s synchronization with end-to-end encryption, to move to a new device or recover (client).

Key How many What for Where it lives Rotates? If lost
Seed 1 per person Source of the relationship keys (SLIP-10 over P-256, hardened only). Holder keys do not come from it. Synchronized with the platform or transferred to a new device; Shamir shares with the guardians if there is social recovery. No. Recovery with the platform’s synchronization, guardians (3 of 5) or BIP39 kit (client).
Device key 1 per device Unlocking the wallet with user verification and authorizing the transfer to a new device. Hardware, on the device. No; it is replaced with the device. The new device creates its own. Nothing else is lost.
Relationship keys (did:peer:4) 2 per relationship: signing (authentication) and a hybrid encryption key ML-KEM-768 + P-256 (keyAgreement) Signing and encrypting the DIDComm messages of that relationship. Derived from the seed and the entity’s did:keri, so they are always the same for each entity. No: the identifier is stable. They are regenerated from the seed.
Holder keys (credential binding, SD-JWT VC cnf) 1 per copy in the batch: 10 per credential Proving in a presentation, with a Key Binding JWT, that the credential belongs to whoever presents it. Hardware, in the device’s secure chip. ML-DSA-65 + ES256 if the chip supports it; ES256 otherwise. Not exportable and never synchronized. Each use requires a fingerprint or PIN. No; new copies are requested from the issuer. The wallet asks the issuer for new copies, with new keys, when changing device or after recovery.
Ephemeral transfer key 1 per transfer Encrypted channel when moving the wallet to a new device, with hybrid key agreement. Memory; discarded when finished. Not applicable. Not applicable.

Example: a person with 10 relationships and 5 credentials in batches of 10 has 1 device key, 20 relationship keys and 50 holder keys on their device. All of this is invisible to them: the wallet manages it on its own.

Derivation of the relationship keys. See cryptography, 5.

Key How many What for Where it lives Rotates? If lost
Manager keys (the entity’s current KEL signing keys) 1 per manager and entity Signing KEL events (adding and removing managers, and the seal of each version of the entity configuration, with its nodes, keys and mediators) with the M-of-N threshold, and the manager’s approvals of the entity’s operations. Hardware, in the manager’s wallet on their device. ES256, because CESR does not yet define ML-DSA (cryptography, 4). Never synchronized, and never on a node or on the console. Yes, with KERI rotation. The other managers remove it with a rotation. If they cannot reach the threshold, the entity recovers with its backup key.
Next keys (pre-rotation) 1 per current key Advance commitment to the keys that will replace the current ones; only their hash is published in the KEL. Hardware, on the same device. They are revealed on rotation and new ones are generated. Same as the current key.
Backup key 1 per entity (it may be removed) Recovering control of the entity when its managers cannot reach the threshold: on its own it allows a recovery rotation, and it signs nothing else (client). On a sheet printed at the entity’s sign-up (24 BIP39 words and a QR code), kept offline; in the KEL, only its hash among the next keys. It is not kept on any device, node or console. ES256. Each use reveals it and replaces it with a new one. The managers replace it with a new sheet through a rotation; if it may have been stolen, at once (incidents, 3).
Manager credential holder key 1 per manager and entity Presenting the manager credential, for example to sign in to the console. Hardware, in the device’s secure chip. No; the entity issues a new credential. The entity issues a new manager credential to the new device.
Entity encryption key (keyAgreement of its DID document) 1 hybrid key (ML-KEM-768 + P-256) per entity node Receiving the encrypted DIDComm messages that holders send it. DIDComm encrypts in two layers: the envelope for the mediator (mediator encryption key) and the content for the entity; each recipient knows which key to use from the kid. Each in the protected key storage of its entity node (HSM or equivalent), listed with M of N in the entity configuration; never shared. The holder encrypts for all of them at once (network, 6.4.1). Yes, with a new version of the configuration. If a node goes down, the others decrypt with their own keys; the lost node’s key is removed with M of N.
Issuing key (iss = did:keri, kid according to the entity configuration) 1 or more Signing the credentials the entity issues, including manager credentials, and what it publishes on the network except its records (directory entry, forms, credential type metadata, revocation lists and incident notices, node, 2.6). ML-DSA-65 + ES256 recommended. In the protected key storage of the entity node, generated at the entity’s sign-up or recovery and authorized with M of N in the entity configuration. Yes. It is removed with M of N and the node generates another. Credentials already issued remain verifiable with the version of the configuration that applied when they were issued.
Record key 1 or more Signing operation records and receipts (network, 7). ML-DSA-65 + ES256 recommended. In the protected key storage of the entity node, like the issuing key. Yes. Same as the issuing key.
Store key 1 or more Encrypting the entity store at rest (network, 6.4). Only on the entity nodes. Yes. Without it the store cannot be read: the entity nodes keep it so that losing one does not lose it.
Console session key 1 per console session Receiving the sign-in presentation and signing the console’s requests to the entity node during the session. Memory of the console; discarded when the session ends. Not applicable. The session ends; the person signs in again.

Keys for daily use. The encryption, issuing and record keys are used automatically and continuously, so they do not go through the managers’ M-of-N signatures on each use. The entity node generates and keeps them in protected key storage: they are generated in the entity’s sign-up flow, both when creating it and when recovering it, and they are authorized and revoked with M of N in the entity configuration (network, 6.4.2). The rotation keys are the managers’ keys and stay in their wallets.

An entity acting as a holder uses its public did:keri, because entities do not need anonymity; it has no pairwise relationship keys. Its credentials (including an authorization token it holds) are bound to its holder key, declared in its configuration (network, 6.4.2), which the entity node keeps in protected key storage, without batches of copies.

Key How many What for Where it lives Rotates? If lost
Node identity key (transferable AID) 1 Signing heartbeats, messages between nodes, storage proofs, evidence, its node directory entry, GET /1.0/info and, on a Mediator Node, its endpoint and push notices. Hardware if the device allows it; otherwise, software, whose files allow recovery by the owner (network, 6.2.1). Yes, with KERI rotation. In software, recovery with the files; in hardware or without them, a new identity.
Next key (pre-rotation) 1 Commitment to the next identity key. Same as the previous one. It is revealed on rotation. Same as the previous one.
Mediator encryption key (Mediator Node only) 1 hybrid key (ML-KEM-768 + P-256) Receiving the DIDComm forwarding messages (forward) sent to it for delivery into mailboxes. It does not allow reading their content. Same as the identity key. Yes. It is rotated; pending messages encrypted with the previous one are lost.
TLS key (if it has its own domain) 1 per domain Public read access over HTTPS. Software, on the node. Yes, according to its certificate. Another certificate is issued. It does not affect the node’s identity.
Transport keys between nodes Ephemeral End-to-end encryption between nodes, also through a Relay Node. Hybrid key agreement recommended; mandatory between nodes of the same entity. Memory. Per session. Not applicable.
Push service credentials (Push Node only) 1 per publisher and platform Sending notices. They belong to the wallet’s publisher, not to Almena ID. Runtime secret. According to the provider. The push module is disabled; the node keeps working.

Almena Trust is one more entity: it has the same keys as any entity (section 2). Since it is the root of trust, it SHOULD use a high M-of-N threshold and managers on separate devices.

None for now.