Closed wh1tevs closed 3 years ago
How are you starting gpg-agent
?
Does pinentry-gtk-2
work?
If it is running via systemd --user
you have to make sure that gpg-agent
(and therefore pinentry-bemenu
) have access to the WAYLAND_DISPLAY
env variable.
How are you starting gpg-agent?
via systemd
Does pinentry-gtk-2 work?
gtk-2, qt, gnome3, curses works
If it is running via systemd --user you have to make sure that gpg-agent (and therefore pinentry-bemenu) have access to the WAYLAND_DISPLAY env variable.
$ systemctl --user show-environment | rg -i display DISPLAY=:0 WAYLAND_DISPLAY=wayland-1
Did you restart gpg-agent after changing the settings?
Your running gpg-agent is older than the first commit to pinentry-bemenu
:-)
Does it work without starting through gpg-agent?
$ pinentry-bemenu
OK pinentry-bemenu v0.4.0
# send the "getpin" command manually, and look if the menu pops up
getpin
Did you restart gpg-agent after changing the settings? Your running gpg-agent is older than the first commit to
pinentry-bemenu
:-)
rebooted 5 mins ago, nothing changed
Does it work without starting through gpg-agent?
$ pinentry-bemenu OK pinentry-bemenu v0.4.0 # send the "getpin" command manually, and look if the menu pops up getpin
this works, popup visible
Reading your report more closely I can now reproduce the issue. So far I only used this tool for unlocking ssh keys. For GPG keys it needs to handle more options.
Thanks for the report!
okay, waiting for it. also bemenu
from HEAD
has password hiding option, but it dont included in latest release in repo.
https://github.com/Cloudef/bemenu/commit/52547807b06912d9fce5470bb8ce314e8d5ccc8d
This is fixed in v0.5.0
FYI the upcoming password hiding function is already wired up to be used as soon as it's available from bemenu.
now works. Thanks!
Hello i install it from aur, and set
pinentry-program /usr/bin/pinentry-bemenu
in.gnupg/gpg-agent.conf
and it's don't work. inpass
it's just an errorgpg: decryption failed: No secret key
, i aslo try to change my gpg key's expire date and have thisi trying to use
BEMENU_BACKEND=curses
but it's no take effect