Rofi frontend to pinentry
Move everything irrelevant to _attic/.
Don't exec, but run alternative pinentry.
Hide options list, which is not used in the pinentry application.



You can also use your local clone with git send-email.


Based on this gist and pinentry-rofi. Thank you, Fredrik Salomonsson, for doing all the hard work.

Simple pinentry gui using rofi.

It's similar in functionality as the gist and the previous script, but on the MicroOS, where I work now, it is essential to install as few as possible additional software, so Guile is certainly too much.

To use pinentry-rofi with gpg-agent, you can set it as the pinentry-program in the ~/.gnupg/gpg-agent.conf. Note that you need to use the full path to the binary.

For example for Arch Linux this would be:

pinentry-program /usr/bin/pinentry-rofi

Don't forget to restart gpg-agent for the changes to take affect:

gpg-connect-agent reloadagent /bye

All issues, questions, complaints, or (even better!) patches should be send via email to ~mcepl/devel@lists.sr.ht email list (for patches use git send-email).