-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/05/2015 05:16 PM, Patrick Brunschwig wrote:
> On 04.11.15 09:02, Alexander Lochmann wrote:
>> Hi folks!
> 
>> Because i'm having some trouble activating my sourceforge
>> account, i post my bug here. My setup looks as follows: -
>> Enigmail 1.8.2 - gpg-agent 2.0.28 (probably started by
>> gnome-keyring) - Ubuntu 15.10
> 
>> In my .profile i start keychain to look for running gpg- and 
>> ssh-agents, and set up all environment variables, e.g.,
>> GPG_AGENT. But Enigmail still asks me for my passphrase everytime
>> i need access to my gpg key. Therefore, i replaced the gpg
>> programm used by Enigmail with my own bash script. Using this, i
>> figured out that the GPG_AGENT variable is *not* set by Enigmail.
>> To be honsest, none of my usual environment variables is set
>> except the minimal subset. I suppose something is wrong in the
>> way Enigmail starts the gpg agent.
> 
> I assume you mean the variable GPG_AGENT_INFO.
> 
> Enigmail does not set that variable, Enigmail would only pass the 
> variable on to gpg if the variable is set _before_ Thunderbird was 
> started.
> 
I know. That is what i do in my .bashrc. keychain is responsible for
setting  the GPG_AGENT_INFO variable. My gpg-agent should be started
by the gnome-keyring daemon.
According to /proc/<pid of thunderbird>/env the variable is set correctl
y.

Enigmail does *not* copy/pass all environment variables from the
Thunderbird environment to the newly created shell which executes
gpg-agent.
That shell only provides a minimal set of variables.
As i said, i wrote a wrapper for gpg-agent, and activated it in the
Enigmail preferences. The wrapper sets the variable GPG_AGENT_INFO
properly. That makes Enigmail stop asking for my passphrase all over
again.

- - Alex
> With GnuPG 2.0.16 and newer, Enigmail does not start gpg-agent at
> all. gpg-agent is started automatically by gpg, if needed.
> 
> The question is therefore, is gpg-agent started by gpg every time
> a password is needed, or is gpg-agent running as daemon and for
> some reason gpg cannot connect to it?
> 
> -Patrick
> 
> _______________________________________________ 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.ne
t
>
> 
- -- 
Technische Universität Dortmund
Alexander Lochmann                PGP key: 0xBC3EF6FD
Otto-Hahn-Str. 16                 phone:  +49.231.7556141
D-44227 Dortmund                  fax:    +49.231.7556116
http://ess.cs.tu-dortmund.de/Staff/al
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWO6+FAAoJEFk+7QW8Pvb9OKsP/RZEhDc2DX47VUWBkVkfOb/m
EDIWCz0aglvIlNxb7BQpKbZKnW86uLWFl/jr6lwmlAvCBzteSxKk7EtBKrFngdcD
IfFl1YmKczOxKj5OUYrV62MD6stLD/uCNJ0MSH1Pal/px9nmLeJJknqTEfOFX1M8
wHrR4AAy07WHaqSGfRQ24HrU8nIYxsPGRc2kYFFRUCh4tMjj0NpDSnO/z6f1Bqdd
L+GAEA9iEd/uGC17Mfl3tJiABybTpNFSrTpNyjALNXLoDAQALiUPttQ/PLKdumPE
2e0z0o5hHRf38NDlI1w0jsvCBdJ8xbqEf/ns8Pk+vM1QqABc73v9ZDiwfDnoKh+C
B/+vf9Gc5u4E4v+3/SPTjvK9pZSkzqp2DRT4TltCfYKqy+jID9S/Uowfh+W1G5+w
ammnbFmIdPP5bzvaB/2YbMaeSgFTZinZvPJqR1WvZYP/6q/uMk5VNRU4PgH1J8rJ
g2n9qUVy3pW8DYyoX/5x/oalQRdnVT/Emf1az+Uzh5yMPcUeIc/7arod9Y+tusOJ
SsSZrU8BjqSzcWdmPEnJn4dLiUC9c/fMEb80DrbtQ7qil/OT64izPl8FiIJsR3lL
NoUHRifaHksJ64t49rCoZ+t/DBjopcZIwx+m8N5NE3swGVlu1WhFG6C3otFBCnPz
vNdXsS5NLKDOwVhOmo8Z
=+j1I
-----END PGP 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

Reply via email to