Skip to main content

Identity, security, and backups

Open Identity from the sidebar, from More on a phone, or via Settings → General → Identity. Everything related to your cryptographic identity, recovery phrase, PIN, Auto-lock, and exports lives here.

Your identity​

Your identity is a Reticulum cryptographic keypair. Ratspeak derives your LXMF address (the 32-character hex address you share with contacts) from it. Software identities live under your OS data directory:

<data>/.ratspeak/identities/<hash>/
  • Unprotected software keys are saved as identity.
  • PIN-protected software keys (and their stored recovery phrase) are encrypted in identity.enc.
  • Desktop hardware-key identities store metadata in identity.hwid; the private key stays on the YubiKey and cannot be exported.

Select any identity on the Identity page for Profile (status), Security and backup, Addresses (LXMF address and identity hash), Details, and Share contact card (QR code).

Names and multiple identities​

  • Default names: Leaving the display name blank assigns a deterministic verb-and-animal name (like Leaping Frog) derived from your address.
  • Renaming: Select Rename (pencil icon, up to 32 characters). Ratspeak announces the new name and updates it everywhere except per-hub channel nicknames you set manually.
  • Multiple identities: Select Add identity (+) to create, restore, or add a desktop hardware key. Each identity has its own LXMF address, contacts, message history, and Offline Inbox preference. Only one identity is active at a time — inactive identities do not receive live messages in the background, though Offline Inbox holds mail until you switch back. Your first identity cannot be deleted individually (use Settings → Storage → Reset Ratspeak to start fresh).

Recovery phrase​

New software identities derive from a 12-word BIP-39 recovery phrase. Write the words down in order and keep them offline.

Recovery phrase scope

A recovery phrase restores your identity and LXMF address only — not your message history, contacts, or app settings. Anyone with those 12 words can impersonate your identity on the network.

  • Viewing again: On the Identity page, choose View beside Recovery phrase (requires confirmation if unprotected, or your PIN once PIN-protected). Hardware-key identities have no stored phrase in the app.
  • Clipboard safety: Copying a phrase excludes it from OS clipboard history where supported and clears it after 1 minute (counting sleep time) unless replaced, and on desktop quit. On iOS/iPadOS it does not sync to Handoff/Universal Clipboard. On Android, background clipboard clearing runs after 1 minute even if you copied something else.
  • Legacy keys: Identities created before BIP-39 support have no recovery phrase — back them up with a PIN-encrypted .rsi export or full data-directory backup.

PIN protection and Auto-lock​

What PIN protection does — and does not — encrypt

A PIN encrypts your on-disk identity key and stored recovery phrase (Argon2id + authenticated encryption). It does not encrypt the SQLite message database or block someone using an already-unlocked session. Use OS full-disk encryption and screen lock to protect local history.

  • Set / Change / Remove PIN: On the Identity page under Security and backup. Required at launch and when switching back to the identity (not per message).
  • Forgotten PINs cannot be recovered. Keep your 12-word phrase (or a separately PIN-protected .rsi export) outside the locked vault.
  • Auto-lock: Available for any PIN-protected software or hardware identity (5 minutes to 1 hour, or Off). The timer counts from unlock including system sleep — active use does not reset it, and it still locks if the network is stopped. Locked identities hide their messages and contacts until unlocked again.

Hardware keys (YubiKey — desktop experimental)​

On desktop, you can back an identity with a supported YubiKey 5-class PIV token via Use a hardware key (setup) or Add hardware key (Identity page). Choose Recoverable (derives from a 12-word phrase you write down) or Key only (no backup; losing the token loses the identity).

YubiKey PIV reset wipes all PIV apps on the token

Resetting the PIV application removes all PIV user keys and certificates on that token — including those used by other software — and restores default PIV credentials. Check what else uses the token before proceeding. (On supported YubiKey 5 tokens, a PIV reset does not touch FIDO/passkey or OTP apps.)

Hardware-key identities cannot be exported as key files and are desktop-only (requiring desktop PC/SC). On mobile, restore a Recoverable identity using its 12-word phrase. See Ratkey for technical requirements.

Backing up and migrating​

Choose the backup type that matches what you need to keep:

Backup methodRestoresDoes not restore
12-word recovery phraseRecoverable identity & LXMF addressMessages, contacts, settings
PIN-encrypted .rsi exportSoftware identity, metadata & stored phraseMessages, contacts, settings
Full .ratspeak folder backupComplete local profile (DB, contacts, identities, settings)Attached hardware key, external daemon configs

Task: Move your identity to a new phone or computer​

  1. On the old device, open Identity → Export… → Ratspeak backup (.rsi) and set a backup PIN — or have your 12-word recovery phrase ready.
  2. On the new device, choose Restore an identity (setup) or Identity → Import or restore, pick the matching type, and finish.
  3. Confirm the restored LXMF address matches the old device before sharing it.

Task: Back up or move a full desktop profile (including messages)​

  1. Quit Ratspeak completely via Settings → Shut down or the app/tray Quit menu (closing the window can leave SQLite WAL files open).
  2. Copy the entire .ratspeak directory from your platform data folder (or RATSPEAK_DATA_DIR).
  3. Store the copy encrypted — remember an identity PIN does not encrypt ratspeak.db.
Database upgrade is one-way from 1.0.44 to 1.1.0+

Ratspeak 1.0.44 and earlier cannot open a database upgraded by 1.1.0+. Keep a pre-update backup if you may need to roll back. Never copy a single identity subdirectory by hand in place of Import or restore.

Next steps​