Documentation · Passwords and TOTP · TOTP

TOTP

How the app calculates TOTP codes, what is stored, and what can't be changed after creation.

What TOTP is

is a one-time code for two-factor verification. The app calculates it on the device from the secret the website gave you and the system clock; no internet is needed. The code changes every 30 or 60 seconds, depending on the entry.

On a computer

  1. The ring counts down to the next code: it turns yellow at 10 seconds left and red at 5.
    The TOTP Codes column. The countdown ring (1), the code (2), and the copy (3), edit (4), and delete (5) buttons are outlined.
  2. Clicking the code copies it.
  3. Copy also copies the code.
  4. Edit opens the entry for editing.
  5. Delete deletes the entry (see below).

On a phone

  1. Tapping a row copies the code; a long press opens a sheet with Copy, Edit, and Delete.
    The 2FA list on a phone. An entry row (1) and the add button (2) are outlined.
  2. The plus button adds an entry (see Add TOTP).

A copied code is cleared from the clipboard after 30 seconds.

Add TOTP

On a computer

  1. Click Add TOTP (+ in the column header).
    The header of the TOTP Codes column. The Add TOTP button is outlined (1).
  2. On the Manual tab, fill in the Account name and the Issuer (optional).
    The Add TOTP panel, Manual tab. The Account name and Issuer fields (2), the Secret field (3), and the Save button (4) are outlined.
  3. Enter the Secret (Base32) and, if needed, tags.
  4. Click Save.

Instead of typing, you can open the QR Screenshot tab: Select image and choose a screenshot with the QR code. When the code is found, the app says QR detected — review fields below, shows the hidden secret, and fills in the name, issuer, algorithm, digits, and period itself.

The Add TOTP panel. The QR Screenshot tab is outlined.

On a phone

  1. Choose a tab: Manual, Link, or Scan. The Link tab accepts a whole otpauth:// link.
    The Add TOTP screen on a phone, Manual tab. The method tabs (1), the Advanced row (2), and the Save button (3) are outlined.
  2. The algorithm, digits, and period are hidden under the Advanced row. Below are tags and the Link note field.
  3. Tap Save.
  • The secret is Base32 (letters A–Z, digits 2–7) or hex. The app removes spaces, hyphens, and colons by itself.
  • Algorithm: SHA1 (default), SHA256, or SHA512; Digits: 6 or 8; Period: 30 or 60. Change them only if the website says so. When you add an entry from a QR code, they are detected automatically.

Edit and delete

  • In the Edit TOTP window, you can change the name, issuer, and tags (on a computer, also linked notes, if the Notes module is on). On a computer, you can replace the secret with the Change key button (tabs Enter again and Scan QR): Old codes will stop working. If the new key comes from a QR link, the algorithm, digits, and period change with it; they can't be changed separately. On a phone, the secret can't be changed.
  1. Click the trash can in the row (on a phone, use the long-press sheet).
    A TOTP entry. The trash can button is outlined (1).
  2. Confirm: Delete TOTP "name"?
    The Delete TOTP github-work confirmation window. The Delete button is outlined (2).

A deleted entry can't be restored. The link to it is removed from passwords, and with sync on, the entry disappears on your other devices. Without the entry, you won't get a code to sign in to the website, so first turn on another verification method on the website.

Scan with the camera (phone)

  1. On a phone: 2FA → plus → the Scan tab. The first time, the phone asks for camera access.
    The Add TOTP screen on a phone. The Scan tab is outlined (1).
  2. A recognized code opens Add TOTP on the Link tab with the link already pasted: check the issuer and the name, then tap Save.

Security

  • Unlike passwords, the secret is stored in the database unencrypted. Lists never hand the secret to the interface, only the finished codes; on a computer, the key can be shown and copied in the edit window while the app is unlocked.
  • If Sync is on, the secret is sent to your other devices as is. Protect your devices with a lock: App lock.

Errors

The website doesn't accept the code

The code is calculated from the device clock: if the time is off, it won't match the website's code. Turn on automatic time setting in the system. If that doesn't help, compare the algorithm, digits, and period with the website's requirements.

Invalid secret: not recognised as Base32 or hex. Check the key and try again.

The secret is neither Base32 nor hex. Copy it from the website again or add the entry from the QR code.

Secret is required · Account name is required

A required field is empty.

No QR code found in image

The picture has no QR code, or it is blurry. Take a screenshot where the whole code is visible.

Invalid secret or URI

The Link tab on a phone couldn't parse the link. Paste it whole, starting with otpauth://, or enter the secret on the Manual tab.

Camera access is denied. Allow it in the app settings.

Open settings opens the app's system settings.

This QR code is not a 2FA (otpauth) code

The camera read a QR code, but not a two-factor one. Tap Try again and point the camera at the website's code.

The camera is not available. Allow camera access in the system settings, or add the code by its link.

Paste the link on the Link tab or enter the secret on the Manual tab.