Historical: Linux-based prototype
Security
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.
Khelforge is pre-alpha. It has no release, and no external security audit has been carried out. The login, lock, account and installer designs described here are built and tested in containers and disposable virtual machines, not on real hardware in the field. Do not install it on a computer used for daily work.
To report a problem, email security@khelforge.com. See reporting a vulnerability.
Architecture
Section titled “Architecture”The design keeps three kinds of process apart: root services from the Linux platform, small unprivileged Khelforge services, and user interfaces. User interfaces do not run as root. The installer backend is the exception among Khelforge’s own parts: it runs as root, in the live system only.
Diagram as text
- Sign-in screen → greetd: sign in
- Sign-in screen → Account service: first account
- Desktop and apps → systemd-homed: password
- Installer window → Installer backend: choices
- greetd → PAM and logind
- Account service → systemd-homed
- systemd-homed → LUKS2 home image
- Installer backend → Target disk
- Sign-in screen: not root
- Desktop and apps: signed-in user
- Installer window: ordinary user
- greetd: upstream
- Account service: not root, no network
- systemd-homed: upstream
- Installer backend: root, live system only
Principles in use
Section titled “Principles in use”| Principle | Where it shows |
|---|---|
| Reuse platform security | Passwords stay with PAM, accounts and encrypted homes with systemd-homed, packages with pacman’s library. Khelforge keeps no password store. |
| Fail closed | A lock that cannot be shown ends the session. If permission cannot be checked, the request is refused. |
| Limited requests | The installer window sends choices, never package names or commands. |
| Show before writing | The partition plan is the real tool’s own dry run. The disk is checked again before anything is written. |
| Keep secrets short-lived | Secrets are wiped after use, and tests search logs for every test password and key. |
| Say what is missing | What was not verified is listed in limitations. |
Pages in this section
Section titled “Pages in this section”| Topic | Page |
|---|---|
| Passwords, local accounts and systemd-homed | Accounts |
| LUKS2 for homes and for the installed root | Encryption |
| Recovery keys and encrypted backups | Recovery keys |
| Sessions, sleep and the lock screen | Sessions and lock |
| Signatures and pinned versions | Packages and supply chain |
| Network use | Network |
| Updating an installed system | Updates |
| Data handled by the operating system | Privacy |
| What is not protected, tested or built | Limitations |