Skip to content

oci: ensure_config: get raw config via get_descriptor - #98

Merged
cgwalters merged 1 commit into
composefs:mainfrom
jeckersb:config-via-descriptor
Apr 7, 2025
Merged

cgwalters merged 1 commit into
composefs:mainfrom
jeckersb:config-via-descriptor

Conversation

@jeckersb

@jeckersb jeckersb commented Apr 7, 2025

Copy link
Copy Markdown
Collaborator

fetch_config_raw may reorder map keys in the config json, which
means the sha256sum of the config does not match what is expected from
the image manifest.

Resolves: #91

Signed-off-by: John Eckersberg [email protected]

`fetch_config_raw` may reorder map keys in the config json, which
means the sha256sum of the config does not match what is expected from
the image manifest.

Resolves: composefs#91

Signed-off-by: John Eckersberg <[email protected]>

@cgwalters cgwalters left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Probably we should change fetch_config_raw in the proxy to do this by default.

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.

Error: Unable to pull container image docker://alpine

2 participants