Check your download
Make sure the file is complete and really comes from VelaOS before you write it to a USB stick.
Two checks prove your download is genuine. The signature shows that the checksum list, SHA256SUMS, was made by VelaOS. The checksum shows that your file matches that list, byte for byte. Each check is one paste into a terminal. If either fails, don't use the file: delete it and download it again.
What do you need?
- From Downloads: the file you want to check, for example
velaos-26.11.13.1-amd64.iso. Under Advanced, alsoSHA256SUMSandSHA256SUMS.sigfrom the same release. - The VelaOS public key, saved as
velaos.pubfrom the box below. - All four files in one folder, and a terminal open in that folder.
- While VelaOS is in public beta, Downloads lists only the newest release.
The VelaOS public key
This key is public, so it's safe to share. Save it with the button below and check its fingerprint before you use it.
velaos.pub
This is the public key that signs VelaOS OS images. Save the file, then check its fingerprint before you trust SHA256SUMS. Use the saved file. A copy pasted from the box below can drop the final line break, and then the file hash will not match.
Key fingerprint (SHA-256 of the key, ignoring line breaks)
2952dfb5f389843aaec6da3c4c1fb9bd6c6bbaa7d31bd395d020199c4316f1d3
File fingerprint (SHA-256 of velaos.pub, including its final line break)
7698a5ed2ffe16ec1b9d1d424bcac02e13faf27bb69a28b139f4f80ac973f979
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETcg7jGrW+2K3sYmA8G3B8xvpCci4
FP4+hMhoA1CFmPWiFXN12pozvHcPb591XsNN7A6VN+b5JvKrcSfpeKqGEw==
-----END PUBLIC KEY-----
openssl pkey -pubin -in velaos.pub -outform DER | sha256sum must print the key fingerprint. sha256sum velaos.pub must print the file fingerprint. Then check the checksum list, and the image against that list. The same key fingerprint is in /.well-known/security.txt.
openssl pkey -pubin -in velaos.pub -outform DER | sha256sum
sha256sum velaos.pub
cosign verify-blob --key velaos.pub \
--signature SHA256SUMS.sig \
--insecure-ignore-tlog=true SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS1. Check the signature
- 1
Install cosign
cosign is a free signing tool from the open-source Sigstore project. Get it from the cosign install page:
- macOS:
brew install cosign - Linux: your distribution's package (
dnf install cosign,apt install cosign) or the release binary - Windows: download
cosign-windows-amd64.exefrom the cosign releases page and rename it tocosign.exe
- macOS:
- 2
Check SHA256SUMS against the VelaOS key
The same command works in Terminal on macOS and Linux, and in PowerShell on Windows:
bashcosign verify-blob --key velaos.pub --signature SHA256SUMS.sig --insecure-ignore-tlog=true SHA256SUMSIt must end with
Verified OK. Anything else means the list was changed or isn't from VelaOS: stop here. On Windows, ifcosign.exeis in the download folder rather than on your path, type.\cosign.exeinstead ofcosign.cosign prints a warning
cosign may warn that it skips a public transparency log. That's expected: VelaOS signatures aren't published there. The check against the VelaOS key is what proves the list is genuine.
2. Check the SHA-256 checksum
Pick your computer. Each way ends with a clear yes or no.
Windows: PowerShell
- 1
Compare the file with SHA256SUMS
Open PowerShell in the download folder and paste this. Change the file name on the first line to the one you downloaded:
powershell$file = Get-Item .\velaos-26.11.13.1-amd64.iso $line = Get-Content .\SHA256SUMS | Where-Object { $_.EndsWith(" " + $file.Name) } $expected = "$line".Split(' ')[0] $actual = (Get-FileHash $file -Algorithm SHA256).Hash.ToLower() if ($actual -eq $expected) { "OK: the checksum matches" } else { "STOP: the checksum does not match" }A large file takes up to a minute. You want
OK: the checksum matches.
Windows: Command Prompt
- 1
Print the checksum
batcertutil -hashfile velaos-26.11.13.1-amd64.iso SHA256 - 2
Compare it by eye
Compare the 64 characters it prints with the line for your file in
SHA256SUMS, or with the SHA-256 on the Downloads page. Upper or lower case doesn't matter; every character must match.
macOS: Terminal
- 1
Check the file against SHA256SUMS
bashshasum -a 256 -c --ignore-missing SHA256SUMSYou want
velaos-26.11.13.1-amd64.iso: OK.FAILEDmeans the file is damaged or changed.
Linux: terminal
- 1
Check the file against SHA256SUMS
bashsha256sum --ignore-missing -c SHA256SUMSYou want
velaos-26.11.13.1-amd64.iso: OK.FAILEDmeans the file is damaged or changed.
Checking an agent download
Agent packages (.rpm, .deb, the install script) are signed with the VelaOS OpenPGP release key, not with cosign, so cosign verify-blob does not work on them. Their checksum list comes with SHA256SUMS.asc instead of SHA256SUMS.sig.
- 1
Get the release key
On Downloads, under Signing keys, save the OpenPGP key as
vela-release-key.ascand note its fingerprint. Don't use the key file that came with the packages for this check: it is in the same download it is meant to check.bashgpg --show-keys --with-fingerprint vela-release-key.asc gpg --import vela-release-key.ascThe fingerprint it prints must match the one on Downloads.
- 2
Check the signature, then the checksums
bashgpg --verify SHA256SUMS.asc SHA256SUMS sha256sum --ignore-missing -c SHA256SUMSYou want
Good signaturefrom the key with that fingerprint, thenOKfor each file you downloaded.
Both checks passed?
The file is complete and comes from VelaOS. Write it to a USB stick:
- The installer (
.iso): Make a VelaOS USB stick and install. - The raw disk image (
.raw.zst): unpack it first, as in Install with the raw disk image.
What if a check fails?
- Download the file again from Downloads. A broken connection is the usual cause.
- Make sure
SHA256SUMS,SHA256SUMS.sigand the file come from the same release: they carry the same version number. - Still failing? Don't install it. Contact us (choose Security): a file that fails its signature check can mean someone tampered with it.