Skip to content
☁️ HitKeep Cloud is coming! Join the Early Access waitlist →

Account Recovery

A user has lost their authenticator app, their hardware key, or their phone — and they cannot log in. Because HitKeep stores all data locally and has no external identity provider, recovery is performed by an administrator with shell access to the server running HitKeep.

The --db flag defaults to hitkeep.db in the working directory. Pass it explicitly if your database lives elsewhere (e.g. /var/lib/hitkeep/data/hitkeep.db).

Terminal window
sudo systemctl stop hitkeep

Then run the recovery command and restart:

Terminal window
hitkeep recover disable-2fa \
--email locked-user@example.com \
--db /var/lib/hitkeep/data/hitkeep.db
sudo systemctl start hitkeep

Advise the user to:

  1. Log in with their existing password.
  2. Immediately re-enroll a second factor under Settings → Security.
  3. If their password may also be compromised, change it under Settings → Security → Change Password.

Need a self-service account recovery flow with identity verification? HitKeep Cloud → includes automated, audited recovery workflows.