Expand description
Ed25519 release provenance with artifact and SBOM digest verification.
Structsยง
- Sign
Attestation Request - Inputs required to create one signed release provenance statement.
Constantsยง
- PROVENANCE_
SCHEMA - Stable release provenance schema.
Functionsยง
- app_
contract_ set_ sha256 - Hashes canonical app manifests and declarative contract sources in stable path order.
- file_
sha256 ๐ - Returns a SHA-256 digest for one bounded regular file.
- generate_
private_ key - Generates a new PKCS#8 Ed25519 private key for operator-controlled storage.
- hex_
decode ๐ - Decodes strict even-length hexadecimal.
- hex_
encode ๐ - Encodes bytes as lowercase hexadecimal without invoking an external tool.
- public_
key_ from_ private - Derives the raw Ed25519 public key that operators distribute as the verification trust anchor.
- sign_
attestation - Signs artifact, source, dependency, toolchain, configuration, contract, and SBOM identity.
- verify_
attestation - Verifies an Ed25519 attestation and the current artifact and SBOM digests.