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

task: Add logic in API to upload Policies and retrieve by gitoid #168

Closed
Tracked by #158
kairoaraujo opened this issue Jan 23, 2024 · 1 comment
Closed
Tracked by #158
Assignees
Milestone

Comments

@kairoaraujo
Copy link
Collaborator

kairoaraujo commented Jan 23, 2024

While Archivista API receives a JSON body with a DSSE envelope, it can verify and add if it is a policy.

The Policy can be identified by the PaylodType as described in Archivista Policy Schema (https://witness.testifysec.com/policy). It doesn't conflict with [ITE-5]
(https://github.com/in-toto/ITE/blob/master/ITE/5/README.adoc#pseudocode-for-in-totos-reference-implementation).

The Policy can be retrieved by the API (/v1/download/<gitoid>)

Parent feature:

@kairoaraujo kairoaraujo changed the title task: Add logic in API to upload Policies task: Add logic in API to upload Policies and retrieve by gitoid Jan 26, 2024
@kairoaraujo kairoaraujo self-assigned this Apr 11, 2024
@kairoaraujo kairoaraujo added this to the feat: Policy + TUF milestone Apr 11, 2024
@kairoaraujo
Copy link
Collaborator Author

Closed by #234

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

No branches or pull requests

1 participant