Sample Header Ad - 728x90

How to call pinentry from bash script

1 vote
1 answer
1120 views
How to call pinentry from bash script so I am prompted for single input on the same terminal from which my script was invoked from and then pipe the entry to some other command via stdout for the sake of this question lets assume its echo. I would expect the answer to be something along the lines of
pinentry-tty  | echo
My question is not about: - gpg - ssh - git - How to use anything other than command line flavors of pinentry - How to set environmental variable using read -s Lets assume: - I made it pass second google page - I used pinentry info What would be great if the answer would work for version I currently have on my system but I don't expect you to test it.
pinentry-tty (pinentry) 1.2.0
Copyright (C) 2016 g10 Code GmbH
License GPLv2+: GNU GPL version 2 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
*I don't like the tone of my question but I am just trying to make it as clear as possible.*
Asked by Hnus (111 rep)
May 16, 2022, 05:28 AM
Last activity: Oct 23, 2023, 01:26 AM