I works fine, thanks everyone. I wrote down the whole procedure for the men of the future with the same problem:
1- Ensure that pinentry is installed in your system, 2- See what options you have writing pinentry- in your shell and pressing tab, (The textual choices are pinentry-curses and pinentry-tty) 3- Edit $GNUPGHOME/gpg-agent.conf, if $GNUPGHOME is unset it means ~/.gnupg, and if the gpg-agent.conf file does not exist you can create it. 4- Add the following configuration line (here for example is curses) pinentry-program /usr/bin/pinentry-curses double check the file path. 5- Restart the agent: $ ps aux | grep gpg-agent # to get the pid $ kill -2 <the pid> $ gpg-connect-agent /bye 6- Test if you like it $ gpg --symmetric <any file> On Thu, Mar 24, 2016 at 12:38 PM, Peter Lebbing <[email protected]> wrote: > (Note I also answered your post and suggested pinentry-curses rather > than pinentry-tty :) > > On 24/03/16 12:28, Paolo Bolzoni wrote: >> I don't have a $GNUPGHOME/gpg-agent.conf file, I can simply create it >> or I have to assume something is terribly wrong in my system? > > There isn't one by default ($GNUPGHOME defaults to ~/.gnupg and is also > unset by default). You can simply create one. > > HTH, > > Peter. > > -- > I use the GNU Privacy Guard (GnuPG) in combination with Enigmail. > You can send me encrypted mail if you want some privacy. > My key is available at <http://digitalbrains.com/2012/openpgp-key-peter> _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
