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

TUF: Add root status output #1404

Merged
merged 1 commit into from
Feb 5, 2022
Merged

TUF: Add root status output #1404

merged 1 commit into from
Feb 5, 2022

Conversation

asraa
Copy link
Contributor

@asraa asraa commented Feb 4, 2022

Signed-off-by: Asra Ali [email protected]

Summary

Add structured output describing the TUF root, for example:

$ rm -r $HOME/.sigstore && ./cosign initialize
Root status: 
 {
	"local": "/home/asraa/.sigstore/root",
	"remote": "sigstore-tuf-root",
	"expiration": {
		"root.json": "11 May 22 19:09 UTC",
		"snapshot.json": "15 Feb 22 00:39 UTC",
		"targets.json": "11 May 22 19:10 UTC",
		"timestamp.json": "15 Feb 22 00:39 UTC"
	},
	"targets": [
		"rekor.pub",
		"artifact.pub",
		"ctfe.pub",
		"fulcio.crt.pem",
		"fulcio_v1.crt.pem"
	]
}

Ticket Link

Fixes #1297

Release Note

* Adds TUF root status with expiration and repository locations to output of `cosign initialize`

Signed-off-by: Asra Ali <[email protected]>
@dlorenc dlorenc merged commit f3a07cf into sigstore:main Feb 5, 2022
@github-actions github-actions bot added this to the v1.6.0 milestone Feb 5, 2022
hatmarch pushed a commit to hatmarch/cosign that referenced this pull request Apr 19, 2022
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
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

Successfully merging this pull request may close these issues.

TUF: Root status output
2 participants