Skip to content

Add option --pinentry#580

Merged
jaromil merged 1 commit into
dyne:masterfrom
Narrat:new/pinentry_opt
Sep 17, 2025
Merged

Add option --pinentry#580
jaromil merged 1 commit into
dyne:masterfrom
Narrat:new/pinentry_opt

Conversation

@Narrat

@Narrat Narrat commented Aug 20, 2025

Copy link
Copy Markdown
Collaborator

This allows to specify a specific pinentry program which is tried first while finding a working pinentry program.
For input is only the part needed after "pinentry-". This isn't a general option to specify something completly different as password input (yet).

The update to the manpage includes the new option and an update to the pinentry section. With the way how pinentry is nowadays detected, the manual force of a specific pinentry via symlink shouldn't be encouraged. And if a specific one should be used, one can use now the new option.


Doesn't really help with the big ToDos in ask_password(), but allows in theory the usage of pinentries like wayprompt or pinentry-bemenu.
Did take a look into adding the wrapper.. but this is not a small change. Especially with all the possible corner cases.
And with the ToDo in regards to use read -s -r as a fallback... this needs some more thinking.

This allows to specify a specifc pinentry program which is tried first
while finding a working pinentry program.
For input is only the part needed after "pinentry-".
This isn't a general option to specify something completly different as
password input (yet).

The update to the manpage includes the new option and an update to the
pinentry section. With the way how pinentry is nowadays detected, the
manual force of a specific pinentry via symlink shouldn't be encouraged.
And if a specific one should be used, one can use now the new option.
@jaromil

jaromil commented Sep 17, 2025

Copy link
Copy Markdown
Member

Oh this is very good for now, should have been there since the beginning: always provide a way to select manually the options.

@jaromil jaromil merged commit 49a55d1 into dyne:master Sep 17, 2025
2 checks passed
@Narrat Narrat deleted the new/pinentry_opt branch September 21, 2025 18:59
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

Successfully merging this pull request may close these issues.

2 participants