Menu

gpg2 & pinentry not working

2020-03-10
2020-03-11
  • Rodney D. Myers

    Rodney D. Myers - 2020-03-10

    I’m using the latest Thunderbird & gpg2.

    Thunderbird thunderbird-68.5.0
    gnupg2 gnupg2-2.2.19

    I have pinentry

    xbps-query -l | grep pinentry
    ii pinentry-1.1.0_5
    ii pinentry-gtk-1.1.0_5
    ii pinentry-qt-1.1.0_5

    Now, when I try to sign an email, I get a pop requester stating;
    = = = = = = = = = = = = = = = = = = = = = = = = = = =

    Your GnuPG installation is configured to use the console for pinentry. However, when using Enigmail you need a graphical revision of pinentry.

    This is a system setup or configuration error that prevents Enigmail from working properly and cannot be fixed automatically

    We strongly recommend that you consult our web site.
    = = = = = = = = = = = = = = = = = = = = = = = = = = =

    Any ideas as to what config is missing?

    thanks

     
  • Patrick Brunschwig

    gpg-agent is configured to use pinentry-curses (which is probably "pinentry" in your case).

    Edit ~/.gnupg/gpg-agent.conf and add the following line. If there is already a line starting with pinentry-program, delete it.

    pinentry-program /usr/local/bin/pinentry-gtk
    

    Then execute gpgconf --kill gpg-agent

     
  • Rodney D. Myers

    Rodney D. Myers - 2020-03-11

    Had a proper entry.

    For some reason, reboots did nothing. Turned computer off for a few hours, and when I restarted it, it started working properly.

    Thank you

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.