Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Two-factor

Two-factor adds a 6-digit code from an authenticator app to signing in on a new Mac or in the web dashboard. It needs a sync server, Qubit Cloud or your own.

Turn it on

  1. Open Settings
    In SSH mode, choose Settings at the bottom of the sidebar. Under Security, next to Two-factor, choose Turn on.
  2. Add the secret to your authenticator
    The Two-factor authentication sheet shows a secret. Add it to your authenticator app, or choose Copy otpauth link and open the link on a device that has one.
    The Two-factor authentication sheet with the secret, Copy otpauth link and a Code field
    The Two-factor authentication sheet with the secret, Copy otpauth link and a Code field
  3. Confirm with a code
    Type the code your app shows into Code and choose Turn on.
From then on, signing in asks for a Two-factor code after your master password. Your Profile in the web dashboard shows whether it's on; you can only turn it on from the app.

How codes are checked

  • Codes are standard TOTP, accepted within ±30 seconds of the server's clock.
  • Each code works once.
  • The TOTP secret is stored on the server encrypted under the server's QUBIT_SECRET_KEY.
On a self-hosted server, two-factor depends on QUBIT_SECRET_KEY. Restore a database without the right key and two-factor sign-in fails for everyone who turned it on. See Backups.