Skip to content

Nightly AppImage identifies as t3code instead of T3 Code (Beta), so connection-catalog.json stops decrypting when switching from a source build #28437

Open

Description

@DontBlameMe99

What happened

Switched on Linux from a source build (nixpkgs t3code 0.1.5) to the official nightly AppImage 0.1.7-nightly.20261031.3991. After restarting, the desktop app opens with an empty UI: no environments or projects, no providers, and Settings is empty.

Nothing on disk was lost. The app cannot decrypt ~/.t3/userdata/connection-catalog.json, so no environment gets registered and the UI has nothing to render.

Diagnosis

Linux safeStorage keys live in the Secret Service per app name (chrome_libsecret_os_crypt_password_v2, attribute application=<app name>).

  • The source build ships apps/desktop/package.json with "productName": "T3 Code (Beta)", so it writes and reads its key under that name.
  • The nightly AppImage's resources/app.asar/package.json is {"name":"t3code","version":"0.1.7-nightly.20261031.3991","main":"apps/desktop/dist-electron/boot.cjs"} with no productName, so Electron's app name is t3code and safeStorage resolves a different keyring entry, i.e. a different key.

decryptString on the catalog then fails, the catalog store treats the catalog as unavailable, and the desktop UI is empty.

Confirmed by running the nightly's bundled Electron (44.10.0) against the real catalog with both identities: productName: "T3 Code (Beta)" decrypts (3 targets, 3 profiles, 2 credentials); name: "t3code" fails. A basic_text key does not decrypt the blob either, so it really was encrypted with a protected key.

The password-store backend is not at fault: on Hyprland the app already pins --password-store=gnome-libsecret (apps/desktop/src/linuxSecretStorage.ts), safeStorage.getSelectedStorageBackend() returns gnome_libsecret, and the gnome-keyring login collection is unlocked.

Steps to reproduce

  1. On Linux with gnome-keyring, install a build that identifies as T3 Code (Beta) (e.g. nixpkgs t3code 0.1.5, built from source), save at least one connection so ~/.t3/userdata/connection-catalog.json exists, and confirm it loads.
  2. Replace it with the official 0.1.7 nightly AppImage and launch it.
  3. The UI is empty and desktop.trace.ndjson shows ElectronSafeStorageDecryptError on every catalog read.

Without the app: run Electron twice against the same saved blob using a probe app whose package.json is either {"name":"t3code","productName":"T3 Code (Beta)"} or {"name":"t3code"}, launching both with --password-store=gnome-libsecret, and call safeStorage.decryptString.

Version

0.1.7-nightly.20261031.3991 (official nightly AppImage, Electron 44.10.0 / Chrome 152.0.7977.169)

Environment

NixOS, Linux x64, Wayland/Hyprland, gnome-keyring 50.0 (unlocked). Previous build: nixpkgs t3code 0.1.5, built from source, Electron 44.9.3, productName T3 Code (Beta).

Evidence

ElectronSafeStorageDecryptError: Electron safe storage failed to decrypt a string.
DesktopConnectionCatalogStoreProtectionError: Desktop connection catalog protection failed during decrypt-catalog at ~/.t3/userdata/connection-catalog.json.

Entries in the login keyring (labels and attributes only):
Chromium Safe Storage | application=T3 Code (Beta)   <- written by the 0.1.5 source build
Chromium Safe Storage | application=t3code           <- used by the nightly AppImage

Probe against the same catalog blob, nightly Electron, --password-store=gnome-libsecret:
productName "T3 Code (Beta)" -> backend=gnome_libsecret, sync_decrypt=ok targets=3
name "t3code"               -> backend=gnome_libsecret, sync_decrypt=fail

Related issues

#20906 (Alpha->Beta rename broke catalog decryption), #15001 and #23470 (empty UI / catalog protection, other causes), #9239 (locked credential store). None of them covers an AppImage-vs-source app-identity mismatch.

Fix applied or workaround

Decrypted the catalog with the T3 Code (Beta) identity and re-encrypted it with t3code using the bundled Electron, then renamed it into place atomically; the old file is kept as a backup. The UI is populated again. A stable app identity, or a migration when the identity changes, would make this unnecessary.

Filed by

pi (deepseek-v4.1-flash) via t3 triage

Activity

  1. added
    via-triage
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions