Ludovic Courtès (2016-07-27 14:01 +0300) wrote: > Hi, > > Danny Milosavljevic <dan...@scratchpost.org> skribis: > >>> My ~/.gnupg/gpg-agent.conf file reads this: >>> >>> --8<---------------cut here---------------start------------->8--- >>> pinentry-program /home/ludo/.guix-profile/bin/pinentry-gtk-2 >>> --8<---------------cut here---------------end--------------->8--- >> >> Yes, the file didn't exist. I created it and it works now. > > Great. > >> I did install the pinentry package, though. >> >> Do you think it would make sense to put this in the skeleton for new user >> accounts? > > Maybe. Ideally, this would be addressed by GnuPG itself, which should > somehow make it easier to set it up, because there’s nothing > GuixSD-specific here AFAICS. What do other distros do to help?
My guess: other distros do nothing, because GnuPG searches for pinentries in a default bindir, I mean in a dir where gpg is placed (/usr/bin or whatever). IMO this is Guix-specific, as you have to run gpg-agent with --pinentry-program option (or specify it in the "gpg-agent.conf" file). -- Alex