Skip to content

Fetching password through secret service fails if "Confirm when passwords are retrieved" is checked #9334

@phuhl

Description

@phuhl

Overview

When having the option "Confirm when passwords are retrieved by clients" is checked in the Secret service tab and I want to access a password (in my case through emacs' secrets.el) a confirmation prompt should pop up. Instead nothing happens and the client recieves an "org.freedesktop.Secret.Error.IsLocked".

image

Steps to Reproduce

  1. Enable a database "MyDb" with an entry "MyPassword" to be queriable through secret service
  2. In Emacs run:
    (require 'secrets nil t)
    (secrets-open-session)
    (secrets-unlock-collection "MyDb")
    (secrets-get-secret  "MyDb" "MyPassword")
    
  3. Error org.freedesktop.Secret.Error.IsLocked

Expected Behavior

A prompt should appear that let's me accept the access request. If I accept, in emacs the password should be retrieved.

Actual Behavior

Emacs recieves IsLocked.

Context

When turning the "Confirm when passwords are retrieved by clients" toggle off, the before-mentioned steps succeed and retrieve the password.

KeePassXC - Version 2.7.4
Revision: 63b2394

Qt 5.15.9
Debugging mode is disabled.

Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 6.2.10-arch1-1

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare
  • YubiKey
  • Secret Service Integration

Cryptographic libraries:

  • Botan 2.19.3

Operating System: Linux
Desktop Env: river
Windowing System: Wayland

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions