Skip to content
Almena Network— version v2026-12-beta
Auto
English

Vision and scope

To reach a fully operational platform in which its members can work by exchanging as little data as possible, limiting its visibility, or making it visible and usable only by the entities they authorize.

Everything else in these specifications serves this purpose.

What the platform guarantees and what it does not

Section titled “What the platform guarantees and what it does not”

Almena is decentralized: each entity governs and manages itself. The platform provides the tools for the purpose and principles to be met (protocols, formats, proofs without exposure, traceable records), but it cannot ensure that each entity uses them properly or fully. An entity that misuses them or uses them incompletely may, for example, ask for more data than necessary or keep copies it should not.

That is why the specifications distinguish between:

  • What the protocol enforces and any participant can check (signatures, formats, token binding, records).
  • What depends on each entity’s conduct and remains its responsibility, including keeping its mailboxes operational.

When a guarantee depends on the entity’s conduct, the specification SHOULD say so explicitly, so that nobody mistakes it for a guarantee of the platform.

To provide trust without imposing control, the platform will have a verification entity. It is one more entity, with its public DID, whose role is to issue attestations about other entities: for example, that the entity presenting itself as “Example Bank” really is who it claims to be.

These attestations are verifiable credentials published on the network, linked to the KEL of the verified entity (network, 2). A wallet or an entity can therefore decide whether to trust another by checking its attestations, without anyone having to intervene in real time.

The verification entity provides trust about who an entity is; it does not guarantee its later conduct (see the previous section).

Root of trust. At the start there will be a single verification entity, called Almena Trust. It is the platform’s root of trust: the first degree of trust and the most trusted entity possible. Its public DID is the starting point from which any participant can chain trust in the other entities.

In the future there may be more verification entities. When there are, their recognition will derive from Almena Trust. In v2026-12-beta only Almena Trust exists.

What Almena Trust verifies. Almena is a gateway for verified interconnection and communication: it guarantees who you are talking to, not what each entity does with its data.

  • It verifies the entity’s legal identity (commercial register or tax identifier) and that it controls its web domain.
  • It does not verify how an entity produces its credentials or how it checks the information it issues. That is up to each entity and the rules that apply to it.
  • It revokes its attestation, with its own revocation list on the network, only if the identity data was false, if the entity ceases to exist or if the entity commits fraud against the network itself (for example, a duplicity in its records or in its KEL).
  • Misuse of data by an entity is not arbitrated by Almena: it is a matter between the person and the entity, and for the competent authorities.

At the request of developers, Almena Trust also issues conformance credentials for node and wallet implementations (see conformance).

Almena Trust is not a central point. It only verifies certain entities and does nothing else: it does not see or store user data, it does not take part in exchanges and the network works without it. That is why it is not an exception to decentralization (P4), and the design leaves room for more verifiers.

Almena is a decentralized, open-source platform. In its first stage it is an identity platform.

The network is formed by nodes, which contribute resources and provide services, without a central authority. Persons access the network through wallets, and entities are managed from the entity console; both are Almena’s clients.

Almena is defined by its specifications, named Almena Network, not by a particular implementation. No implementation has any privilege over others. Anyone can build a node or a wallet, in the language and technology they prefer, and it will be part of Almena if it meets these specifications.

Today people’s data is replicated in the systems of every company they deal with. Each copy is an attack point: security breaches at companies that expose their customers’ data are constant. The more copies exist, the larger the attack surface and the smaller the owner’s control over their data.

Almena proposes the opposite: data is not replicated. Each participant owns their data and keeps it. When another participant needs to check something, they are shown a verifiable credential instead of being handed a copy of the data to store.

Almena thus acts as a gateway for communicating data through verifiable credentials. No entity manages the data of all users.

Four principles define the platform and take precedence over any other (see principles):

  1. Traceability. Relevant operations are recorded on the network so they can be proven later.
  2. Anonymity. Nobody outside a pairwise relationship can link data to the holder. To achieve this, the person uses a different pairwise identifier in each relationship. Entities do not need anonymity: their DID document is public.
  3. Security. Data stays under its owner’s control and is not replicated.
  4. Verify without exposing. Whenever possible, something is proven without revealing the data behind it.
  • Natural persons. They are the users in the colloquial sense. They keep in their wallet the data they obtain as they deal with the platform’s entities.
  • Entities. Organizations that, besides owning their data, act as data providers for people.

