Debian Codegraph @

doc/in-toto_record.md

raw
1 ## in-toto record
2
3 Creates a signed link metadata file in two steps, in order to provide
4 evidence for supply chain steps that cannot be carried out by a single command
5
6 ### Synopsis
7
8 Creates a signed link metadata file in two steps, in order to provide
9 evidence for supply chain steps that cannot be carried out by a single command
10 (for which ‘in-toto-run’ should be used). It returns a non-zero value on
11 failure and zero otherwise.
12
13 ### Options
14
15 ```
16 -c, --cert string Path to a PEM formatted certificate that corresponds
17 with the provided key.
18 -e, --exclude stringArray Path patterns to match paths that should not be recorded as
19 ‘materials’ or ‘products’. Passed patterns override patterns defined
20 in environment variables or config files. See Config docs for details.
21 --follow-symlink-dirs Follow symlinked directories to their targets. Note: this parameter
22 toggles following linked directories only, linked files are always
23 recorded independently of this parameter.
24 -h, --help help for record
25 -k, --key string Path to a private key file to sign the resulting link metadata.
26 The keyid prefix is used as an infix for the link metadata filename,
27 i.e. ‘<name>.<keyid prefix>.link’. See ‘–key-type’ for available
28 formats. Passing one of ‘–key’ or ‘–gpg’ is required.
29 -l, --lstrip-paths stringArray Path prefixes used to left-strip artifact paths before storing
30 them to the resulting link metadata. If multiple prefixes
31 are specified, only a single prefix can match the path of
32 any artifact and that is then left-stripped. All prefixes
33 are checked to ensure none of them are a left substring
34 of another.
35 -d, --metadata-directory string Directory to store link metadata (default "./")
36 -n, --name string Name for the resulting link metadata file.
37 It is also used to associate the link with a step defined
38 in an in-toto layout.
39 --normalize-line-endings Enable line normalization in order to support different
40 operating systems. It is done by replacing all line separators
41 with a new line character.
42 --spiffe-workload-api-path string UDS path for SPIFFE workload API
43 --use-dsse Create metadata using DSSE instead of the legacy signature wrapper.
44 ```
45
46 ### SEE ALSO
47
48 * [in-toto](in-toto.md) - Framework to secure integrity of software supply chains
49 * [in-toto record start](in-toto_record_start.md) - Creates a preliminary link file recording the paths and hashes of the
50 passed materials and signs it with the passed functionary’s key.
51 * [in-toto record stop](in-toto_record_stop.md) - Records and adds the paths and hashes of the passed products to the link metadata file and updates the signature.
52