Skip to content

Verify a download

Every DataKlin download has a detached signature: a small .asc file next to it, made with the DataKlin release key. Checking it proves the file comes from DataKlin and wasn’t changed on the way. Signatures start with the 1.0 releases. DataKlin 0.5.1 and earlier are not signed: check those with their SHA-256 checksums only.

The key is at https://dataklin.com/keys/dataklin-release.asc. Its primary key fingerprint is:

900D 3606 BF0F 1A46 AD67 3E96 67CC 1911 46B5 956B

Files are signed with its signing subkey, B114 28B2 DF2D 635F 95B7 E8BE 336C 8946 7E38 2F20. Always compare the primary fingerprint above: a key with any other fingerprint is not the DataKlin key, whatever its name says.

Before you start, download the file you want from the download section, and its signature link next to it, into the same folder. Then open a terminal in that folder.

Most distributions include GnuPG (gpg). If yours doesn’t, install the gnupg package.

Terminal window
curl -fsSLO https://dataklin.com/keys/dataklin-release.asc
gpg --show-keys dataklin-release.asc
gpg --import dataklin-release.asc
gpg --verify DataKlin-1.1.0-linux-amd64.deb.asc DataKlin-1.1.0-linux-amd64.deb

gpg --show-keys prints the fingerprint: check it before you import the key. For the AppImage, use DataKlin-1.1.0-linux-x86_64.AppImage and its .asc in the last line.

Install GnuPG first, for example with Homebrew (brew install gnupg) or GPG Suite.

Terminal window
curl -fsSLO https://dataklin.com/keys/dataklin-release.asc
gpg --show-keys dataklin-release.asc
gpg --import dataklin-release.asc
gpg --verify DataKlin-1.1.0-mac-arm64.dmg.asc DataKlin-1.1.0-mac-arm64.dmg

Install Gpg4win, which adds gpg to PowerShell, then open a new PowerShell window in the folder with the download.

Terminal window
Invoke-WebRequest https://dataklin.com/keys/dataklin-release.asc -OutFile dataklin-release.asc
gpg --show-keys dataklin-release.asc
gpg --import dataklin-release.asc
gpg --verify DataKlin-1.1.0-win-x64.exe.asc DataKlin-1.1.0-win-x64.exe
(Get-FileHash DataKlin-1.1.0-win-x64.exe -Algorithm SHA256).Hash.ToLower()
Select-String DataKlin-1.1.0-win-x64.exe SHA256SUMS

The last two lines print the file’s SHA-256 and its line in SHA256SUMS (download that too, with its signature): the two must match.

A good signature looks like this:

gpg: Good signature from "DataKlin Release Signing <security@dataklin.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 900D 3606 BF0F 1A46 AD67 3E96 67CC 1911 46B5 956B
Subkey fingerprint: B114 28B2 DF2D 635F 95B7 E8BE 336C 8946 7E38 2F20
  • Good signature and the primary key fingerprint above are what matter.
  • The warning that the key is not certified with a trusted signature is expected: it means you haven’t signed the key yourself. Comparing the fingerprint is that check.
  • BAD signature means the file is not what DataKlin published. Don’t open it: delete it and download it again.
  • No public key or Can't check signature means the key isn’t imported, or the file was signed with another key.

SHA256SUMS lists the SHA-256 of every file in the release, and it is signed too. Download it and SHA256SUMS.asc from the download section, verify the signature, then check the files you downloaded against it:

Terminal window
gpg --verify SHA256SUMS.asc SHA256SUMS
# Linux
sha256sum --check --ignore-missing SHA256SUMS
# macOS
shasum -a 256 --check --ignore-missing SHA256SUMS

Each file you have prints OK. On Windows, compare the hash as in the PowerShell steps above.