Skip to content
This repository was archived by the owner on Nov 19, 2026. It is now read-only.
This repository was archived by the owner on Nov 19, 2026. It is now read-only.

zstd:chunked binary footer format is broken #1886

Closed

Description

@mtrmac

Since eedd976 , AFAICS the ReadFooterDataFromBlob code path when parsing zstd:chunked metadata always fails, because it does not set ChecksumAnnotation, causing a failure when validating the manifest.

@giuseppe the binary footer seems to be unused in practice. Can we eliminate it altogether, and simplify the code?

Activity

  1. giuseppe commented on Apr 15, 2024

    @giuseppe
    Member

    @giuseppe the binary footer seems to be unused in practice. Can we eliminate it altogether, and simplify the code?

    what do you think if we leave the information in the file itself, but do not use in practice to pull images?

    At least a layer file is self-contained and we able to retrieve the TOC, if necessary

  2. mtrmac commented on Apr 15, 2024

    @mtrmac
    CollaboratorAuthor

    Making the footer write-only works for me. I’ll prepare a PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions