Aller au contenu
En Markdown

alta verify ​

Recomputes the tree digest, checks it is the one an attestation signed and who signed it (offline); prints the chart's risk level; exit 1 if not verified.

Les descriptions et les sorties sont en anglais, comme la CLI.

Usage ​

text
alta verify <chart folder | archive | index.json> [--attestation <file>] [--key <public key file> | --repo <name>] [--json]

Arguments ​

NomDescription
pathrequisA chart folder, an archive of alta package, or an index.json (then its index.json.sig is checked).

Options ​

NomTypeDéfautDescription
--attestationstringDéfaut: <id>-<version>.publish.intoto.json next to it, or hereThe attestation file (a DSSE envelope).
--keystringA file holding the Ed25519 public key to trust (32 bytes in base64, or a PEM "PUBLIC KEY").
--repostringTrust the keys a repository added here gives: its publishers' keys (a revoked key is refused) and the key given to alta repo add.
--jsonflagPrint the result (alta.verify/1) as JSON.

Codes de sortie ​

NomDescription
0ok
1problèmes trouvés
2mauvais usage
3pas dans cette version

Exemples ​

Check a chart against its publisher's key

Terminal
sh
alta verify reading-log --key quiet-lab.pub

Contacte l'adresse du dépôt (les seules commandes qui utilisent le réseau) : affiche ce qu'elle a récupéré et vérifié.

Against the keys of a repository added here

Terminal
sh
alta verify reading-log-0.2.0.alta.tar --repo community

Contacte l'adresse du dépôt (les seules commandes qui utilisent le réseau) : affiche ce qu'elle a récupéré et vérifié.

Alta OS est libre (MIT).