Skip to content
Kandaro
Book a demo

EDR

Early access

Check a download

Kandaro signs every Linux file it publishes for the agent with one key. Checking a signature takes a minute and tells you the file is the one we made.

The one-paste block on the Add machines page does all of these checks itself. This page is for files you download yourself.

What you check against

Kandaro signs the installer, each package and each release's list of checksums with its package signing key. The key's fingerprint is shown in the Console next to the downloads, where you add machines. That is the anchor: a key downloaded from the same place as the file proves nothing by itself, so always compare its fingerprint with the Console's.

Kandaro's download address hands out nothing without a key. In the commands below, curl asks for a password: paste your organisation's download key, which admins make under Settings → Image access (Your download key). A file you open from the Console's Downloads list needs no key.

1. Get the key and compare its fingerprint

Terminal
curl -fsSL -u kandaro -O https://dl.kandaro.com/kandaro.asc
gpg --show-keys kandaro.asc     # compare the fingerprint with the one in the Console
gpg --import kandaro.asc

The 40-character fingerprint printed by the second command must be the same as the one in the Console, character for character. If it isn't, don't import the key.

2. Check a file's signature

Each file has a signature next to it, with .asc added to its name. Version 1.4.2 is an example; the Console lists the files of the current release.

Terminal
curl -fsSL -u kandaro -O https://dl.kandaro.com/agent/1.4.2/kandaro-agent_1.4.2_linux-amd64.deb -O https://dl.kandaro.com/agent/1.4.2/kandaro-agent_1.4.2_linux-amd64.deb.asc
gpg --verify kandaro-agent_1.4.2_linux-amd64.deb.asc kandaro-agent_1.4.2_linux-amd64.deb

You want Good signature from Kandaro's key. A warning that the key is not certified with a trusted signature is expected: it means you haven't told your own keyring to trust the key, which is what comparing the fingerprint was for.

3. Or check several files at once

Each release folder holds SHA256SUMS, a signed list of the checksums of its files. Check the list's signature first, then let it check the files you downloaded into the same folder.

Terminal
curl -fsSL -u kandaro -O https://dl.kandaro.com/agent/1.4.2/SHA256SUMS -O https://dl.kandaro.com/agent/1.4.2/SHA256SUMS.asc
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS

Every file you downloaded should be reported as OK. The Console also shows each file's checksum and size, to compare by eye.

What is checked for you

  • The installer has the key's fingerprint built in. It downloads the key again and refuses to go on if the fingerprint differs.
  • The installer also checks Kandaro's signature on the version your update channel names, and on the package it installs.
  • Your package manager, on a machine installed with Kandaro's repository, checks every package from it against the same key, which the installer trusts for that repository only.
  • The agent checks that a new version is signed by Kandaro before it installs an update (Updates and versions).

So when you install by hand, the one check that is yours is the first: that the installer you run is Kandaro's. Install step by step has those three commands.

If a check fails

Don't install the file. A wrong fingerprint, a bad signature or a checksum that doesn't match means the download was damaged or changed. Download it again; if it fails a second time, tell us through Support in the Console or the contact page, and say which file and what the command printed.