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

Remove img field from sigLayer #1042

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Conversation

priyawadhwa
Copy link
Contributor

We can use the already available Layer to get the payload, so we shouldn't need the img field. The only thing we lose is that we no longer call img.LayerByDigest so if the descriptor digest is invalid or doesn't match then we don't catch that anymore.

We can use the layer to get the payload, so we shouldn't need this field. The only thing we lose is that if the descriptor digest is wrong we don't catch that anymore.

Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
@priyawadhwa priyawadhwa merged commit 3e43108 into sigstore:main Nov 15, 2021
@priyawadhwa priyawadhwa deleted the remote-layer branch November 15, 2021 16:15
@github-actions github-actions bot added this to the v1.4.0 milestone Nov 15, 2021
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.

None yet

3 participants