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

image-rs: update cosign signature verification unit test #658

Merged

Conversation

Xynnn007
Copy link
Member

@Xynnn007 Xynnn007 commented Aug 8, 2024

This commit deletes a duplicated unit case for cosign signature scheme.

Also, the original cosign signed test image is based on busybox, thus a successfully pulling for that image (busybox) via nydus-snapshotter would cause another pulling with policy preventing the image successful. This is because of some logic inside nydus-snapshotter.

To handle this, we update the signed image to be a different one from busybox. Separately we will fix this on the snapshotter side.

cc @stevenhorsman

This commit deletes a duplicated unit case for cosign signature scheme.

Also, the original cosign signed test image is based on busybox, thus a
successfully pulling for that image (busybox) via nydus-snapshotter
would cause another pulling with policy preventing the image successful.
This is because of some logic inside nydus-snapshotter.

To handle this, we update the signed image to be a different one from
busybox. Separately we will fix this on the snapshotter side.

Signed-off-by: Xynnn007 <[email protected]>
@Xynnn007 Xynnn007 force-pushed the fix-cosign-image-test-image branch from 0caa821 to 127c00f Compare August 8, 2024 10:27
@Xynnn007 Xynnn007 marked this pull request as ready for review August 9, 2024 02:38
Copy link
Member

@arronwy arronwy left a comment

Choose a reason for hiding this comment

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

Thanks @Xynnn007 LGTM!

@arronwy arronwy merged commit 04be400 into confidential-containers:main Aug 9, 2024
7 checks passed
@Xynnn007 Xynnn007 deleted the fix-cosign-image-test-image branch August 9, 2024 02:42
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.

2 participants