Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/docs/ED25519_DEPENDENCY_REVIEW.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / docs / ED25519_DEPENDENCY_REVIEW.md` 43 lines ยท 2307 bytes Raw Blame History Rendered 1 # Binary Artifact Ed25519 dependency review 2 3 Binary Artifact v0 uses the RustCrypto ``ed25519`-dalek` implementation pinned 4 to **2.2.0**. The kernel-facing dependency disables default features and 5 enables only `fast`; this keeps the verifier `no_std` and excludes signing 6 helpers, serialization, and OS integration from the kernel build. Verification 7 uses `VerifyingKey::verify_strict` over the exact 29-byte signature domain 8 followed by the 32-byte ArtifactId. The format does not accept Ed25519ph or 9 Ed25519ctx. 10 11 The exact dependency graph is locked in `Cargo.lock` and all workspace registry 12 dependencies are checked into `vendor/`. `.cargo/config.toml` redirects 13 crates.io to this snapshot so builds do not need registry access. The vendored 14 manifest versions, upstream license declarations, and Cargo checksum metadata 15 are retained. The primary packages in the signature implementation are: 16 17 | Package | Locked version | Declared license | 18 |---|---:|---| 19 | ``ed25519`-dalek` | 2.2.0 | BSD-3-Clause | 20 | `curve25519-dalek` | 4.1.3 | BSD-3-Clause | 21 | ``ed25519`` | 2.2.3 | Apache-2.0 OR MIT | 22 | `sha2` | 0.10.9 | MIT OR Apache-2.0 | 23 | `subtle` | 2.6.1 | BSD-3-Clause | 24 25 The application-side checks are deliberately narrow: the public-key 26 fingerprint must match the selected local trust anchor; `verify_strict` must 27 accept the canonical domain-plus-ArtifactId message; empty production anchors 28 reject every signer; and qualification-only tests reject changed payloads, 29 signature bytes, and signer fingerprints. The deterministic private test seed 30 exists only in test/host qualification code and is never linked into the 31 kernel. The qualification public key is behind the explicit 32 `seed0b-test-anchor` feature, and the boot report labels that image as a test 33 qualification build. 34 35 This is a dependency selection and integration review, not a claim that this 36 repository performed an independent cryptographic implementation audit. Any 37 dependency update requires re-vendoring, lockfile review, the signature test 38 vectors, and offline `aarch64-unknown-none` verification before merge. 39 40 Upstream implementation and feature metadata: 41 42 - 43 -