You are not logged in.
SOLVED: You have to supply a pinentry command on pinentry's stdin. See the following for a list of available commands:
$ echo HELP | pinentry
$ pinentry <<< HELPSo, this worked:
$ echo GETPIN | pinentry
$ pinentry <<< GETPINWish that was clear reading the info pages/manual, but it's not.
I've tried running GNU pinentry from the terminal, and each invocation appears that I have run pinentry-tty. No window pops up, I just see the phrase:
OK Pleased to meet youAnd it appears to be prompting for input. I've tried running various GUI and even the ncurses version:
pinentry-gtk-2
pinentry-qt
pinentry-gnome3
pinentry-ncurses
All of them give the same behavior, it looks like pinentry-tty is being called. I've tried running it from my desktop's launcher, and nothing shows up. I have DISPLAY set to
:0. Other Xorg programs launch OK.
I'm trying to see if I can use a GUI pinentry to use as input to a script. _/usr/bin/pinentry_ is a /bin/sh script, and it tests whether the GTK/GNOME/QT X11 libraries are available, then executes the appropriate command. But all of them look like pinentry-tty.
Last edited by ectospasm (2022-08-24 01:13:30)
Offline
Because that is not how pinentry works, try
echo GETPIN | pinentryOffline
Because that is not how pinentry works, try
echo GETPIN | pinentry
Oh, I see, you have to provide a specific command to pinentry. I had tried the following:
$ echo "blah" | pinentry-gnome3But that gave this error:
OK Pleased to meet you
ERR 536871187 Unknown IPC command <User defined source 1>I tried the following, but I didn't understand the clues it gave:
$ pinentry-gnome3 <<< "HELP"So, when I tried your command verbatim (also the second form below worked):
$ echo GETPIN | pinentry-gnome3
$ pinentry-gnome3 <<< GETPINBoth of these did what I expect, showed a GUI/GTK3 dialog. I think this is solved!
Offline