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 — Standard desktop secret store integration for App Bundles (RM #7449) · Issue #5123 · pgadmin-org/pgadmin4

Standard desktop secret store integration for App Bundles (RM #7449) #5123

New issue
Copy link
New issue
Copy link
Closed
Closed
Standard desktop secret store integration for App Bundles (RM #7449)#5123
Copy link
Assignees
FaharAbbasRizvi
Labels
Feature
Milestone
7.2

Description

@dpage
dpage
opened on Jun 6, 2022
Issue body actions

Issue migrated from Redmine: https://redmine.postgresql.org/issues/7449
Originally created by Tamir Daniely at 2022-06-06 08:31:35 UTC.

Support standard desktop secret stores (OSX keychain, Windows Credential Store, Gnome Keyring...) as alternative configuration for master password mechanism in desktop app targets.

Reacted by Stijn Spijker

Activity

Next
  1. dpage commented on Jun 13, 2022

    @dpage
    dpage
    on Jun 13, 2022
    ContributorAuthor
    More actions

    Comment migrated from Redmine: https://redmine.postgresql.org/issues/7449#note-1
    Originally created by Akshay Joshi at 2022-06-13 05:21:50 UTC.

    Should be implemented in Desktop Mode.

    Looks like https://pypi.org/project/keyring/ might provide the infrastructure but has some restrictions.

    There's also https://pypi.org/project/macos-keychain/ for macOS

    Redmine ticket header update:

    Name Old Value New Value
    Sprint changed Ready
  2. akshay-joshi
    added this to Ready for Sprint Featureson Sep 20, 2022
  3. akshay-joshi
    added
    EDB Sprint 130
    and removed
    Ready
    on Nov 17, 2022
  4. akshay-joshi
    added
    EDB Sprint 133
    and removed
    EDB Sprint 130
    on Dec 7, 2022
  5. akshay-joshi
    added this to Current Sprint (213) and removed this from Ready for Sprint Featureson Jan 4, 2023
  6. akshay-joshi
    moved this to 🆕 New in Current Sprint (213)on Jan 4, 2023
  7. akshay-joshi
    added
    EDB Sprint 134
    and removed
    EDB Sprint 133
    on Jan 18, 2023
  8. akshay-joshi
    added this to Ready for Sprint Features and removed this from Current Sprint (213)on Feb 1, 2023
  9. akshay-joshi
    added
    EDB Sprint 135
    and removed
    EDB Sprint 134
    on Feb 1, 2023
  10. 55 remaining items

  11. FaharAbbasRizvi commented on May 29, 2023

    @FaharAbbasRizvi
    FaharAbbasRizvi
    on May 29, 2023
    Contributor
    More actions

    @nikhil-mohite

    I can see the master password dialog in the latest snapshot on fresh installaion, I have tested on Ubuntu 23.04.
    Screen Shot 2023-05-29 at 8 46 11 AM

  12. FaharAbbasRizvi
    assigned
    nikhil-mohite
    on May 29, 2023
  13. nikhil-mohite commented on May 29, 2023

    @nikhil-mohite
    nikhil-mohite
    on May 29, 2023
    Contributor
    More actions

    @nikhil-mohite

    I can see the master password dialog in the latest snapshot on fresh installaion, I have tested on Ubuntu 23.04. Screen Shot 2023-05-29 at 8 46 11 AM

    Hi @FaharAbbasRizvi, If pgAdmin is unable to use the OS password manager then it will use the Master password, this is expected behavior.

  14. nikhil-mohite
    removed their assignment
    on May 29, 2023
  15. adityatoshniwal commented on May 29, 2023

    @adityatoshniwal
    adityatoshniwal
    on May 29, 2023
    Contributor
    More actions

    @nikhil-mohite
    I can see the master password dialog in the latest snapshot on fresh installaion, I have tested on Ubuntu 23.04. Screen Shot 2023-05-29 at 8 46 11 AM

    Hi @FaharAbbasRizvi, If pgAdmin is unable to use the OS password manager then it will use the Master password, this is expected behavior.

    Hi @nikhil-mohite, We have logs for that right, if there is any exception when trying to use OS secret? We should check if this is expected by checking the underlying error first.

  16. FaharAbbasRizvi commented on May 29, 2023

    @FaharAbbasRizvi
    FaharAbbasRizvi
    on May 29, 2023
    Contributor
    More actions

    This functionality has been tested on the latest snapshot build:

    https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2023-05-29

  17. FaharAbbasRizvi
    closed this as completedon May 29, 2023
  18. FaharAbbasRizvi
    moved this from In Testing to ✅ Done in Current Sprint (213)on May 29, 2023
  19. akshay-joshi
    added a commit that references this issue on May 30, 2023

    Ensure migrate stored password dialogue is shown only if any server p…

    cbb89b0
  20. 1Map commented on Jun 2, 2023

    @1Map
    1Map
    on Jun 2, 2023
    More actions

    The latest version does not work as I cannot get past the screen shown below. I am on Windows 11 and, YES, the master password I type is correct. Keep saying: "Incorrect master password". I also tried running PGAdmin as an administrator, but no luck.

    image
  21. akshay-joshi
    removed this from Current Sprint (213)on Jun 7, 2023
  22. gpchelkin commented on Jun 11, 2023

    @gpchelkin
    gpchelkin
    on Jun 11, 2023
    More actions

    On KDE (I use Ubuntu with KDE5 aka Kubuntu) KDE Wallet is used as main default keyring.
    And dbus-python module needs to be installed as per https://github.com/jaraco/keyring:

    KDE4 & KDE5 KWallet (requires dbus)

    I had got an error in pgAdmin 4 7.3 desktop, telling me that it is not installed. So I did this:

    sudo -s
    cd /usr/pgadmin4/venv
    bin/pip install dbus-python

    And it works now. So I guess it should be enough to just add dbus-python to https://github.com/pgadmin-org/pgadmin4/blob/master/requirements.txt

    I also added this to my ~/.config/python_keyring/keyringrc.cfg just in case:

    [backend]
    default-keyring=keyring.backends.kwallet.DBusKeyring

    UPD: submitted an issue #6522

  23. akshay-joshi
    added 3 commits that reference this issue on Jun 15, 2023

    Text improvement for the OS secret store feature. pgadmin-org#5123

    2a692c9

    Ensure migrate master password dialog is not shown with a fresh insta…

    c974ff9

    Ensure migrate stored password dialogue is shown only if any server p…

    f838e6e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @FaharAbbasRizvi
    FaharAbbasRizvi

Labels

Feature

Type

No type

Projects

No projects

    Milestone

    • 7.2

    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.