Verify a download
Every release publishes a SHA256SUMS file next to the binaries and the Mac disk image. Checking a download against it proves the file was not corrupted or swapped between the build and your disk.
One command
Section titled “One command”In the folder you downloaded to, with the file name you downloaded:
On macOS:
curl -fsSL https://downloads.naelox.com/naelox/latest/SHA256SUMS \ | grep ' Naelox-Server.dmg$' | shasum -a 256 -cOn Linux:
curl -fsSL https://downloads.naelox.com/naelox/latest/SHA256SUMS \ | grep ' naelox_linux_amd64$' | sha256sum -cIt prints Naelox-Server.dmg: OK when the file matches. Anything else, including no output, means it does not; delete the file and download again.
The download page shows the same command, filled in, under Verify this download for the file you chose.
By eye
Section titled “By eye”The download page prints each file’s SHA-256 with a copy button. Compare it with:
shasum -a 256 Naelox-Server.dmg # macOSsha256sum naelox_linux_amd64 # LinuxCheck the signature
Section titled “Check the signature”A signed release also has SHA256SUMS.minisig next to SHA256SUMS, and the download page links it. The signature proves the list of sums came from the Naelox release workflow, so a matching sum then proves the file did too. With minisign installed (brew install minisign, apt install minisign):
curl -fsSLO https://naelox.com/naelox-release.pubcurl -fsSLO https://downloads.naelox.com/naelox/latest/SHA256SUMScurl -fsSLO https://downloads.naelox.com/naelox/latest/SHA256SUMS.minisigminisign -Vm SHA256SUMS -p naelox-release.pubIt prints Signature and comment signature verified and a trusted comment naming the release, such as naelox 1.2.0. Then check the file against the verified list as above.
The public key comes from naelox.com, not from the download host, so whoever could change the files there still could not change the key. It is key 6B07926F67F20607, and naelox-release.pub should contain exactly:
untrusted comment: minisign public key 6B07926F67F20607RWQHBvJnb5IHa3eqLcwAx2W05GHjfwxj3MGbFabhQVZllp/afYnUedI8What this does and does not prove
Section titled “What this does and does not prove”A matching sum proves the file is byte-for-byte what the release lists. On its own it does not prove who made the release; the signature above does, and the builds come from a tagged commit through the release workflow, which the download page links to.
On a Mac there is a second check. The app, the disk image and the command-line binaries are signed with Naelox’s Apple Developer ID and notarized by Apple, and macOS checks both before it opens them. To see it yourself:
spctl --assess --type open --context context:primary-signature -v Naelox-Server.dmgspctl --assess --type execute -v "/Applications/Naelox Server.app"Each prints accepted and source=Notarized Developer ID.