Outsider Stage 0.5
Replay and verify a real, sealed Outsider Stage 0.5 intervention chain.
Translation pending
Face ID-style unlock for Omarchy: the infrared camera recognises you at the lock screen, at sudo and in polkit, while your password stays the real key.
SecurityQML · JavaScriptGitHub @ReidenXerxAvailability needs another checkOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Face unlock for Omarchy: IR face recognition on the lock screen, sudo and polkit, with TPM-sealed face data and Face ID-style password rules.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Face unlock for Omarchy. Open the lid, look at the screen, and you're in: a lock screen that recognizes you with the IR camera, plus face for sudo and polkit. The password always works, and it stays the first unlock after boot. Project page: https://duduphudu.app/omarchy-penguid/
It replaces the built-in lock screen (clonedFrom: omarchy.lock) and keeps its password and fingerprint lanes unchanged. Next to them it runs a third PAM service, omarchy-lock-face:Read the full README ↗Face unlock for Omarchy. Open the lid, look at the screen, and you're in: a lock screen that recognizes you with the IR camera, plus face for sudo and polkit. The password always works, and it stays the first unlock after boot. Project page: https://duduphudu.app/omarchy-penguid/
It replaces the built-in lock screen (clonedFrom: omarchy.lock) and keeps its password and fingerprint lanes unchanged. Next to them it runs a third PAM service, omarchy-lock-face:
As with Face ID, face unlock pauses when:
While face is paused, the lock screen's field says "Password required", the panel asks for your password, and sudo and polkit skip face and pass on a short note saying why. Typing the password resets both rules. If the last password use can't be established (for example, the session's login time is unreadable and no state file exists yet), face stays off until the password is typed. The state lives in ~/.local/state/penguid/state.json; it only protects against someone at the locked screen, not against software already running as you.
tools/check-upstream.sh compares the Omarchy lock screen and polkit dialog PenguID is based on (upstream/omarchy-4.0.3/) with the ones Omarchy ships now. Run it after Omarchy updates, and merge any changes it reports.
tools/privileged-pam.sh adds face to sudo and polkit prompts, or takes it out again:
tools/privileged-pam.sh status
sudo tools/privileged-pam.sh enable
sudo tools/privileged-pam.sh disable
At a prompt you see "Press Enter for face, or type your password". Press Enter and look at the screen, or type your password as usual; if face doesn't match, the password prompt follows. While face runs, the face HUD (below) shows the mark above every window. With the lid closed or face paused, you get the plain password prompt. After an accepted password, one more line notes the time, which turns face back on for 48 hours. The login screens are left alone on purpose.
enable does four things:
pam/pam_penguid.c into /usr/lib/security/pam_penguid.so, the small module behind the Enter prompt, which only checks whether the answer is empty, and which tells the face HUD when face starts, matches or is refused;/usr/local/lib/penguid/pam-gate, owned by root because PAM runs it as root; it switches to your account before it reads or writes your state;/etc/systemd/system/[email protected]/penguid.conf, because polkit runs its password step in a sandbox that hides /home; the drop-in shows that sandbox only ~/.local/state/penguid and the HUD's socket folder /run/user/UID/penguid;irlume auth consent hands-free), since the Enter prompt now asks first.disable turns irlume's confirmation back on first, then removes the rest.
Three limits to know. Faces refused at sudo or polkit don't count toward the 5, because irlume reports every miss to PAM the same way. Anything that answers the prompt can press Enter, including software already running as you, so a face here proves you're at the screen, not that you meant to approve. And irlume's consent switch is machine-wide: a privileged PAM stack that runs irlume without PenguID's Enter prompt would scan straight away.
Face unlock shows itself the way Face ID does on iOS: a small card with the PenguID mark, above every window and fullscreen app. It appears whenever face runs outside the lock screen, at a sudo or polkit prompt or with the panel's Test my face. The corners breathe in amber while irlume looks, a match winks in green, and a refusal shows flat red eyes with a shake, before the card fades. It never takes a click or a key, and it stays away while the lock screen, which has its own mark, is up.
The HUD listens on /run/user/UID/penguid/hud.sock, in a folder only you can open. pam_penguid.so writes one line per step there (looking sudo, granted polkit-1, refused sudo), checking the path and connecting with your file permissions, and without ever blocking the login step. omarchy-shell penguid hud looking (or granted, refused, hide) shows a state by hand.
polkit/ holds a second plugin, reidenxerx.penguid-polkit: Omarchy's polkit dialog (clonedFrom: omarchy.polkit) that words each step: "Press Enter for face", "Looking for you...", and "Type your password" when face didn't match. The face HUD draws the mark above it. PAM's notes, such as irlume's "look at the camera" or why face is paused, show under the card.
cp -r polkit ~/.config/omarchy/plugins/reidenxerx.penguid-polkit
cp LICENSE NOTICE ~/.config/omarchy/plugins/reidenxerx.penguid-polkit/
omarchy-shell shell rescanPlugins
omarchy plugin enable reidenxerx.penguid-polkit # replaces Omarchy's polkit dialog
Only one polkit agent can register per session. If another one starts first, such as hyprpolkitagent, the shell logs "An authentication agent already exists" and the other dialog keeps showing: stop that agent and restart the shell.
irlume enroll). PenguID was developed with irlume's IR-only mode (sudo irlume auth sensor ir-only --yes), where an attempt takes about 3.6 s./etc/pam.d/omarchy-lock-face. The face indicator and the lane only appear while this file exists:#%PAM-1.0
auth sufficient pam_irlume.so
auth required pam_deny.so
account include system-local-login
omarchy-shell shell rescanPlugins
omarchy plugin enable reidenxerx.penguid # replaces the built-in lock screen
omarchy plugin disable reidenxerx.penguid # brings the built-in lock screen back
Restart the shell (omarchy restart shell) after changing QML files; hot reload does not apply them.
If the lock screen ever fails to show or won't unlock:
omarchy plugin disable reidenxerx.penguid --yes.omarchy-shell lock previewFace looking shows the lock preview with the mark in one mood (ready, looking, granted, refused or paused); omarchy-shell lock hidePreview closes it. omarchy-shell lock status (or qs ipc call lock status) reports impl, face, faceAuthenticating and faceAttempts. The lock log lines (omarchy lock … face-attempt 1, face-granted, face-refused, face-stop: …) go to the shell's log.
node tests/model-test.js
node tests/polkit-test.js
python3 tests/pam-gate-test.py
See NOTICE. The lock screen and the polkit dialog are Omarchy's (MIT). The face lane comes from Omarchy PR #6863 by @mateuszkowalczyk. Face authentication is done by irlume. This plugin is GPL-3.0-or-later.