Formally, both natural persons and entities are Almena users. In the documents, unless stated otherwise, “user” refers to a natural person.

The same participant can have several roles at once:

Role What it does Who can have it
Holder Holds data about itself and presents it when it wants. Persons and entities
Verifier Requests data from another participant and checks that it is valid. Persons and entities
Issuer Issues data about another participant (for example, an accreditation). Some entities
Entity verifier Issues attestations about other entities (identity, requirements met). It is a particular case of issuer. Almena Trust (and future verification entities)

The platform MUST provide all the tools for any entity to issue verifiable credentials (and authorization tokens), not just a few privileged ones. Almena Trust is one more issuer that uses those same tools; what sets it apart is the trust placed in it, not a different mechanism.

Two planes are distinguished:

  • The tools: formats, issuance and verification protocols, credential types, signatures. This is what these specifications define.
  • Their use: which credentials each entity issues, to whom and under what rules. This belongs to each entity’s implementation and operation, and is its responsibility.
  • The node holds the network and is part of it. It is the way to contribute resources to the network (disk, bandwidth, availability). It has some base functions (custody, public read access to the network) and MAY enable one complementary function: mediator, archive, push or relay (see network, 6). Rewards are left for the future (see network, 9).
  • The wallet (mobile) lets the person deal with the network as far as signing and messaging are concerned, and stores the data it obtains from entities. It is only for persons.
  • The entity console (desktop) lets an entity’s managers manage it. It is stateless: a person signs in with a QR code from their wallet, and the console works through the entity’s nodes (client).
Almena at a glance: who takes part and what passes between them
  • An entity is a logical element of the platform: an identity (its DID) with its managing users, its relationships and its credentials.
  • A node is a physical element of the network: running software that contributes resources. It is run by an operator, which may be an entity, a person or any organization.
  • Node and entity are decoupled. A node does not belong to an entity: it offers the services its operator configures. Persons and entities receive their messages at mediators randomly assigned to them when they sign up.
  • Entity node. Every entity has at least one entity node: a node bound to it, with M-of-N authorization in its KEL, that acts on its behalf. It keeps its keys for daily use and is the only way into its entity store, where its decrypted messages and data live; the node may be the store itself or access one under the entity’s control. None of that goes to the network. It does not change the node’s identity and has nothing to do with what it contributes to the network (network, 6.4).

Mediator assignment. At sign-up, each person and each entity is assigned 3 Mediator Nodes at random from all those available. In v2026-12-beta they are not changed by choice; one is only replaced automatically if it disappears. Nobody needs to run a node of their own. An entity’s mediators are declared with signed authorizations of the KERI mailbox role and discovered through OOBI; a person’s are only sent to the other party inside each relationship (first message and mailbox-change) (network, 6.1).

  • The logical and the physical. The platform’s information (public DID documents, records) lives on the network and does not depend on a particular node. Other resources, such as messaging mailboxes, are physical: they exist on a particular node and depend on that node being operational. That is why each person and each entity is assigned 3 mediators, and the wallet or the entity node automatically replaces any that disappears (network, 6.1).

Each participant has its own identity, based on decentralized identifiers (DIDs), but those of persons and entities are handled differently:

Entities Natural persons
Identifier Its own stable DID. A different pairwise DID for each relationship.
DID document Public. Anyone can look it up; there is no problem with that. Private. It is exchanged only between the participants in the relationship. It is never published on the network.

An entity does not act alone: it is managed by users (natural persons) who sign, each with their own key, the operations they perform on the entity’s behalf. Each operation of an entity is thus attributed to whoever signed it, which provides traceability.

Manager keys. Each manager has, on each of their mobile devices, their own key for the entity in the hardware store of their wallet, which is never synchronized. These are the entity’s KERI rotation keys: they never go to a node or to the console. Each entity configures its approval flow (a single manager or joint signatures, with the number it decides). The M-of-N threshold uses weights so that each manager counts as a single vote, and adding a device requires another manager’s approval. If a manager loses a device, the others remove its key; an offline backup key is also recommended (client).

Management from the entity console. An entity is managed from the entity console, a stateless desktop client. A manager signs in with a QR code from their wallet, presenting the manager credential the entity issued them; their account is their identity in their wallet. From the console, entities are created (onboarding), forms are designed and published, managers and nodes are administered and operations are prepared. Every approval is signed by the manager in their wallet, and the entity requires an M-of-N threshold through KERI (see 5.2). No centralized resource or management database is needed (see client).

