Verify downloads
The chain of trust is the apt repository's signing key: it signs the repository index, the index lists the SHA-256 of every package file, and apt checks both on every install.
1. The signing key
The repository is signed with the ScalWS Archive Signing Key. Its fingerprint, as published in the installation guide:
0B49 CE44 88DC 3A3E 4F63 1218 CBBB F99C 69B9 9EF0
After downloading the keyring (scalws-archive-keyring.gpg, the first command of Install), compare the fingerprint gpg prints with the one above:
gpg --show-keys /usr/share/keyrings/scalws-archive-keyring.gpg2. What apt checks
The signed-by= option in the source line limits the repository to that keyring:
deb [signed-by=/usr/share/keyrings/scalws-archive-keyring.gpg] https://apt.scalws.com stable mainapt update rejects an InRelease file not signed by the key, and apt install rejects a package file whose size or SHA-256 differs from the signed index. Packages installed with apt install scalws need no further check.
3. A downloaded package file
For a .deb downloaded from this site, compare its SHA-256 with the value listed for it. For the newest package, 1.1.1-1:
curl -fsSLO 'https://apt.scalws.com/pool/main/scalws_1.1.1-1_amd64.deb'
echo 'db16b24f5cfa2ba79b7a322c6f1403d71295ec4a2bb2dc606c3dbe9a5c2b84ad scalws_1.1.1-1_amd64.deb' | sha256sum -c -sha256sum -c prints scalws_1.1.1-1_amd64.deb: OK when the file matches. Every release page lists all its checksums in this format, for example 1.1.1.
How this site gets its checksums
When the site is built, the repository's InRelease is verified with the keyring above and must be signed by the fingerprint the installation guide names; each Packages index must match the size and SHA-256 that the signed index lists; and every package file is downloaded and must match the size and SHA-256 of its entry. If any check fails, the site is not built. The checksums shown here are therefore the repository's own, not a separate list.