Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79806 - [pinentry] version 1.2.1-2 not working here anymore
Attached to Project:
Arch Linux
Opened by Michael Ortmann (mortmann) - Thursday, 28 September 2023, 07:56 GMT
Last edited by Toolybird (Toolybird) - Friday, 29 September 2023, 22:08 GMT
Opened by Michael Ortmann (mortmann) - Thursday, 28 September 2023, 07:56 GMT
Last edited by Toolybird (Toolybird) - Friday, 29 September 2023, 22:08 GMT
|
DetailsDescription:
after updating from pinentry 1.2.1-1 to 1.2.1-2 it doesnt work here anymore. downgrade to pinentry 1.2.1-1 solves the problem. if i execute "gpg2 -d foo.gpg" with version 1.2.1-1 pinentry works fine if i execute "gpg2 -d foo.gpg" with version 1.2.1-2 pinentry doesnt show up and gpg reports: gpg: public key decryption failed: No pinentry gpg: decryption failed: No secret key if i "strace gpg2 -d foo.gpg" i get for version 1.2.1-1: read(5, "INQUIRE PINENTRY_LAUNCHED 6547 q"..., 1002) = 84 for version 1.2.1-2: read(5, "ERR 67108949 No pinentry <GPG Ag"..., 1002) = 37 |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 29 September 2023, 22:08 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Friday, 29 September 2023, 22:08 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
but its still broken for tty
FS#77283). The second was to "Enable Caps Lock checking for pinentry-qt" (FS#75740) which involved makedepending against 'qt5-x11extras' and 'kwayland', which seems the most relevant to your circumstances.What environment are you running this in? What terminal emulator? Does it work when run directly on the linux console [1] (tty)?
[1] https://wiki.archlinux.org/title/Linux_console
pacman -Syuv
and reboot into console (plain tty, no x, no wayland)
pinentry 1.2.1-2 is installed and doesnt work
then if i downgrade pinentry via
pacman -U /var/cache/pacman/pkg/pinentry-1.2.1-1-x86_64.pkg.tar.zst
and again reboot into console (plain tty, no x, no wayland)
pinentry 1.2.1-1 is installed and doesnt work
so, lets check configuration.
in ~/.gnupg/gpg-agent.conf i have:
pinentry-program /usr/bin/pinentry-qt
extra/qt5-x11extras 5.15.10-1 (qt qt5) [installed]
extra/kwayland 5.110.0-1 (kf5) <- NOT INSTALLED
thats why i also installed kwayland for a test
when i then start sway, pinentry / pinentry-qt works, nice
and after reboot in console works now also :)
so, question is, is kwayland really optional for pinentry if we need this for console?
when there is a wayland session open already, pinentry stops working in any tty-console when i login there,
but that may be another issue.
> pinentry-program /usr/bin/pinentry-qt
Hmm, it would have been good if you had mentioned this from the outset. It seems you missed the message from pacman at upgrade:
New optional dependencies for pinentry
kwayland: qt backend
qt5-x11extras: qt backend
which means if using the qt backend, you now *must* install the additional dependencies. See also
FS#79817