Skip to content

How to verify signature of tenv GH release assets #212

Answered by kieran-lowe
kieran-lowe asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @dvaumoron !

Just one change I had to make where you have refs/heads/v2.6.0:

- refs/heads/v2.6.0
+ refs/tags/v2.6.0

meaning the command would be:

cosign \
    verify-blob \
    --certificate-identity "https://github.com/tofuutils/tenv/.github/workflows/release.yml@refs/tags/v2.6.0" \
    --signature "tenv_v2.6.0_checksums.txt.sig" \
    --certificate "tenv_v2.6.0_checksums.txt.pem" \
    --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
    "tenv_v2.6.0_checksums.txt"

And I get a Verified OK back 👍

Could be worth adding this to your documentation? You could even expand for those using the .gpgsign option too?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kieran-lowe
Comment options

Answer selected by kieran-lowe
@dvaumoron
Comment options

@kieran-lowe
Comment options

@kvendingoldo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants