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

Offline verification: refactor to make it clear no signature checks are happening. #319

Merged
merged 1 commit into from
May 22, 2023

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented May 22, 2023

Summary

  • Rename rekor.VerifyOffline -> Rekor.VerifyInclusion to make it clear that is is not checking the signature content.
  • Require callers to pass in the certificate instead of trying to infer it from the signature to make it more likely that users have verified the commit already.

Fixes #317

Release Note

NONE

Documentation

…re happening.

- Rename rekor.VerifyOffline -> Rekor.VerifyInclusion to make it
  clear that is is not checking the signature content.
- Require callers to pass in the certificate instead of trying to infer
  it from the signature to make it more likely that users have verified
  the commit already.

Signed-off-by: Billy Lynch <billy@chainguard.dev>
@wlynch wlynch merged commit c5a1f43 into sigstore:main May 22, 2023
8 checks passed
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.

Offline verification: verify content checksum
2 participants