Skip to content

Use UnparsedInstance.Manifest instead of ImageSource.GetManifest#2335

Merged
openshift-merge-bot[bot] merged 2 commits into
containers:mainfrom
mtrmac:enforce-digests
Mar 3, 2025
Merged

Use UnparsedInstance.Manifest instead of ImageSource.GetManifest#2335
openshift-merge-bot[bot] merged 2 commits into
containers:mainfrom
mtrmac:enforce-digests

Conversation

@mtrmac

@mtrmac mtrmac commented Feb 28, 2025

Copy link
Copy Markdown
Contributor

... to validate that the manifests match expected digests, if any.

Do this everywhere, even where we read local storage which is mostly trusted, because it is cheap enough and being consistent makes it less likely for the code to be copied into other contexts shere the sources are not trusted.

... to validate that the manifests match expected digests, if any.

Do this everywhere, even where we read local storage which is
mostly trusted, because it is cheap enough and being consistent
makes it less likely for the code to be copied into other
contexts where the sources are not trusted.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
The underlying implementation does not do anything, so purely
for consistency.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@rhatdan

rhatdan commented Mar 1, 2025

Copy link
Copy Markdown
Member

LGTM

@Luap99 Luap99 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci

openshift-ci Bot commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99, mtrmac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot Bot merged commit de1bf04 into containers:main Mar 3, 2025
@mtrmac mtrmac deleted the enforce-digests branch March 3, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants