Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Extract data from .bindl-lock.yaml #55

Open
wilsonehusin opened this issue Apr 12, 2022 · 0 comments
Open

Extract data from .bindl-lock.yaml #55

wilsonehusin opened this issue Apr 12, 2022 · 0 comments
Labels
ux Ensures a good time when using the product

Comments

@wilsonehusin
Copy link
Member

I would like a command (e.g. bindl export) to extract data available in .bindl-lock.yaml to a file or STDOUT. This would help users to independently verify signatures that we store in .bindl-lock.yaml.

Roughly speaking, how do we make it easy to do a workflow like (not verbatim) the following:

❯ bindl get goreleaser
❯ bindl export goreleaser.cosign[0].artifact > goreleaser-checksums.txt
❯ bindl export goreleaser.cosign[0].certificate > goreleaser-checksums.txt.pem
❯ bindl export goreleaser.cosign[0].signature > goreleaser-checksums.txt.sig
❯ cosign verify-blob goreleaser-checksums.txt \
    --signature goreleaser-checksums.txt.sig \
    --cert goreleaser-checksums.txt.pem
@wilsonehusin wilsonehusin added the ux Ensures a good time when using the product label Apr 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ux Ensures a good time when using the product
Projects
None yet
Development

No branches or pull requests

1 participant