Skip to content

Binary vyrn admin

Amp edited this page Nov 18, 2026 · 1 revision

vyrn-admin

bin/vyrn-admin · binary-only package (spec 11 §1.3) · the operator tool

Purpose

The operator's command-line tool. 11 §1.3 gives it six jobs: config check, deploy, keys, epoch control, trace dump and release verify. On main it implements one of them: release verify, which checks a release bundle offline before it is staged (11 §9.5, deploy/release/MANIFEST.md format 1).

Spec sections it implements

  • 11 §9.5 (signing and release artifacts): vyrn-admin release verify
  • BLD_RELEASE_SIGS = 2 (11 local definitions): the number of trusted signatures a release needs

Commands on main

Command What it does
vyrn-admin release verify <dir> --keys <FILE> Parses manifest.toml (format 1, unknown fields rejected). Checks that at least 2 trusted Ed25519 keys signed it, and checks every listed file hash. Rejects unlisted files, non-regular files and paths outside the bundle
vyrn-admin release verify <dir> --unsigned Checks hashes only and reports the bundle as UNSIGNED ("CI and DEV; boxes never accept it")

Main public items (src/release.rs)

Item Role
verify(dir, keys) The whole check. Returns Verified or an error string
Verified tag, commit, files, and the signers key ids (empty with --unsigned)
BLD_RELEASE_SIGS 2

Status on main (a9f0d61)

Implemented (partial)

  • release verify is implemented. The other five jobs of 11 §1.3 (config check, deploy, keys, epoch control, trace dump) have no subcommand. The crate doc and Cargo.toml description still name all six.
  • 11 §5.3 expects vyrn-admin config check to verify the Rust/Vx client split across the cluster. That command does not exist yet.
  • Tests: 10 #[test] in tests/release_verify.rs. They cover two valid signatures, a tampered file, one signature, a signature over another manifest, an untrusted signer, an unlisted file, unsigned mode, an unknown format or field, a path outside the bundle, and one key trusted under two ids.

Depends on

Crates
Code (Cargo.toml) vyrn-types, vyrn-crypto, clap, serde, toml
11 §1.3 Names jobs, not crates

Links

Clone this wiki locally