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

deps: upgrade oci-distribution to v0.12.0 #665

Merged

Conversation

burgerdev
Copy link
Contributor

This release contains a security fix for confidential pulling of unsigned images: oras-project/rust-oci-client#152.

The upgrade is not trivial, because the crate has been renamed (oras-project/rust-oci-client#142) and there are breaking changes:

Thus, I converted all annotation values from HashMap to BTreeMap, worked around the sigstore::registry::Auth conversion not being implemented for the new crate, and am now passing the stream wrapped by SizedStream.

@Xynnn007
Copy link
Member

@burgerdev Thanks for the patch!

@burgerdev
Copy link
Contributor Author

I'll hold onto the formatting fix until the other tests ran through.

This release contains a security fix for confidential pulling of
unsigned images. The crate has been renamed to oci-client, and the API
had some breaking changes (annotation map type changed, blob stream type
changed).

Signed-off-by: Markus Rudy <webmaster@burgerdev.de>
Copy link
Member

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

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

LGTM

@Xynnn007 Xynnn007 merged commit 8bef307 into confidential-containers:main Aug 15, 2024
15 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.

3 participants