Node
almena-node (id.almena.node) is the node of the Almena ID platform. It implements the node specification of v2026-12-beta.
Status: early development, before the first release. The binary has its command-line and terminal interfaces; the node itself lands as the implementation of the specification progresses.
A single Rust binary (edition 2024, Rust 1.88 or newer) with two ways to operate it:
- a CLI built with clap, for scripting and automation;
- a TUI built with ratatui, for interactive use, with sections for status, identity, peers and settings.
almena-node # open the terminal UI (default)almena-node info # print version and languagealmena-node --lang es info # use SpanishThe language comes from --lang, then ALMENA_LANG, then the system locale, falling back to English.
Platform
Section titled “Platform”| Platform | Minimum version | Architecture |
|---|---|---|
| macOS | macOS 27 | Apple Silicon only (aarch64-apple-darwin) |
Linux, Windows and containers are out of scope for now. macOS-only APIs stay in isolated modules, because Linux servers are a likely next target. Running as a background service will use launchd.
Meeting the specification on a Mac
Section titled “Meeting the specification on a Mac”| Concern | Decision |
|---|---|
| Availability (network) | The node holds a power assertion so the Mac does not sleep while it runs, and warns the operator otherwise. |
| Resources (network) | The node checks free disk and measured upload at start and refuses custody if below the minimums. |
| Reachability (network) | Macs behind NAT use relays as the specification describes; direct exposure is optional configuration. |
| Clock (node) | macOS’s time service is not enough for the clock requirements, so the node runs its own NTS client. |
| Protected key storage (key inventory) | Secure Enclave through the Keychain where the algorithm allows it; otherwise an encrypted software store. |
| Networking (node) | rust-libp2p for the peer-to-peer layer. |
All specification parameters live in a single configuration module, so that a change of specification version does not touch the logic.
Order of work
Section titled “Order of work”- The base node, then the protocol between nodes.
- One complementary function (not decided yet).
- The entity node.
Open decisions
Section titled “Open decisions”- Post-quantum keys in the Secure Enclave. Whether the algorithms the specification asks for can be kept in the Secure Enclave is to be confirmed before implementing key storage.
- First complementary function. Not decided yet.