diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-02-15 01:03:57 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-02-15 01:03:57 +0100 |
commit | 83eebdc1f2f3d912db55f8a75396690919479afa (patch) | |
tree | ea788d8b0aff28c32a63798a3b03b2fa440f9d11 | |
parent | dc1d4f0e46c4691d4eaf8f8fd5cf3b02c92d6f0b (diff) | |
download | rofi-pass-devel.tar.gz |
-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 |