Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936206

Summary: app-crypt/pinentry: Use opensuse/fedora wrapper to try to use the right pinentry implementation at runtime
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: gnome, juippis, kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=853961
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pinentry-wrapper

Description Pacho Ramos gentoo-dev 2024-07-17 09:34:45 UTC
Created attachment 897836 [details]
pinentry-wrapper

Hello,

When trying to think about how to properly solve bug 853961 I realized that, currently administrators need to choose one pinentry implementation for all the users. That leads to some issues like, for example, if the machine is used by KDE and Gnome users, one of them will use the "non-preferred" version. Also, looking to x11-wm/enlightenment, www-plugins/passff-host, I think that their users would also benefit from a more "automated" and runtime detection method to launch the proper pinentry backend.

I have seen that Fedora and OpenSuSE are using the attached wrapper. One option could be to provide it as another eselect option. That option could be the default one to try auto-detection by default, while still allowing people to force a different want if they really wish to.

Thanks a lot for considering it
Comment 1 Joonas Niilola gentoo-dev 2024-07-23 08:30:52 UTC
Sounds good to me. Would you ship the wrapper along with the eselect package?
Comment 2 Pacho Ramos gentoo-dev 2024-07-23 08:41:29 UTC
I was thinking on providing it with app-crypt/pinentry because all the other implementations are installed by it. But I have no preference and eselect-pinentry can also be a good candidate