Fingerprint authentication on Linux, backed by the immurok BLE device: touch the
sensor instead of typing your password for sudo, polkit prompts and screen
unlock. Verified on Arch / Fedora 43+ / Debian 12+ / Ubuntu 24.04+, GNOME and
KDE.
Packages for Debian/Ubuntu, Fedora and Arch (amd64 and arm64) are attached to every release:
sudo apt install ./immurok_<version>-1_amd64.deb # Debian / Ubuntu
sudo dnf install ./immurok-<version>-1.x86_64.rpm # Fedora
sudo pacman -U immurok-<version>-1-x86_64.pkg.tar.zst # ArchUpgrading is the same command again. No package for your distribution? See Building from source.
Open immurok from your app menu. The setup wizard runs on first launch and walks you through the three steps — connect over Bluetooth, link this computer, enroll a fingerprint — checking each one before moving on.
Then open the PAM page and click Install for sudo and System
authorization. The package deliberately never edits /etc/pam.d on its own.
That's it. Try it:
sudo -k && sudo true # should ask for your fingerprint, not your passwordPrefer a terminal?
immurok-cli tuidoes everything the GUI does. Dismissed the wizard? The header menu brings it back, orimmurok-gui --setup.
| Page | |
|---|---|
| Device | battery, firmware, and the two host slots — one device can be linked to two computers, with a dedicated fingerprint to switch between them |
| Features | which prompts the fingerprint answers: sudo, polkit, screen unlock, SSH |
| Keys | the device's SSH / OTP / API keystore; OTP codes and API values are shown for 30 s after a touch |
| Fingerprints | enroll, rename, test and delete fingers |
| PAM | install / remove the PAM hooks |
| Logs | live daemon log — warnings and errors by default, everything with --debug (see Logging) |
Bind immurok-gui --quick-fill to a keyboard shortcut to pull an OTP code into
any text field with one touch.
For scripts and AI agents there is imk: imk run --agent -- <command> shows
the wrapped command in a dialog and one touch approves every sudo and SSH
signature inside it; imk get imk://<category>/<name> reads one stored secret
the same way. Details and the agent rules file: imk-skill.
Linux 5.10+, a BLE 4.2+ adapter, systemd (the daemon is a system service, the session agent a per-user one), PAM 1.4+, polkit 0.120+, and a GTK4-capable desktop.
Screen unlock relies on the locker setting logind's LockedHint, which GNOME
and KDE do. swaylock, i3lock and similar lockers are not detected, so the touch
does nothing there; sudo and polkit still work.
musl distributions (Alpine, Void musl) are not supported — the PAM module needs glibc.
- Usage — GUI pages, TUI, CLI commands, firmware updates, password-manager unlock,
imk run --agent - Building from source
- Troubleshooting — and per-desktop notes
- Two-host design
The daemon logs warnings and errors only. Start it with --debug to log
everything, including every BLE frame in hex. Those frames are the raw
traffic with the device: a key import (immurok-cli key import-ssh,
import-otp, add) and a secret read back from it appear in plain hex. Turn it on
only while debugging, and turn it off again:
sudo mkdir -p /etc/immurok
echo 'IMMUROK_DAEMON_ARGS=--debug' | sudo tee /etc/immurok/daemon.env
sudo systemctl restart immurok-daemon
# later
sudo rm /etc/immurok/daemon.env && sudo systemctl restart immurok-daemonWhere the log goes and who can read it:
/var/log/immurok/daemon.log, readable by root and theimmurokuser.immurok-cli logsand the Settings app stream the last 500 lines plus live output over the daemon socket. Any user with an active logind session on the machine can open that stream, so on a shared machine leave--debugoff unless you are alone on it.
RUST_LOG overrides both modes when set.
sudo apt remove immurok # or dnf remove / pacman -RPairing data in /var/lib/immurok is kept. To remove it too, apt purge immurok,
or sudo rm -rf /var/lib/immurok /var/log/immurok afterwards. For a source
install, make uninstall in your checkout (PURGE=1 also deletes the state).
Apache License 2.0, including the PAM module in pam/. Device firmware
is licensed separately under BSL 1.1.
