GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pgAdmin desktop mode fails with CryptKeyMissing on Debian 13 (Trixie) — OS keyring unavailable in RDP session · Issue #10107 · pgadmin-org/pgadmin4

pgAdmin desktop mode fails with CryptKeyMissing on Debian 13 (Trixie) — OS keyring unavailable in RDP session #10107

New issue
Copy link
New issue
Copy link
Closed
#10168
Closed
pgAdmin desktop mode fails with CryptKeyMissing on Debian 13 (Trixie) — OS keyring unavailable in RDP session#10107
#10168
Copy link
Labels
Bug
Milestone
9.17

Description

@hiteshjambhale
hiteshjambhale
opened on Jun 18, 2026
Issue body actions

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

Activity

  1. hiteshjambhale
    added
    Bug
    on Jun 18, 2026
  2. hiteshjambhale commented on Jun 18, 2026

    @hiteshjambhale
    hiteshjambhale
    on Jun 18, 2026
    ContributorAuthor
    More actions

    Sharing a Workaround for the issue:
    Add the following to /usr/pgadmin4/web/config_distro.py:

    USE_OS_SECRET_STORAGE = False

    After this restart pgadmin4, It should prompt for the password

  3. asheshv
    closed this as completedin #10168on Jul 24, 2026
  4. asheshv
    added a commit that references this issue on Jul 24, 2026

    fix: detect a selected-but-unusable OS keyring and fall back graceful…

    This issue will close once commit 6ad6024 is merged into the 'master' branch.
    6ad6024
  5. asheshv
    added this to the 9.17 milestone on Jul 31, 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

      • 9.17

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.