diff options
-rw-r--r-- | README.md | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -180,14 +180,25 @@ you're using to encrypt your passwords with. If the secret key hasn't been unlocked yet it will prompt for the secret key password using `pinentry`. If `pinentry` is configured to read from a `tty` then `rofi-pass` will hang indefinitely. To fix this you need to [configure gpg][gpg_pinentry_config] to -use a gui version of `pinentry`. E.g. +use a gui version of `pinentry`. There are multiple versions of +pinentry GUI programs: basic +[pinentry packages include](https://github.com/gpg/pinentry) versions for +the main large desktop environments, there are also multiple pinentry programs +based on rofi, most interesting of them are + +* [plattfot/pinentry-rofi](https://github.com/plattfot/pinentry-rofi) + written in Guile/Scheme, and +* [mcepl/pinentry-rofi](https://git.cepl.eu/cgit/pinentry-rofi/) written in Bash + +Particular pinentry program must be configured in +`gpg-agent.conf` for example like this: ``` $ cat ~/.gnupg/gpg-agent.conf -pinentry-program /usr/bin/pinentry-qt +pinentry-program /usr/bin/pinentry-rofi ``` You may have to kill the GPG agent if it's still in a bad state: ``` -killall -9 gpg-agent +$ gpg-connect-agent reloadagent /bye ``` ## Alternative |