argone-signing 0.1.1

Sign Argone packages and verify their trust chain (Ed25519 + BLAKE3).
Documentation

argone-signing

Part of Argone, a thin Rust layer over Linux that runs WebAssembly components as first-class OS processes. Applications ship as signed wasm packages distributed through a marketplace.

Signing and trust for Argone packages. Package signing uses a two-level trust chain: a root key countersigns each publisher's key, and the publisher key signs the artifact digest. It is built on ed25519-dalek and blake3, with no system crypto libraries required. The crate provides keypair generation and signing/verification (keys), the countersigning and chain-verification logic plus the portable Envelope wire type (chain), and release-artifact helpers (release), all versioned independently via FORMAT_VERSION.

Usage

use argone_signing::{chain, digest, keys::Keypair};

let root = Keypair::generate();
let publisher = Keypair::generate();

let d = digest(b"app.wasm", b"manifest.mpack", b"release.json");
let envelope = argone_signing::Envelope {
    artifact_sig: publisher.sign(&d).to_vec(),
    publisher_pubkey: publisher.public().to_vec(),
    root_countersig: chain::countersign(&root, &publisher.public()).to_vec(),
};

assert!(chain::verify_chain(&root.public(), &envelope, &d).is_ok());

In the Argone stack

argone-signing is the single implementation of Argone's publish/install trust chain, reused by the marketplace server (verifying a publish) and by installing clients (re-verifying before trusting an artifact) so that both sides agree on the exact same bytes and rules.

License

Dual-licensed under Apache-2.0 or MIT.