🧅 onion-boxDocs › Lock password DEEN
☰ 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
  1. enter it twice in the terminal (hidden)
  2. 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#

Locking and opening again#

Change, remove, forget#

onionpod password            # change: old password + sudo
onionpod password --off      # remove: old password + sudo
onionpod password --reset    # forgotten: sudo only

After =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.