☰ Pages & contents
Lock password#
With a lock password you can lock the box instead of quitting it: the window closes, the box keeps running (open pages, logins, everything stays), and only someone who knows the password can get back in.
Setting it#
onionpod password # since v1.0.0 — or: bash setup.sh --lock-password- enter it twice in the terminal (hidden)
- Check in the launcher window — exactly where you will type it later, with 👁 to reveal it. If it does not match (3 attempts) or you cancel, nothing is set. This way you cannot lock yourself out by accident.
Only a hash is stored (PBKDF2-SHA256, 600,000 rounds, random salt) in /etc/onionpod/lock. The file belongs to root: the launcher can check it, but nobody can change it without sudo. The box itself only learns “lock on/off”.
What it does#
- Every start asks for it — not only after locking. Anyone who quits the box and starts it again cannot get in without the password.
- Not past the launcher either:
onionpod startchecks by itself (password via stdin, 2-second pause when wrong). - The box menu shows “🔒 Lock onionpod”, and ✕ on the window asks “Window closed — quit or lock onionpod?” (buttons “🔒 Lock” / “Quit”).
Locking and opening again#
- Lock: box menu → “🔒 Lock onionpod” or ✕ → “🔒 Lock”. All windows are minimized, the bar disappears (window titles would be page titles), only a black background remains; the connection to the window is cut. In the top bar: 🧅 with a padlock.
- Open: double-click “onionpod” or 🧅 → “Open …” → password → everything is back exactly as it was.
Change, remove, forget#
onionpod password # change: old password + sudo
onionpod password --off # remove: old password + sudo
onionpod password --reset # forgotten: sudo onlyAfter =reset, a locked box opens on double-click without a password (the check happens on the computer, not in the box).
docs/en/lock.md · Updated: 2026-10-05As JSON
As Markdownonionpod v1.2.1Independent, not affiliated with The Tor Project. “Tor” is a trademark of The Tor Project.