Skip to content

bug: check saved passwords survive a reboot on Linux #877

Closed

Description

@EVWorth

On Linux, connection passwords are stored with linux-keyutils-keyring-store (src-tauri/Cargo.toml:83), which uses the kernel keyutils facility. Kernel keyrings live in memory: session and user keyrings are discarded at logout or reboot unless something persists them. If that's what happens here, Linux users lose every saved password on restart and have to re-enter them.

Reproduce

  1. On Linux, save a connection with a password and connect.
  2. Reboot, or log out and back in.
  3. Open SQLPilot and connect with the same profile.

Expected: it connects without asking. Suspected: the password is gone.

keyctl show @u before and after the reboot shows whether the entry survived.

Cause

Unverified. The Secret Service store (GNOME Keyring or KWallet over D-Bus) persists on disk; the keyutils store does not, by design. keyring-core offers both.

Fix

If the password is lost: use the Secret Service store as the Linux default, keep keyutils as a fallback for systems without a Secret Service, and document the behaviour in docs/design/ARCHITECTURE.md §6.1 and docs/SECURITY.md. If it survives, close this issue and note why in §6.1.

Activity

  1. added
    bug
    on Oct 24, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions