Skip to content

Historical: Linux-based prototype

Package signatures and the pinned manifest

This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.

ImplementedRecorded statusLast verified

The installer installs only packages that a fixed list, the manifest, pins, and only if their signatures verify. Unit tests and VM tests cover this. The signing key for Khelforge’s own package is a throwaway development key. No release key exists.

Arch Linux changes every day, so the installable set is pinned to one date of the Arch Linux Archive: 2026-11-22. The manifest lists every package that any selection in the catalogue can install.

What Pinned by
core, extra and multilib databases Checksum
Arch packages Version, repository, file name and checksum
The Khelforge package Version, repository and file name, trusted by signature

The current manifest holds 569 packages: 568 from Arch and one Khelforge package. The virtual machine run on 2026-11-24 used an earlier set of 567.

  • Packages: a valid, trusted signature is required. The installer has no option to lower this.
  • Arch databases: the archive serves them unsigned, so the manifest’s checksum is used instead.
  • The Khelforge database: a signature is required. A missing one is refused.

The Network page says that the package lists’ signatures were checked. For the Arch lists, the check is the checksum.

  1. Databases are downloaded and checked as above. Any that differ from the pinned ones stop the installation.
  2. The selection is resolved. A package that does not match the manifest stops it.
  3. The packages are downloaded, and their integrity and signatures are verified.
  4. A corrupted or badly signed package stops it. This is not retryable, but the bad file is removed from the cache.

Google Chrome is the exception: it is outside the manifest and has its own verification.

The installed system receives public keys only. Virtual machine tests check that the secret signing key is absent.

  • Unit tests check that changed versions, repositories or checksums, missing dependencies, conflicts and malformed manifests are caught.
  • Unit tests check that a trusted signature verifies, and that a missing, untrusted or unknown one does not, nor does a file changed after signing. The same holds for databases.
  • Virtual machine tests remove the Khelforge database signature and corrupt a package. Both are refused.
  • A release key, separate from the development key, is still to be created.
  • After installation, pacman checks signatures but does not consult the manifest.
  • How the manifest will work with moving public mirrors is an open question. See online installation.