Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to change pinentry program #115

Open
wlcx opened this issue Jan 17, 2022 · 0 comments
Open

No way to change pinentry program #115

wlcx opened this issue Jan 17, 2022 · 0 comments

Comments

@wlcx
Copy link

wlcx commented Jan 17, 2022

Currently where there is seemingly no way to configure yubikey-agent to use a pinentry program other than /usr/bin/pinentry. Of course, update-alternatives or another symlink approach can be used where available to point this file elsewhere, but if the user doesn't have root or is unwilling to futz with "system level" stuff like this, they are out of luck.

This is because gopasspw/pinentry calls and parses the output of gpgconf to determine the path to the pinentry binary. From reading the source of gpgconf, /usr/bin/pinentry is hard-coded - there's no way seemingly to change it with a config file.

In contrast, twpayne/go-pinentry determines the pinentry binary to use by parsing gpg-agent.conf, which seems a much more logical and useful approach. As such #113 would fix this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant