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.
| Key | Belongs 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 | |
|---|---|
status | none or set LENGTH WAIT |
check CODE | ok when right (lock screen, app lock) |
attest PURPOSE NONCE CODE | a signed passcode proof |
passcode OLD NEW | set, change, remove |
rootdebug … | rooted debugging on/off (starts tdtd --root) |
factory-reset CODE | erase 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
| Program | Runs | Does |
|---|---|---|
/init | first | USB gadget, /data, first-boot setup, then OpenRC |
taunus-usb | from /init | USB serial + network (the device is 172.16.42.1) |
taunus-datamount | from /init | mounts the user partition at /data and binds /home, /root, /var/lib/iwd, /var/lib/bluetooth, /var/log onto it |
taunus-firstboot | once after an install | runs the Alpine package scripts natively, with a progress bar |
taunus-flash | on deploy | writes a new system image from the running system, then reboots |