You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
I would also suggest using the self-explanatory --output <path> argument in the recommended command. Without it, I'm left wondering what happens to the input and where the signature goes.
The text was updated successfully, but these errors were encountered:
What about in-toto-sign --help? It does discuss your question in a few places, e.g.:
* write signed metadata to a specified path. If no output path is specified,
+ layout metadata is written to the path of the input file,
+ link metadata is written to '<name>.<keyid prefix>.link'.
or
-o <path>, --output <path>
path to location where the metadata file is stored after signing. If not passed, layout
metadata is written to the path of the input file and link metadata is written to
'<name>.<keyid prefix>.link'
and also in EXAMPLE USAGE
Sign 'unsigned.layout' with two keys and write it to 'root.layout'.
in-toto-sign -f unsigned.layout -k priv_key1 priv_key2 -o root.layout
Replace signature in link file and write to default filename, i.e.
'package.<priv_key keyid prefix>.link'.
in-toto-sign -f package.2f89b927.link -k priv_key
Oh, never mind what I just wrote. I got confused by @adityasaky's comment. @nealmcb isn't reporting an issue with in-toto-sign, but rather with the layout web tool. I suggest we transfer the issue to the corresponding repo.
Description of issue or feature request:
The web layout tool generates a suggested
in-toto-sign
command at the end:in-toto-sign --key <PROJECT-OWNER> --file <PROJECT-OWNER> <YOUR LAYOUT>.layout
Filling in the blanks leads to an error.
Current behavior:
Expected behavior:
Successful signature generated.
I'm using in-toto-sign 1.2.0
I would also suggest using the self-explanatory
--output <path>
argument in the recommended command. Without it, I'm left wondering what happens to the input and where the signature goes.The text was updated successfully, but these errors were encountered: