Skip to content

alta attest ​

For publishers and reviewers: signs a statement that names the chart's id, version and tree digest; writes <id>-<version>.<type>.intoto.json.

Usage ​

text
alta attest <dir|archive> --key <private key file> [--type publish|review] [--audit <status>] [--tier <tier>] [--out <file>] [--json]

Arguments ​

NameDescription
`dirarchive`required

Options ​

NameTypeDefaultDescription
--keystringDefault: ALTA_SIGNING_KEY_FILEThe file of your Ed25519 private key (PEM), readable by you only. Never the key itself.
--typestringDefault: publishpublish: you publish these files. review: you reviewed them (needs --audit and --tier).
--auditstringreview: the audit status, pass, review, warn, malicious, pending or error.
--tierstringreview: official, verified or community.
--outstringDefault: <id>-<version>.<type>.intoto.jsonWhere to write the attestation (never inside the chart folder: it would change the digest).
--jsonflagPrint the result (alta.attest/1) as JSON.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

Sign what you publish

Terminal
sh
alta attest my-agent --key ~/.config/alta/keys/publisher.key

Reaches the repository's address (the only commands that use the network): it prints what it fetched and checked.

Alta OS is open source (MIT).