Physical security keys (FIDO2): out of v2026-12-beta. A FIDO2 key cannot sign credentials, messages or KERI events, and recovery and manager authorization are already solved without them. They remain a future improvement.

Participants communicate through DIDComm v2, using mediators: each party receives at its own (see 2.4):

  1. When an entity and a person establish their pairwise relationship, the wallet opens a mailbox for that relationship at its own mediators, and the entity receives at its own.
  2. The entity leaves messages for the person in the person’s mailbox, and the person collects them with their wallet. The person leaves messages for the entity at the entity’s mediators.
  3. The wallet does not need to be always connected or to expose an address of its own: it collects and leaves messages whenever it wants.

A wallet therefore communicates with its own mediators to receive and with each entity’s mediators to deliver.

(The full network model, with availability, custody and persistence tiers, is in network.)

The network stores no personal data. It stores:

  • The public DID documents of entities.
  • The record of certain signed operations, so that there is traceability and they can be proven.

The record is signed by the entity and contains no personal data or pairwise identifiers in the clear; the person receives a receipt with which they can prove it. The operations that are recorded and their codes are in network, 7.1.1.

Almena distinguishes three ways of sharing a piece of data, from most to least exposed:

Level What the verifier receives Example
1. Full credential The data, signed by the issuer. Certificate of account ownership required by a regulatory procedure.
2. Selective disclosure Only the necessary attributes of a credential. The holder’s name, without the rest of the certificate.
3. Proof or token without the data Proof of a fact or a permission, without the data. “Is of legal age”; the charge authorization token of UC-01.

Level 1 exists because regulation requires it in certain procedures. Almena’s goal is for level 3 to be the norm.

Almena is decentralized and can serve the whole world. That imposes requirements that affect all components:

  • Multilingual only in presentation. The platform’s default language is English. Protocols, messages, data, identifiers and error codes are defined in English and are language-independent. Multilingual support only affects the presentation layer of applications (a wallet’s interface or a node’s administration interface), which MAY translate what it shows the user. All codes travel in English and each application translates them when presenting them.

  • Reliable time. Traceability depends on all timestamps being comparable. No node can be out of sync with real time, whatever its time zone or its daylight saving time. That is why all platform timestamps MUST be expressed in UTC, never in local time, and nodes MUST keep their clock synchronized with a reliable time source. Local time only exists in the presentation to the user.

  • Self-sufficiency. The platform is self-sufficient: it does not depend on external resources (third-party public networks, public blockchains, third-party cloud services), at least initially. Everything it needs is contributed by its own nodes.

    Accepted friction with reliable time. Real time (UTC) comes, by definition, from outside: atomic clocks, GNSS or time servers. That dependency is accepted, limited to the time reference: each node uses NTS against at least 3 sources and nodes compare their clocks with each other to detect those that drift (network, 6.2.3).

    Accepted friction: push notifications. Waking up a mobile wallet requires the operating system’s notification service. This dependency is accepted, limited to an empty “you have messages” notice sent by each wallet’s push service, not by the network. See interface, 7.

An illustrative scenario, with fictitious names, of what a small part of the network could look like on any given day. It shows the different kinds of node, the two clients and how they relate, in four diagrams.

A day in the Almena universe (1/4): mailboxes and notices
A day in the Almena universe (2/4): what persons do with entities
A day in the Almena universe (3/4): how entities work
A day in the Almena universe (4/4): what reaches the network
What you see What it shows
Ana, Luis, Marta and Bea Persons with the wallet on their phone. Marta and Bea are also managers of an entity: they sign in to its console with a QR code and approve from their own wallet. Luis uses his wallet on two devices.
Corner Bookshop A small entity: a laptop with the console and a single entity node in the back office, which cannot receive connections from the internet and goes out through a Relay Node. It receives payment tokens and redeems them at the bank.
Northbank A large entity: several consoles and two entity nodes sharing an entity store, so that it does not stop if one fails. It issues account credentials and payment tokens.
Riverside City Council An entity whose node is also a Mediator Node for anyone: being an entity node and contributing to the network are independent.
Almena Trust Verifies the identity of entities and publishes their identity credential. It takes no part in the exchanges.
Mediator, Archive, Push and Relay Nodes Run by very different operators (a hosting company, a volunteer, a university, an internet provider, a wallet publisher). Each one has at most one complementary function.
Base nodes Volunteers and a cooperative that only contribute custody and public read access. The bank’s records end up on them, not on the bank’s own nodes.

