Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774156 - app-eselect/eselect-pinentry - add free form option
Summary: app-eselect/eselect-pinentry - add free form option
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-04 08:39 UTC by Kai S. K. Engelbart
Modified: 2021-03-05 10:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai S. K. Engelbart 2021-03-04 08:39:50 UTC
I would like to use pinentry-dmenu from https://github.com/drincoxyz/pinentry-dmenu as my pinentry implementation. As this is not an official package, it's clear to me that it cannot be added as an option.

However, would it be possible to implement a free form option akin to the one available in eselect editor? This would allow users of obscure pinentry implementations to easily set those up.
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-03-05 10:40:32 UTC
No. it is impossible. eselect-pinentry manages the /usr/bin/pinentry symlink to point it to the appropriate available pinentry implementation (the list is hardcoded in the pinentry-eselect module, that said, adding a non-existing implementation to the array would be wrong, as the package in question does not exist in the repository). eselect-editor has a different purpose, this sets the EDITOR variable in the /etc/env.d/99editor file, that is why a free form is there (everybody can override it either in /etc/env.d or /etc/profile or /etc/environment and so on.)