| Summary: | app-crypt/pinentry disables gtk-2 pinentry creation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Petre Rodan <pr.gentoo-acct> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge.info
proposed patch |
||
Created attachment 687609 [details]
emerge.info
Created attachment 687612 [details, diff]
proposed patch
nevermind, I just read about gtk2's end of life. sorry for the noise. |
it looks like since -r4 the gtk use flag only compiles the pinentry-gnome3 and disables the pinentry-gtk2 binary altogether. I do not have a full gnome desktop to use -gnome3 tho. adding $(use_enable gtk pinentry-gtk2) and removing the disable-pinentry-gtk2 in the ebuild fixes my problem. [ebuild R ] app-crypt/pinentry-1.1.0-r4::gentoo USE="caps gtk ncurses -emacs -gnome-keyring -qt5" 0 KiB please don't remove functionality present in the upstream package. Reproducible: Always Steps to Reproduce: 1. emerge pinentry with +gtk 2. fail to find /usr/bin/pinentry-gtk-2 3. Actual Results: ~/.gnupg $ pinentry-gnome3 No $DBUS_SESSION_BUS_ADDRESS found, falling back to curses OK Pleased to meet you ~/.gnupg $ grep pinentry *.conf gpg-agent.conf:pinentry-program /usr/bin/pinentry-gtk-2 so decrypting files will fail with $ gpg --decrypt resolv.conf.asc gpg: encrypted with 4096-bit RSA key, ID B28F87A6E90628CD, created 2016-01-08 "Petre Rodan <petre.rodan@cyberghost.ro>" gpg: public key decryption failed: No pinentry gpg: decryption failed: No secret key Expected Results: expect to find /usr/bin/pinentry-gtk-2 after merge