rdist

April 26, 2007

GPG now requires pinentry package

Filed under: FreeBSD,Misc — Nate Lawson @ 7:32 am

As a FreeBSD committer, I also run FreeBSD on a lot of my machines. I recently upgraded my desktop with portupgrade and found that gnupg no longer worked. I got the error message:

gpg-agent[13068]: can’t connect server: `ERR 67109133 can’t exec `/usr/local/bin/pinentry’: No such file or directory’
gpg-agent[13068]: can’t connect to the PIN entry module: IPC connect call failed
gpg-agent[13068]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry

I found these two articles and noticed that my gpg had been upgraded from the 1.x to 2.x series. The 1.x gpg had an integrated password entry prompt but 2.x requires an external package. This can be fixed by installing the security/pinentry port. I’m not sure why it wasn’t marked as a dependency for gpg2.

3 Comments

  1. Salamo Alikom
    this is help but i wonder why i get this msg when i gen new key :

    can’t connect to `/home/$USER/.gnupg/S.gpg-agent’: No such file or directory
    and this msg :
    Warning: using insecure memory!
    even i set permission as said in GnuPG faq ,do you have effective solution ?

    Comment by SIFE — January 1, 2010 @ 9:51 pm

  2. man gpg-agent or Google both answer your question.

    Comment by Nate Lawson — January 4, 2010 @ 4:00 pm

  3. thanks. it’s now over three years since you wrote this, yet it remains the solution to a still existent quirk.

    Comment by sonicpond — August 23, 2010 @ 5:59 am


RSS feed for comments on this post.

Blog at WordPress.com.