shape-runtime 0.3.2

Bytecode compiler, builtins, and runtime infrastructure for Shape
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Cryptographic utilities for module signing and trust verification.
//!
//! This module provides Ed25519 digital signatures for content-addressed module
//! manifests and a keychain-based trust model for verifying module authors.

pub mod keychain;
pub mod signing;

pub use keychain::{Keychain, TrustLevel, TrustedAuthor, VerifyResult};
pub use signing::{
    ModuleSignatureData, generate_keypair, generate_keypair_bytes, public_key_from_secret,
    sign_manifest_hash,
};