On 21.12.16 12:03, Harald Dunkel wrote: > Hi folks, > > Platform: Linux, Debian Jessie, enigmail 1.9.6.1 (20161116-1713), > gnupg2 2.0.26-6+deb8u1 > > I followed https://enigmail.net/index.php/en/faq?view=topic&id=14, > but I still don't get a pinentry dialog on trying to decode a Draft > or on creating a signed EMail. > > The log file says > > : > [GNUPG:] ENC_TO 4498660B3B0F918E 16 0 > [GNUPG:] USERID_HINT 4498660B3B0F918E User <[email protected]> > [GNUPG:] NEED_PASSPHRASE 4498660B3B0F918E 84C20315E55986CB 16 0 > gpg: problem with the agent: IPC syntax error > [GNUPG:] ERROR get_passphrase 276 > [GNUPG:] MISSING_PASSPHRASE > : > > I *do* get a pinentry dialog if I follow step 7 > > killall gpg-agent > gpg-agent --debug-level expert --use-standard-socket --daemon /bin/sh > > i.e. there is no debug output showing me what goes wrong. > Obviously there is something wrong about how or when gpg-agent > is started for my XWindow session. > > > The "regular" gpg-agent command line looks like this (as shown > by ps -ef): > > /usr/bin/gpg-agent --daemon --sh > --write-env-file=/home/user/.gnupg/gpg-agent-info-hostname.example.com > /usr/bin/dbus-launch --exit-with-session /home/user/.xsession > > AFAICT gpg-agent is started together with the XWindow session > by some code in /etc/X11/Xsession.d/90gpg-agent, provided by > the gpg2 packet itself. If I kill this agent and start a new > one within my XWindow session (using the same command line > flags), then enigmail is happy.
To be precise, the error message comes from gpg. I.e. gpg2 is not happy with gpg-agent. What happens if you try to sign something using the command line and without restarting gpg-agent? E.g. gpg2 --clearsign <<EOT test EOT -Patrick
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
