LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

in-toto-sign

adds cryptographic signatures to in-toto metadata files

TLDR

Sign a link file
$ in-toto-sign -k [key.pem] -f [link_file]
copy
Sign layout file
$ in-toto-sign -k [key] -f [root.layout]
copy
Append signature to existing signatures
$ in-toto-sign -k [key] -f [file] -a
copy
Output signed metadata to a specific file
$ in-toto-sign -k [key] -f [input] -o [output]
copy
Verify signatures on a metadata file
$ in-toto-sign --verify -k [key.pub] -f [file]
copy
Sign with a GPG key
$ in-toto-sign -g [gpg_keyid] -f [file]
copy

SYNOPSIS

in-toto-sign [options]

DESCRIPTION

in-toto-sign adds cryptographic signatures to in-toto metadata files. It signs both link files from build steps and layout files that define supply chain policies.Multiple signatures can be added for multi-party verification. The tool supports GPG and PEM key formats.

PARAMETERS

-k KEY

Private signing key file.
-f FILE
File to sign (link or layout).
-a, --append
Append signature instead of replacing.
-o OUTPUT
Output file path.
-g [KEYID ...]
GPG keyids used to sign or verify
--gpg-home PATH
GPG home directory path
--verify
Verify signatures instead of signing
-v
Verbose output
-q
Quiet output
--version
Show version information
--help
Display help information

CAVEATS

Part of in-toto framework. Requires compatible key format. Signatures must match verification keys.

HISTORY

in-toto-sign is part of in-toto, developed at NYU Secure Systems Lab for supply chain integrity verification.

SEE ALSO

Copied to clipboard
Kai