Arrows between persons and entities are messages, which always travel encrypted through their mediators. Ana’s mediators are chosen at random and are not run by any of the entities she deals with, and the records of each entity are kept by nodes unrelated to it.

  1. Data sovereignty. Each user owns their data and decides with whom to share it. No participant concentrates the data of others.
  2. Independent implementations. A team can build a wallet without knowing the node’s internals, and vice versa.
  3. Interoperability. Any conformant wallet works with any conformant node.
  4. No central point of control. No participant is indispensable for the network to work.
  5. Open specifications. The documents are public and can be implemented without asking for permission.

4. Scope of the first version (v2026-12-beta)

Section titled “4. Scope of the first version (v2026-12-beta)”

Scope frozen. The scope of v2026-12-beta is what is already documented in these specifications: it is enough. The task now is to complete it without expanding it, specifying each part with the minimum that works (P1). The only later expansion, decided the same day: the decoupling of node and entity, with resource metering. Rewards and the resource market were taken out of v2026-12-beta.

In scope:

  • Entity–person relationships, and the entity–entity relationships needed for the reference use case UC-01 (redeeming an authorization token). Relationships between persons are left for later versions.
  • Operations on the entity–person relationship:
    • Issuance: the person requests a verifiable credential and the entity (as issuer) issues it.
    • Verification: the person presents a credential and the entity (as verifier) checks it, at the entity’s request or on the person’s initiative.
  • Both follow the same flow (see 4.1).
  • Authorization token (UC-01): issuance by an entity, at the person’s request, of a personal, non-transferable token for another entity; its redemption between entities, its expiry, auto-renewal and revocation.
  • Nodes as resource contribution: one type per node (base Almena Node, or Mediator, Archive, Push or Relay Node) and verifiable metering of the contributed resources. Rewards, fees and the resource market are left for the future (network, 9 and 10).
  • Common framework: vision, principles, glossary and conventions.
  • High-level architecture: what a node is, what the clients (wallet and entity console) are and how they relate.
  • Node–client contract: how they communicate, with which messages and which errors.
  • Minimum requirements for a node, a wallet and an entity console to be conformant.

Out of scope (for now):

  • Reference implementations (they will go in a separate project).
  • Communication between nodes beyond what is required by the network model, records and the entity–entity relationships of UC-01.
  • Network governance and economic models: rewards, fees, resource market and paid persistence tiers.
  • Performance and scalability optimizations.
  • Any functionality not already covered in these documents.

Issuance and verification follow the same flow: form → signed request → acknowledgement → response. In both cases a holder (person or entity) proves something to an entity; only the consequence changes:

Issuance Verification
What the entity does Asserts something new of which it is the source Only checks credentials from others
What it responds A credential, or a rejection A result: accepted or rejected
What remains The credential in the holder’s wallet Nothing but the record; the entity SHOULD NOT keep a copy

Each exchange starts from a form that the entity publishes and versions on the network (see protocols).

Specifying a single flow reduces the work and guarantees that both operations behave the same in what they share (identification, signing, errors, record).

Scope rule: a new idea that is not already covered is noted for a future version, but does not enter v2026-12-beta.

Almena publishes its own standard: these specifications, together with the vocabularies and types it defines (for example, credential types and their presentation translations), will be public, accessible and reusable by anyone, inside or outside the platform.

The Almena standard is above all a profile of existing standards: it chooses, combines and restricts what is already defined, and only specifies something of its own when there is no suitable alternative.

Whenever possible, standards already defined by the major bodies are used, with a preference for W3C (DID, Verifiable Credentials) and the Decentralized Identity Foundation (DIDComm v2), as well as those of the IETF (RFC 3339, BCP 47, etc.).

Identifiers:

  • Entities: KERI (Key Event Receipt Infrastructure), exposed as did:keri. Each entity, including Almena Trust, has a self-certifying identifier (AID) and a chained, signed key event log (KEL). It provides:
    • Pre-rotation: the entity commits in advance to the next key, so that theft of the current key does not allow taking control.
    • M-of-N multi-signature threshold: several keys from several managers (keys in the hardware store of each manager’s wallet) control the identity.
    • Protection against a quantum computer: since the next keys are only published as a digest, a quantum computer cannot deduce them and take control of the identity.
    • Witnesses: network nodes that receive, sign and store the KEL. In Almena, witnesses are custodian nodes.
    • Watchers and duplicity detection: whoever observes the KEL detects whether an entity presents two different histories.
  • Persons (pairwise): did:peer:4. The DID document is exchanged only between the two parties, as F2 requires, and is native to DIDComm v2.
  • KERI is used only for identifiers and key management. Credentials remain SD-JWT VC and messaging DIDComm v2. Discarded: ACDC, KERI’s native credential format.

