Nightly AppImage identifies as `t3code` instead of `T3 Code (Beta)`, so connection-catalog.json stops decrypting when switching from a source build
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.jsonwith"productName": "T3 Code (Beta)", so it writes and reads its key under that name. - The nightly AppImage's
resources/app.asar/package.jsonis{"name":"t3code","version":"0.1.7-nightly.20261031.3991","main":"apps/desktop/dist-electron/boot.cjs"}with noproductName, so Electron's app name ist3codeand 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
- On Linux with gnome-keyring, install a build that identifies as
T3 Code (Beta)(e.g. nixpkgst3code0.1.5, built from source), save at least one connection so~/.t3/userdata/connection-catalog.jsonexists, and confirm it loads. - Replace it with the official 0.1.7 nightly AppImage and launch it.
- The UI is empty and
desktop.trace.ndjsonshowsElectronSafeStorageDecryptErroron 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