Describe the bug
In desktop mode on Debian 13 (Trixie), pgAdmin fails with CryptKeyMissing when trying to register or connect to a server. The OS secret storage (keyring) fails silently — likely because no D-Bus session or GNOME Keyring daemon is available in the RDP environment — leaving the crypt key unset. The same setup works correctly on Debian 12.
To Reproduce
Install pgAdmin on Debian 13 (Trixie) — DEB package
Launch pgAdmin in desktop mode
Try to register a new server and save a password
Expected behavior
Server registers and connects successfully without any encryption key errors.
Error message
pgadmin.utils.exception.CryptKeyMissing: Crypt key is missing.
Screenshots
(add screenshot of the error here)
Desktop:
OS: Debian 13 (Trixie)
pgAdmin version: (fill in your version)
Mode: Desktop
Package type: DEB
Additional context
Works correctly on Debian 12 (same setup, same pgAdmin version)
Works correctly on Debian 13 in server mode (web browser access)
Root cause: USE_OS_SECRET_STORAGE = True by default, but the OS keyring is unavailable in the RDP session on Debian 13
Describe the bug
In desktop mode on Debian 13 (Trixie), pgAdmin fails with CryptKeyMissing when trying to register or connect to a server. The OS secret storage (keyring) fails silently — likely because no D-Bus session or GNOME Keyring daemon is available in the RDP environment — leaving the crypt key unset. The same setup works correctly on Debian 12.
To Reproduce
Install pgAdmin on Debian 13 (Trixie) — DEB package
Launch pgAdmin in desktop mode
Try to register a new server and save a password
Expected behavior
Server registers and connects successfully without any encryption key errors.
Error message
pgadmin.utils.exception.CryptKeyMissing: Crypt key is missing.
Screenshots
(add screenshot of the error here)
Desktop:
OS: Debian 13 (Trixie)
pgAdmin version: (fill in your version)
Mode: Desktop
Package type: DEB
Additional context
Works correctly on Debian 12 (same setup, same pgAdmin version)
Works correctly on Debian 13 in server mode (web browser access)
Root cause: USE_OS_SECRET_STORAGE = True by default, but the OS keyring is unavailable in the RDP session on Debian 13