Skip to main content

System services

Root services live in system/. They trust a caller only after checking which binary it is: /proc/PID/exe is the expected program, nobody traces it, it is non-dumpable, and every executable mapping is a root-owned file (no LD_PRELOAD from the home directory). Nothing the session user can write (settings.json, files in /home) ever grants root.

taunus-keyd​

Per-program encryption keys. A program asks for a key by name on /run/taunus-keyd.sock and gets 32 bytes, but only when it is the program the key belongs to. Keys are made on first use, per user: /data/keys/UID/NAME (root, 0600), and a reset deletes them.

KeyBelongs to
browser/usr/local/bin/taunus-webview (the web engine's storage)

taunus-keyd --allow NAME=PATH adds one (in its OpenRC service file).

//2bi: an app gets its key by declaring it in its manifest; the image build writes the allow list.

taunus-authd​

Holds the only usable copy of the passcode and a signing key. Answers only the shell and Settings:

Request
statusnone or set LENGTH WAIT
check CODEok when right (lock screen, app lock)
attest PURPOSE NONCE CODEa signed passcode proof
passcode OLD NEWset, change, remove
rootdebug …rooted debugging on/off (starts tdtd --root)
factory-reset CODEerase the user partition at the next start

Answers: a token or ok, else wrong, wait SECONDS, short, nopasscode, refused. Wrong codes make it wait longer each time, also across restarts.

For any program: taunus-authd pubkey, taunus-authd request PURPOSE, taunus-authd verify TOKEN PURPOSE NONCE.

taunus-hwd​

The device's buttons and switches (the profile's [keys]) as text lines on /run/taunus-hwd.sock, so the session needs no access to /dev/input. Also power off, restart and the refresh rate for the session user.

Boot​

ProgramRunsDoes
/initfirstUSB gadget, /data, first-boot setup, then OpenRC
taunus-usbfrom /initUSB serial + network (the device is 172.16.42.1)
taunus-datamountfrom /initmounts the user partition at /data and binds /home, /root, /var/lib/iwd, /var/lib/bluetooth, /var/log onto it
taunus-firstbootonce after an installruns the Alpine package scripts natively, with a progress bar
taunus-flashon deploywrites a new system image from the running system, then reboots