The Debian repositories on www.lesbonscomptes.com are signed, and most of the other download files are checksummed and signed. The following describes how to download and set up the public keys, and how they are used.

The first section 'Quick' if you are in a hurry or not interested by the details. See 'More details' further on for other explanations.

Installing the repository keys for apt

Either:

Or:

  • Create it by importing the key from the key servers:

gpg --no-default-keyring --keyring ./lesbonscomptes.gpg --keyserver keyserver.ubuntu.com --recv-key F8E3347256922A8AE767605B7808CE96D38B9201

In both cases:

  • Copy the resulting lesbonscomptes.gpg to /usr/share/keyrings/.

File checksums

Most distribution files (tar, zip, setup…​) have associated sha256 checksum files. This allows checking that the files are not corrupted by copying or transmission.

E.g, after downloading recoll-1.21.5.tar.gz, and recoll-1.21.5.tar.gz.sha256, you can run the following to verify the file integrity:

sha256sum recoll-1.21.5.tar.gz > mynewchecksum
diff mynewchecksum recoll-1.21.5.tar.gz.sha256

Using gpg, you can verify the file integrity and origin - it was signed by me - in one step:

gpg --verify upmpdcli-1.9.7.tar.gz.asc
gpg: assuming signed data in 'upmpdcli-1.9.7.tar.gz'
gpg: Signature made Sun 02 Nov 2025 09:04:13 AM CET
gpg:                using RSA key F8E3347256922A8AE767605B7808CE96D38B9201
gpg: Good signature from "Jean-Francois Dockes <jf@dockes.org>" [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: F8E3 3472 5692 2A8A E767  605B 7808 CE96 D38B 9201

More details about the signatures

The download files have detached gpg signatures (same file name, with '.asc' added). These provide a slight amount of security against tampering on the WEB server, (very slight because the keys are currently self-signed).

The public keys are also stored on an independant web site (different hosting provider, passwords, etc), you can cut/paste them from:

This is also unsecure because you don’t know that I (J.F. Dockes) set up the site. Still, it’s an additional element which an attacker would need to control.

You can receive the key from the keyservers using:

gpg --keyserver keyserver.ubuntu.com --recv-key F8E3347256922A8AE767605B7808CE96D38B9201

You can then check the signature on any file by downloading the parallel .asc file and using, e.g.:

gpg --verify some-tar-file.tar.gz.asc

Note: some very old files may have been signed with an older key. I don’t think that it is in use for any current version, but you can also get it from the server:

gpg --keyserver keyserver.ubuntu.com --recv-key 4C6E80B6374DCD5F53AB706A32D9C2A835ED066C

Apt repositories

The apt repositories are also signed. Only the newer key should be needed.

Reference information