Idea: the download page shows each file's SHA-256 and how to check it #3265

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

The idea

On longshot.magicbean.dev/download, show the SHA-256 of each launcher file next to its button, with one line on how to check it:

Get-FileHash .\LongshotLauncher-<version>-windows-x64.exe

(sha256sum on Linux.) Also link to how to verify SHA256SUMS.sig. The Worker already reads the release list; it can read SHA256SUMS too, with the same cache.

Why

Players who got malware from a fake site, or think they did, have no easy way to tell whether their file is ours (LongshotLauncher issue 342, LongshotLauncher issue 379, #2341). In LongshotLauncher issue 379 we had to post the hash and the steps by hand. A hash on the official page lets anyone settle it in one command. It also makes a copy from a fake site obvious, at least until code signing (#46) gives Windows a publisher name to show.

Done when

The download page shows each file's SHA-256 and how to check it, from the same signed SHA256SUMS the launcher uses.

### The idea On `longshot.magicbean.dev/download`, show the SHA-256 of each launcher file next to its button, with one line on how to check it: ``` Get-FileHash .\LongshotLauncher-<version>-windows-x64.exe ``` (`sha256sum` on Linux.) Also link to how to verify `SHA256SUMS.sig`. The Worker already reads the release list; it can read `SHA256SUMS` too, with the same cache. ### Why Players who got malware from a fake site, or think they did, have no easy way to tell whether their file is ours ([LongshotLauncher issue 342](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/issues/342), [LongshotLauncher issue 379](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/issues/379), #2341). In LongshotLauncher issue 379 we had to post the hash and the steps by hand. A hash on the official page lets anyone settle it in one command. It also makes a copy from a fake site obvious, at least until code signing (#46) gives Windows a publisher name to show. ### Done when The download page shows each file's SHA-256 and how to check it, from the same signed `SHA256SUMS` the launcher uses.
Member

For maintainers

The proposal explicitly references LongshotLauncher#342 and #379 and Longshot#2341; no duplicate found. Longshot#46 describes the signed release mechanism and its trust limits, including that signed release metadata authenticates downloads for the launcher but does not provide Windows publisher identity.


Possibly related, for context:

  • issue #46 Idea: Authenticode signing for the Windows builder and launcher, separate from signed release manifests — Related signing and release-manifest trust design; it does not propose displaying hashes on the download page.
  • issue #2341 Idea: Warn more prominently about unofficial Longshot download sites — Related warning and discoverability for unofficial download sites.

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

**For maintainers** The proposal explicitly references LongshotLauncher#342 and #379 and Longshot#2341; no duplicate found. Longshot#46 describes the signed release mechanism and its trust limits, including that signed release metadata authenticates downloads for the launcher but does not provide Windows publisher identity. --- Possibly related, for context: - issue #46 Idea: Authenticode signing for the Windows builder and launcher, separate from signed release manifests — Related signing and release-manifest trust design; it does not propose displaying hashes on the download page. - issue #2341 Idea: Warn more prominently about unofficial Longshot download sites — Related warning and discoverability for unofficial download sites. --- <sub>Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.</sub>
Owner

Will do

Will do
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/Longshot#3265
No description provided.