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

Torsten Eichstädt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|RESOLVED                    |REOPENED
         Resolution|UPSTREAM                    |---

--- Comment #7 from Torsten Eichstädt <[email protected]> ---
(In reply to Ingo Klöcker from comment #6)
Yes, /usr/local/bin/pinentry is a symlink to pinentry-ncurses

> Or a
> script? On my Linux system /usr/bin/pinentry is a shell script that tries to
> figure out which pinentry program to call, but according to the copyright
> notices that seems to be a third-party thing.
> 
So then it's a design bug IMHO.  How can pinentry know if there is a TTY or a
GUI?
There should be an option (flag) that the calling application can set to tell
whether to use the TTY or the GUI version, and which one (Qt or other).  IIUC
that must be set by kleopatra when calling gpgme-agent (or gpgsm) and that must
call the right pinentry.

> You configure in ~/.gnupg/gpg-agent.conf which pinentry program gpg-agent
> shall use. See `man gpg-agent`.

No, this is not the correct solution: maybe from remote over ssh I want to use
the TTY version, next day at home I want to use kleopatra and thus the GUI (Qt)
version.

Note that pinentry-qt works fine (see screenshot).

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

Reply via email to