Skip to content

Your vault

2FA codes (TOTP)

Store authenticator secrets, see live codes, import otpauth:// links and link codes to your logins.

Note. This guide is about storing 2FA codes for other websites in your vault. To protect your own Passwords365 sign-in with two-factor authentication, see Account setup: two-factor sign-in.

What TOTP is

Most websites with two-factor authentication use TOTP (time-based one-time passwords, RFC 6238): when you turn it on, the site gives you a secret key, usually as a QR code. An authenticator app combines that secret with the current time to make a 6-digit code that changes every 30 seconds. Passwords365 can be that authenticator: it stores the secret, encrypted, and shows the current code.

Adding a 2FA entry

  1. On the website, start turning on two-factor authentication. When it shows a QR code, choose its "can't scan?" or "enter key manually" option to see the secret key or an otpauth:// link.
  2. In Passwords365, choose New, then 2FA entry.
  3. Paste the otpauth:// link and choose Fill in, or type the Service and paste the Secret key.
  4. Check the current code shown under the form, and enter it on the website to finish its setup.
  5. Paste the site's backup or recovery codes into Recovery codes if it gave you any, then Save.

The secret key and its settings

Secret keys are base32: letters A to Z and digits 2 to 7. Spaces and dashes are ignored, and case doesn't matter. Most sites use the defaults: SHA1, 6 digits, 30 seconds. If a site says otherwise, set Algorithm (SHA1, SHA256 or SHA512), Digits (6, 7 or 8) and Period (10 to 300 seconds); an otpauth:// link sets them for you.

Viewing and copying codes

Open Vault 2FA codes. Each entry shows its current code and a ring that empties as the code's time runs out (it turns amber in the last 5 seconds), with the seconds left. Codes refresh automatically. Choose the clipboard button to copy a code.

Tip. Codes are computed in your browser from the time on your device. If a code is refused, check that your device's clock is set automatically. Code generation needs a secure (HTTPS) connection.

Recovery codes

Sites often give you one-time backup codes for when you lose your authenticator. Store them in the entry's Recovery codes field; they are hidden until you reveal them.

Link a 2FA entry to the login it belongs to, so you see the login's code right in its details. A login can have several linked 2FA entries.

  • From the login: open it; under Two-factor codes, pick an entry in Link a 2FA entry, or choose New 2FA entry to create one that is linked straight away (its service and account are filled in from the login).
  • While editing the login: tick entries under Linked 2FA entries.
  • Unlink in the login's details removes the link; both items stay in your vault.

A 2FA entry's details show which logins use it. In the list, logins with a linked entry show a 2FA badge.

Sharing 2FA codes

When you share a login, its linked 2FA entries are only included if you tick Include the associated 2FA entries. See Secure sharing.

Something unclear or out of date? Tell us.