Idea: keep every release's SHA256SUMS and signature after the release is deleted #42

Closed
opened 2026-12-05 17:22:16 +00:00 by llun · 2 comments
Member

The idea

Keep every published release's SHA256SUMS and SHA256SUMS.sig for good, even after the release itself is deleted. For example, release.py publish could commit them to a small repository (<product>/<tag>/SHA256SUMS{,.sig}), or attach them to a long-lived release.

Why

CI deletes nightlies once five newer ones exist, and build artifacts expire after 7 days. When a player says "the nightly I installed last week infected my PC" (LongshotLauncher issue 379), we can only check the five nightlies still up. For anything older there is no record of which files we shipped, so we can neither clear them nor find out what was wrong.

The two files are under 1 KB per release, and they are signed, so a copy kept anywhere can be trusted. With a record:

  • anyone can check an old download against it with release.py verify;
  • it shows if a file was ever published under a tag twice.

Done when

Every Longshot and launcher release, nightly or stable, leaves its SHA256SUMS and signature somewhere that is never pruned, and RELEASING.md says where and how to check an old file against it.

### The idea Keep every published release's `SHA256SUMS` and `SHA256SUMS.sig` for good, even after the release itself is deleted. For example, `release.py publish` could commit them to a small repository (`<product>/<tag>/SHA256SUMS{,.sig}`), or attach them to a long-lived release. ### Why CI deletes nightlies once five newer ones exist, and build artifacts expire after 7 days. When a player says "the nightly I installed last week infected my PC" ([LongshotLauncher issue 379](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/issues/379)), we can only check the five nightlies still up. For anything older there is no record of which files we shipped, so we can neither clear them nor find out what was wrong. The two files are under 1 KB per release, and they are signed, so a copy kept anywhere can be trusted. With a record: - anyone can check an old download against it with `release.py verify`; - it shows if a file was ever published under a tag twice. ### Done when Every Longshot and launcher release, nightly or stable, leaves its `SHA256SUMS` and signature somewhere that is never pruned, and RELEASING.md says where and how to check an old file against it.
Member

Possibly related, for context:

  • issue MagicBeanDev/LongshotLauncher#379 Infection after downloading the OFFICIAL v1.3.1 setup (not the impersonation site) — Provides the security-investigation context motivating the proposal; it is not the same request.

Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.

Possibly related, for context: - issue MagicBeanDev/LongshotLauncher#379 Infection after downloading the OFFICIAL v1.3.1 setup (not the impersonation site) — Provides the security-investigation context motivating the proposal; it is not the same request. --- <sub>Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.</sub>
Owner

Will add

Will add
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Tooling#42
No description provided.