https://bugs.kde.org/show_bug.cgi?id=404136

            Bug ID: 404136
           Summary: When GPG is configured to use pinentry-kwallet,
                    kwalletmanager hangs when opening a wallet that is
                    GPG-encrypted
           Product: frameworks-kwallet
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: va...@kde.org
          Reporter: hoheneg...@web.de
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

It takes a very long time to open a GPG wallet encrypted wallet when
pinentry-kwallet is configured in ~/.gnupg/gpg-agent.conf by means of the
following line:
pinentry-program /usr/bin/pinentry-kwallet

Quite obviously, the program enters some sort closed loop here, as it calls
kwallet while kwallet tries to open the present wallet. Apparently, it exits
only after some timeout. 

Workaround: One can kill kwalletd to accelerate the process after pressing
open.

STEPS TO REPRODUCE
1. Add 
pinentry-program /usr/bin/pinentry-kwallet 
to ~/.gnupg/gpg-agent.conf and run 
gpgconf --kill gpg-agent
2. Create a new GPG encrypted wallet.
3. Try to open the wallet by selecting it and pressing open in kwalletmanager.

OBSERVED RESULT
Should hang and take a very long time until the password dialog is shown. Then,
after password entry and confirmation, it should hang again.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to