Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-toto record functionality #69

Closed
shibumi opened this issue Aug 20, 2020 · 2 comments
Closed

In-toto record functionality #69

shibumi opened this issue Aug 20, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@shibumi
Copy link
Collaborator

shibumi commented Aug 20, 2020

Please fill in the fields below to submit an issue or feature request. The
more information that is provided, the better.

Description of issue or feature request:
Most of the run functionality has been fulfilled by #56, what is missing is record functionality for in-toto.
Record functionality is explained here: https://github.com/in-toto/in-toto#in-toto-record

in-toto-record works similar to in-toto-run but can be used for multi-part software supply chain steps, i.e. steps that are not carried out by a single command. Use in-toto-record start ... to create a preliminary link file that only records the materials, then run the commands of that step or edit files manually and finally use in-toto-record stop ... to record the products and generate the actual link metadata file. For a detailed list of all command line arguments and their usage, run in-toto-record start --help or in-toto-record stop --help, or look at the online documentation.

The difference to the python implementation is, that we do not want a cli for in-toto-golang. The functionality should be implemented as library with RecordStart and RecordStop methods.

Current behavior:
No record functionality

Expected behavior:
In-toto-golang should support record functionality for satisfying the in-toto specification.

@shibumi shibumi added the enhancement New feature or request label Jan 15, 2021
@mikhailswift
Copy link
Member

This is implemented with #119

@adityasaky
Copy link
Member

Thanks for your work, @mikhailswift!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants