On 9/2/2016 12:42 PM, [email protected] wrote: > I've changed the path in Enigmail preferences to /usr/bin/gpg2 and now > it's working fine with Enigmail but not so fine with GPA (GNU Privacy > Assistant) > > Error message: > The GPGME library returned an unexpected > error at gpafilesignop.c:525. The error was: > > No pinentry > > This is either an installation problem or a bug in GPA. > GPA will now try to recover from this error. > > So I'm thinking about deleting GnuPG from /usr/local/bin but don't know > if it's possible to update GnuPG in /usr/bin... > > > > > Le 02/09/2016 à 17:35, Patrick Brunschwig a écrit : >> Did you configure the path for Enigmail manually (menu Enigmail > >> Preferences)? You could try to change it to /usr/bin/gpg2 and see if >> that works without relaunching gpg-agent after reboot. If yes, you might >> want to think about deleting GnuPG from /usr/local/bin >> >> -Patrick >> >> On 02.09.16 02:12, [email protected] wrote: >>> I found gpg-agent (gpg and gpg2 also) to be install in both /usr/bin & >>> /usr/local/bin directories >>> >>> /usr/bin >>> -rwxr-xr-x 1 root root 195 Oct 16 2012 fix_gpg_badsig >>> -rwxr-xr-x 1 root root 1008632 Aug 18 13:54 gpg >>> -rwxr-xr-x 1 root root 917032 Apr 8 12:14 gpg2 >>> -rwxr-xr-x 1 root root 352872 Apr 8 12:14 gpg-agent >>> -rwxr-xr-x 1 root root 139720 Apr 8 12:14 gpgconf >>> -rwxr-xr-x 1 root root 142056 Apr 8 12:14 gpg-connect-agent >>> -rwxr-xr-x 1 root root 26952 Feb 18 2016 gpg-error >>> -rwxr-xr-x 1 root root 2206 Feb 18 2016 gpg-error-config >>> -rwxr-xr-x 1 root root 26696 Apr 8 12:14 gpgparsemail >>> -rwxr-xr-x 1 root root 60296 Aug 18 13:54 gpgsplit >>> -rwxr-xr-x 1 root root 372488 Aug 18 13:54 gpgv >>> -rwxr-xr-x 1 root root 3303 Aug 18 13:54 gpg-zip >>> >>> /usr/local/bin >>> -rwxr-xr-x 1 root root 4385984 Aug 31 14:42 gpg2 >>> -rwxr-xr-x 1 root root 1702688 Aug 31 14:42 gpg-agent >>> -rwxr-xr-x 1 root root 499216 Aug 31 14:42 gpgconf >>> -rwxr-xr-x 1 root root 655520 Aug 31 14:42 gpg-connect-agent >>> -rwxr-xr-x 1 root root 69856 Aug 31 14:39 gpg-error >>> -rwxr-xr-x 1 root root 2201 Aug 31 14:39 gpg-error-config >>> -rwxr-xr-x 1 zyx zyx 114944 Feb 11 2015 gpgkey2ssh >>> -rwxr-xr-x 1 root root 4493 Jun 15 21:34 gpgme-config >>> -rwxr-xr-x 1 root root 209320 Jun 15 21:34 gpgme-tool >>> -rwxr-xr-x 1 root root 85864 Aug 31 14:42 gpgparsemail >>> -rwxr-xr-x 1 root root 689144 Aug 31 14:42 gpgscm >>> -rwxr-xr-x 1 root root 2193016 Aug 31 14:42 gpgsm >>> -rwxr-xr-x 1 zyx zyx 4635 Feb 11 2015 gpgsm-gencert.sh >>> -rwxr-xr-x 1 root root 641304 Aug 31 14:42 gpgtar >>> -rwxr-xr-x 1 root root 2047760 Aug 31 14:42 gpgv2 >>> >>> Enigmail using /usr/local/bin/gpg2 instance >>> >>> Can I get rid of one of the two instances without any damage ? >>> The oldest one I guess, the one in /usr/bin ? >>> >>> >>> Le 01. 09. 16 à 22:28, Bitcoin Admin a écrit : >>>> Yes, that 'other user' was me. And a fresh gnupg install solved the >>>> dilemma, just imported the keyring and trustdb >>>> >>>> I had to remove one other file pubring.kbx, as it conflicts with the >>>> pubring.gpg >>>> Give it a try.. and report back >>>> >>>> Thomas >>>> >>>> On 09/01/2016 10:08 PM, [email protected] wrote: >>>>> OK thanks Ludwig >>>>> I'll try that >>>>> >>>>> Le 01. 09. 16 à 22:06, Ludwig Hügelschäfer a écrit : >>>>>> On 01.09.16 21:25, [email protected] wrote: >>>>>> >>>>>>> (...) >>>>>>> If I simply relaunch gpg-agent (without "--debug-level expert >>>>>>> --use-standard-socket --daemon /bin/sh") Enigmail still doesn't work. >>>>>> Some days another user had the same problem on Ubuntu 16.04. He solved >>>>>> it by starting over with a completely new .gnupg directory (and of >>>>>> course transferring keys and trust). >>>>>> >>>>>>> Trying to add "use-standard-socket" to $HOME/.gnupg/gpg-agent.conf >>>>>>> didn't make it (obsolete option...) >>>>>>> >>>>>>> Any idea ? >>>>>> Try to remove everything in gpg.conf and gpg-agent.conf except all >>>>>> entries which are absolutely necessary. >>>>>> >>>>>> Ludwig >> >> >> >> >> _______________________________________________ >> enigmail-users mailing list >> [email protected] >> To unsubscribe or make changes to your subscription click here: >> https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
Excuse me. I am in no way a Linux expert however I found that I aslways had better restults using the Linux packages provided by the Linux distrobution and it was a bad idea to 'change things'. The configuration provided always worked well. Are your packages from your distro? Are their configurations the ones provided by your distro? -- David
signature.asc
Description: OpenPGP digital signature
_______________________________________________ enigmail-users mailing list [email protected] To unsubscribe or make changes to your subscription click here: https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
