Documentation
¶
Overview ¶
Package releasesig verifies that a release's checksums file carries a valid Sigstore (cosign keyless) signature from this project's GitHub release workflow, and looks artifacts up in that signed file. The server checks it before mirroring an agent release; agents check it before replacing their own binary, so a compromised server cannot push them a binary GitHub never built.
Index ¶
Constants ¶
View Source
const ( // Issuer is GitHub Actions' OIDC issuer Issuer = "https://token.actions.githubusercontent.com" // SANRegex pins the signing identity to this repository's release workflow on a // version tag SANRegex = `^https://github\.com/osshield/fallbck/\.github/workflows/release\.yml@refs/tags/v[0-9]+\.[0-9]+\.[0-9]+.*$` )
Variables ¶
This section is empty.
Functions ¶
func ChecksumFor ¶
ChecksumFor finds name in a goreleaser checksums file ("<sha256> <name>" lines)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.