-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support GitHub attestation endpoint (#2195)
* Pass in auth method to sigstore container verification Instead of hardcoding a single token-based authentication, let's pass a slice of authMethods the called wants to be used. The verifier will pick an available verification method based on the authentication method provided by the caller. Related: stacklok/epics#174 * Support GitHub attestation endpoint In addition to fetching provenance attestations from an OCI image, let's also support the GitHub attestation endpoint as a fallback (a fallback since it's not GA yet). The attestation reply is unmarshalled into a protobuf representation and passed to sigstore-go. Fixes: stacklok/epics#174 * Handle no auth token provided Related: stacklok/epics#174 * go mod tidy
- Loading branch information
Showing
7 changed files
with
275 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.