Skip to content

Conversation

@tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Nov 5, 2025

ResolveImageConfig was changed to ResolveSourceMetadata long time
ago for cross-source implementation but the worker implementation
was still using old method name with conversions.

Additionally, move Platform from main Opt struct to ImageOpt and OCIOpt structures as it is only meaningful for these types and keeping them in main struct would mean whole struct needs to be passed to the underlying source implementation.

@tonistiigi
Copy link
Member Author

Added support for resolving attestationchain into the same PR as it already leaked to the previous commit. In extra commit, I removed reporting the bytes for image manifest. It is a bit inconsistent like this as other blobs report their content, but image manifest data is not really needed to verify the signed attestation chain.

@tonistiigi tonistiigi requested a review from crazy-max November 5, 2025 18:11
@tonistiigi tonistiigi marked this pull request as ready for review November 5, 2025 18:11
ResolveImageConfig was changed to ResolveSourceMetadata long time
ago for cross-source implementation but the worker implementation
was still using old method name with conversions.

Signed-off-by: Tonis Tiigi <[email protected]>
Attestation chain can be used by the client to verify
signature identity of the image.

Signed-off-by: Tonis Tiigi <[email protected]>
Image manifest content is not needed for signature verification as
the verification is against the top index root. Still report
image manifest digest for more info about the reported attestation
subject but clients need to re-resolve it from the root manifest
for signature verification.

Signed-off-by: Tonis Tiigi <[email protected]>
@tonistiigi tonistiigi force-pushed the image-source-metadata branch from bb22687 to 2fc7854 Compare November 5, 2025 22:16
@tonistiigi tonistiigi merged commit 4ab3e37 into moby:master Nov 5, 2025
122 of 131 checks passed
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.

2 participants