Daniel Pimentel <d...@openmailbox.org> skribis: > So, I install pinentry in my user profile (guix package -i > pinentry). I see other same error in other distribution GNU/Linux, so > I created a gpg-agent.conf file in my gnupg folder (~/.gnupg) then add > path to pinentry: > pinentry-program /home/dani/.guix-profile/bin/pinentry-curses. But > don't work.
I do exactly that but with pinentry-gtk, on GnuPG 2.0, and it works for me. You probably need to restart gnupg-agent after installing gpg-agent.conf, and to make sure the right environment variables are defined in the shell where gpg runs. I have this in my ~/.xsession: eval `gpg-agent --daemon --enable-ssh-support --write-env-file ~/.gnupg-agent-env` so I can always source ~/.gnupg-agent-env. HTH, Ludo’.