Known frictions.

  • CESR: KERI uses its own encoding (CESR), different from JOSE/JWT, which is the one used by SD-JWT VC and DIDComm. Both have to coexist.
  • Exposure as a DID: the AID is expressed as did:keri. did:webs is discarded because it depends on DNS. Since did:keri is still a draft, Almena will fix its profile in its own standard.
  • P-256: support for P-256 (ECDSA secp256r1) in CESR and in libraries must be confirmed, because it is the ES256 curve and the one supported by devices’ hardware key stores. CESR already defines codes for ML-DSA keys and signatures.

Credential format:

  • SD-JWT VC signed with ES256 (curve P-256), compatible with devices’ secure storage, or with the composite ML-DSA-65 + ES256 signature according to cryptography, 4. It covers exposure levels 1 and 2 (full credential and selective disclosure).
  • Predicates (level 3) through boolean claims precomputed by the issuer (for example age_over_18, in the style of mDLs).
  • Unlinkability through batches of single-use credentials: the wallet uses a different credential in each presentation.
  • BBS signatures: future evolution. The current version keeps batches of copies. BBS would make presentations unlinkable even if the issuer and the verifier collude, and would remove the need for batches. It is not adopted yet because its standard is not final and devices’ secure hardware does not support it today. It SHOULD be reconsidered when both conditions change (P9). BBS is also not post-quantum: its proofs keep their privacy even against a quantum computer, but its signatures could be forged, so it could only be adopted together with a post-quantum signature.
  • IETF SD-JWT VC, not the W3C VC 2.0 model. Credentials use the media type application/dc+sd-jwt. The iss claim is the issuer’s did:keri and the kid identifies a key that is current according to its KEL.
  • Holder binding. A person’s credential is bound to a holder key specific to each copy (cnf), not to the relationship’s did:peer. It is issued in batches of 10 single-use copies and presented with a Key Binding JWT with the verifier’s nonce and audience. The keys live in the device’s secure chip and are not synchronized (client). An entity’s credential is bound to a key of its did:keri, without batches, and a manager credential is issued in a single copy per device.
  • Type metadata (vct). Each credential type publishes its metadata: schema and presentation texts in several languages. They solve presentation translations and fit with forms. The metadata of the types defined by Almena (entity identity credential and conformance credential) are part of its published standard. Each entity defines and publishes on the network its own types and forms (it provisions itself); their content is its own business (P10).
  • Revocation. IETF Token Status List is used. The list is published as network content (k custodians, locatable through the DHT), signed with the entity’s issuing key. Each credential carries in status the reference to its list and its position. Whoever verifies queries it at any node, without the entity knowing which credential is being checked.

Justified exception to P7. P7 prefers the standards of major bodies such as W3C. The IETF one is chosen because it is simpler, does not need JSON-LD and is aligned with eIDAS 2 (ARF). It is an open standard, so the divergence is only one of body.

Cryptography. Algorithms, encryption, signatures, key derivation and the transition to post-quantum cryptography are specified in cryptography. In short: encryption is already hybrid (ML-KEM-768 + P-256), because data encrypted today could be decrypted by a future quantum computer; signatures move gradually from ES256 to the composite ML-DSA-65 + ES256.

Almena relies on existing standards when they fit, but common sense prevails. There may be design decisions that do not comply with a particular rule, and that is acceptable if it is justified.

What is not acceptable is to diverge without knowing it. That is why each specification SHOULD identify points of friction or conflict with the relevant regulations, in particular:

  • GDPR (General Data Protection Regulation).
  • eIDAS 2 and the European framework of the European Digital Identity Wallet. A foreseeable point of friction: the EUDI Wallet relies on OpenID4VCI/OpenID4VP for issuance and presentation, while Almena uses DIDComm v2.

Each friction detected is documented, stating what the regulation says, what Almena decides and why, in regulatory frictions.

  • Node developers: they build the software that forms the network.
  • Client developers: they build the wallets with which people use the network and the consoles with which entities are managed.
  • Node operators: they deploy and maintain nodes. (Their documentation is not a priority in v2026-12-beta.)

None for now.