Check a download
Every launcher release comes with two small files: SHA256SUMS, the SHA-256 of each of its files, and
SHA256SUMS.sig, our signature of it. A file whose SHA-256 is in a SHA256SUMS we signed is the file we released.
The install page does this check for you: it lists a file’s SHA-256 only after it has checked our
signature of that release’s SHA256SUMS. The launcher checks every release it updates to the same way.
Check the file you downloaded
Section titled “Check the file you downloaded”Print your file’s SHA-256 and compare it with the one on the install page, or with the file’s line in the release’s
SHA256SUMS. Every character must match.
On Windows, in PowerShell, in the folder you downloaded it to:
Get-FileHash .\LongshotLauncher-v2.0.0-windows-x64.exeOn Linux:
sha256sum LongshotLauncher-v2.0.0-linux-x64.AppImageCheck our signature yourself
Section titled “Check our signature yourself”To trust no web page, check SHA256SUMS.sig with OpenSSL. Save the launcher’s public key as longshot-release.pem:
-----BEGIN PUBLIC KEY-----MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5PKAyo4V9MLugswS3bMuUstnNAeNqaQBHbrDfpyhHu58osA/N8hEFI7WXqMwFh1oUFYfLaCe+AkTQ5IlTWirCQ==-----END PUBLIC KEY-----It is the key in the launcher itself and in Longshot’s
scripts/release_keys.json.
Download SHA256SUMS and SHA256SUMS.sig from the release page into one folder, then:
openssl base64 -d -A -in SHA256SUMS.sig -out SHA256SUMS.deropenssl dgst -sha256 -verify longshot-release.pem -signature SHA256SUMS.der SHA256SUMSVerified OK means we signed that SHA256SUMS. Then check your file against it: on Linux,
sha256sum --check --ignore-missing SHA256SUMS.
An older download
Section titled “An older download”Releases are pruned over time, but every launcher and Longshot release’s SHA256SUMS and SHA256SUMS.sig are kept for
good in Team MagicBean’s package store, as the launcher-checksums
and longshot-checksums packages, under the release’s version. Check one exactly as above.
If a key is ever replaced, an older release stays signed by the key of its time: this page will list it.
