Verifying Signatures - KeePassXC
Verifying Signatures - KeePassXC
org/verifying-signatures
Verifying Signatures
By verifying the signatures of KeePassXC releases, you can prove the authenticity and
integrity of the downloaded file. This guarantees that the file you just downloaded was
originally created by the KeePassXC Team and that its contents haven't been tampered with
on the way.
Download Options
Every KeePassXC release is published in a variety of package formats:
Each of these package files has two related sidecar files, a *.DIGEST and a *.sig. We explain
how to use these below.
1 of 4 1/6/18, 9:28 PM
Verifying Signatures - KeePassXC https://keepassxc.org/verifying-signatures
The shasum program recalculates the SHA-256 hash digest of the package file and
compares it with the value in the .DIGEST file. If they match, this shows the package was
downloaded without errors.
The KeePassXC public key can be retrieved in any of the ways shown below:
2 of 4 1/6/18, 9:28 PM
Verifying Signatures - KeePassXC https://keepassxc.org/verifying-signatures
These are the fingerprints of the master key and the current signing sub keys:
Notice that we have a master key and some sub keys. The actual signatures are created with
one of the sub keys. As the naming implies, they are closely related to one another - importing
the master GPG key is sufficient for verifying signatures made with any of its sub keys.
Once you have imported the key, you can decide whether you want to mark it as trusted. This
is not strictly necessary for the checks we are making here. For more information, see the
Qubes-OS project documentation (https://www.qubes-os.org/doc/verifying-signatures/).
Verifying Releases
You can verify the authenticity and integrity of a downloaded package from its detached
signature by running the following command:
You want to see that "Good signature" line. It shows the .sig file must have been created from
the AppImage file by the sub key with the fingerprint
C1E4CBA3AD78D3AFD894F9E0B7A66F03B59076A8 .
The warning is there because in this example we have not taken the extra step of trusting that
key.
Verification fails!
3 of 4 1/6/18, 9:28 PM
Verifying Signatures - KeePassXC https://keepassxc.org/verifying-signatures
Don't install the package. First, try downloading again and rechecking. If it is still not
working, please let us know about the problem by opening an issue (https://github.com
/keepassxreboot/keepassxc/issues).
4 of 4 1/6/18, 9:28 PM