Skip to content

Clarification about reproducibility of release tarballs #31141

@basilgello

Description

@basilgello

Dear @vbassmatt

Looking at 8aa87b1 I see an ambiguity that needs to be resolved.

On the page you write:

If you rely on stability of archives for security (for example: to ensure you don't attempt to unzip a maliciously-crafted file), we recommend using releases instead of using source downloads.

At the same time:

Source code archives are generated on request, cached for a while, and then deleted. If the same archive is requested again in the future, it'll be regenerated. It's important to understand what guarantees GitHub makes about source code archives.

So - if a distro maintainer uses release tarball as a base for reproducible build, will this tarball remain bit-by-bit identical over the years?
If the release tarballs are stored intact, the documentation should be rephrased to reflect that.

Otherwise, we will habe to fix Debian Wiki https://wiki.debian.org/Creating%20signed%20GitHub%20releases because Debian assumes the tarball is immutable after release / signing.

Best way to avoid such ambiguities would be to document which archive types are stored and which are regenerated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions