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

BREAKING: Remove non-GA APIs from sign-blob verification #2425

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

asraa
Copy link
Contributor

@asraa asraa commented Nov 8, 2022

Signed-off-by: Asra Ali asraa@google.com

Fixes #2419

Requires users to provide a bundle or a certificate and signature so that we can recreate the Rekor entry and not search by payload hash using the non-GA Rekor endpoint.

Summary

Release Note

  • verify-blob: Removes the use of a non-GA API from sign-blob. Users are required to provide a --bundle OR both the --signature and --certificate/--key to the verify-blob command.

Documentation

Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAY

Copy link
Contributor

@znewman01 znewman01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love to see it:
Screen Shot 2022-11-08 at 2 03 03 PM

lint failure is shockingly actually related to the change for once

Signed-off-by: Asra Ali <asraa@google.com>

remove code

Signed-off-by: Asra Ali <asraa@google.com>
@asraa asraa merged commit ce5ba1c into sigstore:main Nov 9, 2022
@github-actions github-actions bot added this to the v1.14.0 milestone Nov 9, 2022
cmurphy added a commit to cmurphy/cosign that referenced this pull request May 20, 2024
The bug that this test was meant to address[1] applies to a feature that
was removed from cosign[2]. The updates made to the script to allow for
the breaking changes actually make the test invalid, because while it
was once verifying the original artifact signature, the final
verification step is now actually verifying against the uploaded rekor
entry, so the original signature is inconsequential.

[1] sigstore#1673
[2] sigstore#2425
cmurphy added a commit to cmurphy/cosign that referenced this pull request May 20, 2024
The bug that this test was meant to address[1] applies to a feature that
was removed from cosign[2]. The updates made to the script to allow for
the breaking changes actually make the test invalid, because while it
was once verifying the original artifact signature, the final
verification step is now actually verifying against the uploaded rekor
entry, so the original signature is inconsequential.

[1] sigstore#1673
[2] sigstore#2425

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
cmurphy added a commit to cmurphy/cosign that referenced this pull request May 20, 2024
The bug that this test was meant to address[1] applies to a feature that
was removed from cosign[2]. The updates made to the script to allow for
the breaking changes actually make the test invalid, because while it
was once verifying the original artifact signature, the final
verification step is now actually verifying against the uploaded rekor
entry, so the original signature is inconsequential.

[1] sigstore#1673
[2] sigstore#2425

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
haydentherapper pushed a commit that referenced this pull request May 20, 2024
The bug that this test was meant to address[1] applies to a feature that
was removed from cosign[2]. The updates made to the script to allow for
the breaking changes actually make the test invalid, because while it
was once verifying the original artifact signature, the final
verification step is now actually verifying against the uploaded rekor
entry, so the original signature is inconsequential.

[1] #1673
[2] #2425

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
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.

Remove non-GA APIs from experimental sign-blob verification flow
4 participants