treeship-core
Cryptographic engine powering the Treeship supply-chain attestation system.
What it does
treeship-core provides the foundational cryptographic primitives used across the Treeship stack:
- Ed25519 signing and verification for artifact attestations
- DSSE (Dead Simple Signing Envelope) encoding and decoding
- Merkle tree construction and proof generation
- Statement types for in-toto and Treeship-native attestation formats
This crate is used directly by the Treeship CLI and compiled to WebAssembly for browser-side verification.
Installation
Add to your Cargo.toml:
[]
= "0.1"
Or install from source:
Usage
use Ed25519Signer;
use Envelope;
let signer = generate;
let envelope = sign?;
Documentation
Full API reference and guides: docs.treeship.dev
Repository
github.com/nicholasgriffintn/treeship
License
See LICENSE in the repository root.