Re: [Enigmail] Enigmail problem gpg lost

2013-03-14 Thread Doug Barton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Don't start ssh-agent in .bashrc. I have a script you can use here:

https://dougbarton.us/PGP/gpg-agent.html

Make sure all the existing ssh-agent sessions are killed, install the
script as described, then log out and log back in again.

Better yet, take a look at the --use-standard-socket feature for
gpg-agent, that would also solve the problem for you.

Good luck,

Doug


On 03/14/2013 06:15 AM, Patrick Fleming wrote:
| Due to other upgrades needed on the server I again tried Thunderbird
| 17.0.3 with Enigmail 1.5.1. I was able to get gpg-agent running from
| login (bashrc - wouldn't work from .xsession don't know why) When
| starting from bashrc I could see 8-10 instances of gpg-agent started.
| Running Thunderbird, I could open the key management window and see the
| keys. I opened and closed Thunderbird several times, each time checking
| that the key management window would open with no problems. I then
| looked at a known encrypted and the message was completely blank.
|
| Again, this is a production machine with multiple users so I can only
| play with it outside normal work hours. Any other suggestions? Do the
| multiple instances of gpg-agent defeat what I'm trying to do and should
| I work on figuring out starting from .xsession instead?
|
| Thanks,
| Patrick
|
| On 03/08/13 08:03, Patrick Brunschwig wrote:
| On 07.03.13 14:34, Patrick Fleming wrote:
| I'm also not sure how Enigmail 1.4 is different from 1.5.1 in that
| 1.4 works on the CentOS system and 1.5.1 does not. (And I have no
| problem on my Debian system with Enigmail 1.5.1, Thunderbird 17.0.3
| and GPG 2.0.14 - 32bit vs 64bit for the CentOS box - maybe that's
| the difference?)
|
| The difference between 1.4 and 1.5.1 is that the core components of
| Enigmail have been rewritten entirely since v1.4. In other words,
| apart from performing the same tasks, the core components do not
| resemble each other in the slightest way.
|
| -Patrick

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)

iQEcBAEBCAAGBQJRQgYKAAoJEFzGhvEaGryE9+YH/1eDYee2PYEWUMA+q1MMMrta
UjpUxV6cBanDwI8I46rvvY+1GBhhZ4W+5yA/aYhY3icwwbtjmg+gJrtNE7T9Mp2p
/mCZC45Sz5B0OjThnMkU8FzALJzM8ZqMf1qN5BHksA0ev6OHHHx4/WDDqx08s6R1
ieVC7JmxhaPw9tK4G7CRRBcWrUC/XxfEa3HErp7m+EdbzwanUyRrzPSK0fUMAb5E
2kii8RtAV2GzkyZ5lJLfv5ddAsG8v/qn1LB/6ZbgwFVOBabO3U/jhKhJ2A7zWGgK
Fthv4vPFB/sPndUAJcOs2uNIEVAecB7Jj/GOjy+TjBBduMJ/x4wdhnwAJ2igyOk=
=anxH
-END PGP SIGNATURE-

___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-14 Thread Patrick Fleming
It resulted in a large number of gpg-agents running as I stated - I
might need to see if .xinitrc does the job. .xsession did not seem to be
called on this install. It does at least seem to work in that I could
access Key Management whereas when it's completely failing it throws
script errors just trying to get to the management console.

On 03/14/13 09:28, Patrick Brunschwig wrote:
 You should not start gpg-agent in .bashrc. This will start an agent
 for every bash started and will most likely not lead to the desired
 result.
 
 Furthermore, I doubt that GPG_AGENT_INFO will be available to
 Thunderbird if Thunderbird is started without a shell.
 
 You should definitely try to get gpg-agent started from .xsession or
 .xinitrc (depends on your machine setup)
 
 -Patrick
 
 
 On 14.03.13 14:15, Patrick Fleming wrote:
 Due to other upgrades needed on the server I again tried
 Thunderbird 17.0.3 with Enigmail 1.5.1. I was able to get gpg-agent
 running from login (bashrc - wouldn't work from .xsession don't
 know why) When starting from bashrc I could see 8-10 instances of
 gpg-agent started. Running Thunderbird, I could open the key
 management window and see the keys. I opened and closed Thunderbird
 several times, each time checking that the key management window
 would open with no problems. I then looked at a known encrypted and
 the message was completely blank.
 
 Again, this is a production machine with multiple users so I can
 only play with it outside normal work hours. Any other suggestions?
 Do the multiple instances of gpg-agent defeat what I'm trying to do
 and should I work on figuring out starting from .xsession instead?
 
 Thanks, Patrick
 
 On 03/08/13 08:03, Patrick Brunschwig wrote:
 On 07.03.13 14:34, Patrick Fleming wrote:
 I'm also not sure how Enigmail 1.4 is different from 1.5.1 in
 that 1.4 works on the CentOS system and 1.5.1 does not. (And I
 have no problem on my Debian system with Enigmail 1.5.1,
 Thunderbird 17.0.3 and GPG 2.0.14 - 32bit vs 64bit for the
 CentOS box - maybe that's the difference?)

 The difference between 1.4 and 1.5.1 is that the core components
 of Enigmail have been rewritten entirely since v1.4. In other
 words, apart from performing the same tasks, the core components
 do not resemble each other in the slightest way.

 -Patrick


 ___ enigmail-users
 mailing list enigmail-users@enigmail.net 
 https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net





 ___
 enigmail-users mailing list enigmail-users@enigmail.net 
 https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
 
 ___
 enigmail-users mailing list
 enigmail-users@enigmail.net
 https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
 


0x38FEDD4C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-14 Thread Patrick Fleming
I have Mozilla provided Thunderbird and Enigmail as a plugin on Debian -
could not get Debian's Iceweasel to work properly. Both of these are
outside the distro's packaging. It's this machine I'm emailing from
right now and works beautifully.
I have tried the CentOS provided Thunderbird (CentOS does not provide
Enigmail) with the xpi file and another repo install (remi?) of
Thunderbird and Enigmail. These various combinations have not worked
thus far and that is likely due to whatever is causing or not causing
gpg-agent to fire up. I have had other combinations just work, like
I've currently reverted to on that CentOS box Thunderbird 10.x and
Enigmail 1.4 - again Thunderbird is distro provided and Enigmail is the
xpi provided by Enigmail team.

The server provides different packages than normally found on a desktop
install, but many of the same as well including the desktop environments
and is used daily in my office so the longer life cycle of the RHES
based system is better for us. I didn't mean to make it sound like it
was a stripped down machine only running a few services as I would
normally do for a machine not purposed this way. Server in this case
just means I can't go mucking with it during business hours.

Patrick

On 03/14/13 09:41, David wrote:

 
 
 Excuse me. An Linux non-expert observation?
 
 I am far from a Linux expert. I have dabbled with it over the years.
 However I have never tried to run an email client on a server install.
 
 I have had, and currently do have, Thunderbird with Enigmail working
 on Fedora 18, Fedora Rawhide, Mageia 2, and Mageia Cauldron.
 
 But. I have found that for these to work I have had to use the
 Thunderbird package provided by the distribution as well as the
 Enigmail package also provided by the distribution. They 'change
 thins' and 'move things'.
 
 I have never had any reliable success using the Thunderbird package
 from Mozilla with the Enigmail package provided by Patrick and the
 Enigmail team.
 
 And for these distribution packages to work, in this way, did not take
 any magic. No tweaks. No editing. Nothing. Just install them and, from
 the box, they work.
 
 
 



0x38FEDD4C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-14 Thread Daniel Kahn Gillmor
On 03/15/2013 12:23 AM, Patrick Fleming wrote:
 I have Mozilla provided Thunderbird and Enigmail as a plugin on Debian -
 could not get Debian's Iceweasel to work properly. 

I think you mean icedove, not iceweasel, right?  iceweasel is a web
browser, not a mail user agent.  enigmail only works with mail user agents.

If enigmail and icedove weren't working on your debian system, that
sounds like a bug to me, and a clear report would help the debian folks
who maintain those packages at least know what's happening and maybe
even fix the problem.  (i'm one of the maintainers for enigmail in
debian at the moment).

If you could explain the problem you encountered more clearly (including
which specific versions you tried, what you did, and what did not work
properly for you, that would be much appreciated.  You can use debian's
reportbug program to send the report straight to the debian BTS, or
you can follow up here if you prefer.

Regards,

--dkg



signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-14 Thread Patrick Fleming


On 03/14/13 21:36, Daniel Kahn Gillmor wrote:
 On 03/15/2013 12:23 AM, Patrick Fleming wrote:
 I have Mozilla provided Thunderbird and Enigmail as a plugin on Debian -
 could not get Debian's Iceweasel to work properly. 
 
 I think you mean icedove, not iceweasel, right?  iceweasel is a web
 browser, not a mail user agent.  enigmail only works with mail user agents.

Um. Yes. That's what I meant. I swapped out Icedove and Iceweasel for
Thunderbird and Firefox for varying reasons, but the primary one was the
much older version numbers for stable (6.0.6 - I can remember numbers
better than which Toy Story character version I'm running) than what I
could find on mozilla.org and I had no menu icons for OpenPGP - which I
do now.

 
 If enigmail and icedove weren't working on your debian system, that
 sounds like a bug to me, and a clear report would help the debian folks
 who maintain those packages at least know what's happening and maybe
 even fix the problem.  (i'm one of the maintainers for enigmail in
 debian at the moment).
 
 If you could explain the problem you encountered more clearly (including
 which specific versions you tried, what you did, and what did not work
 properly for you, that would be much appreciated.  You can use debian's
 reportbug program to send the report straight to the debian BTS, or
 you can follow up here if you prefer.

I'm hoping that I am able to upgrade hardware soon - this box is getting
kinda old and tired - and I may have to try Icedove again... but
sometimes I want it to just work. I will certainly let you know if and
what is broken or doesn't work for me assuming the upgrade isn't too far
into the future.

 
 Regards,
 
   --dkg
 


0x38FEDD4C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-08 Thread Patrick Brunschwig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07.03.13 14:34, Patrick Fleming wrote:
 I'm also not sure how Enigmail 1.4 is different from 1.5.1 in that
 1.4 works on the CentOS system and 1.5.1 does not. (And I have no
 problem on my Debian system with Enigmail 1.5.1, Thunderbird 17.0.3
 and GPG 2.0.14 - 32bit vs 64bit for the CentOS box - maybe that's
 the difference?)

The difference between 1.4 and 1.5.1 is that the core components of
Enigmail have been rewritten entirely since v1.4. In other words,
apart from performing the same tasks, the core components do not
resemble each other in the slightest way.

- -Patrick

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEVAwUBUTn9ysk25cDiHiw+AQhVXgf+Kr6wwJuaq2NGpGYRySSqbPl59JUHmfg1
qbZH3F5yd2yO2nY9BFIBUbzVEFT6zQFqccyXE3wWL3fMngknkxjMhtPRqVofdllJ
6DBVT0XGzaFzYKVm+aWlleR+xV6sot1biIIbE3cx2tyOwViM5X45dz0r6skI3Uxi
sMtkx0U1sThSlrjh0kx7HwWHDSrSCsUNFcgbaetCY8DsUItHVwKCT2D87OZxUO9/
5gv2kPmWYo+bo/Rc23Mfi1A+aZ/8GpujpqxmIX4cj241xc7H8ZPVuquBS4frk9fD
srzCtxER+Ek9KWlh1oD0jOy4Bszcw/Fe/mf2h4fnykko7Cf9SpU0WQ==
=e2eF
-END PGP SIGNATURE-

___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-06 Thread Patrick Fleming
Jean-David Beyer jeandavid8 at verizon.net writes:


 I run these and have no trouble at all.
 
 thunderbird-10.0.7-1.el6.centos.x86_64
 gnupg2-2.0.14-4.el6.x86_64
 enigmail-1.4.4+15.0-33.29.1.x86_64
 kernel-2.6.32-358.0.1.el6.x86_64
 
 They are the latest I could find that run on my RHEL-6.4 distribution.
 Anything else causes avalanche of dependency problems.
 


I ended up downgrading Thunderbird to 10.0.7.el6.centos.x86_64 but could not get
that version of enigmail to install. I was able to get enigmail-1.4-sm+tb.xpi to
install. 1.4.4 shows it's for Thunderbird 14 and refused to install. I guess if
I want encryption I have to stay at this earlier version. 

Thanks for the suggestion - be nice if I could be all the way up to date though.


___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-06 Thread Patrick Brunschwig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06.03.13 14:28, Patrick Fleming wrote:
 Jean-David Beyer jeandavid8 at verizon.net writes:
 
 
 I run these and have no trouble at all.
 
 thunderbird-10.0.7-1.el6.centos.x86_64 
 gnupg2-2.0.14-4.el6.x86_64 enigmail-1.4.4+15.0-33.29.1.x86_64 
 kernel-2.6.32-358.0.1.el6.x86_64
 
 They are the latest I could find that run on my RHEL-6.4
 distribution. Anything else causes avalanche of dependency
 problems.
 
 
 
 I ended up downgrading Thunderbird to 10.0.7.el6.centos.x86_64 but
 could not get that version of enigmail to install. I was able to
 get enigmail-1.4-sm+tb.xpi to install. 1.4.4 shows it's for
 Thunderbird 14 and refused to install. I guess if I want encryption
 I have to stay at this earlier version.
 
 Thanks for the suggestion - be nice if I could be all the way up to
 date though.

I think the problem may be related to the used GnuPG version. Here is
why: GnuPG launches gpg-agent automatically when needed as of version
2.0.16. If an older version of GnuPG is found _and_ no running
gpg-agent is detected, then Enigmail will launch gpg-agent. This is
however an issue, as it often ends up with unresponsive JavaScript
with a not completely started gpg-agent and Enigmail failing to complete
initialization. I have tried to fix this, but I cannot see how -- I
have given up.

I see two solutions:
a) upgrade to GnuPG 2.0.16
b) start gpg-agent during login, e.g. add this to .xsession:
  eval $(gpg-agent --daemon)

- -Patrick
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEVAwUBUTd3csk25cDiHiw+AQjMhgf/cqMx9tCVgRDrYrEiY9tz5oZKiviIiVpe
7A5b+bQSVw4F9lj1cVs8q/hvmXGEdvIZIWOgbvVdbF2FNnME1v65gZItjVjssSX/
5ET+yqSoVYIl7vDtBw5SzfUKlZIlUM8/kPh3tNRWLlW9SAe0SWcd/vutojJcyscf
I4YGc7CjuZZbm7G2HviMT63l1dSWNmAn8kWapNTSGFNSO3mvdn6MffXQbAE7PfQ8
VuhOzC4Fgvz3ae+cvutT3o1W041KVwpGwQ14GOkZvUZcGI4EaVs2g7GbTJkJuhMa
2+GbgqEHnxGqSIwVJQTqQao7oEskhlqOjU+x5qVTGoIdxUBcueZkQw==
=UYoV
-END PGP SIGNATURE-

___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Re: [Enigmail] Enigmail problem gpg lost

2013-03-05 Thread Jean-David Beyer
On 03/04/2013 07:41 PM, Patrick Fleming wrote:
 


 I've used enigmail for a number of years and have had
 occasional problems where enigmail forgets where gpg is.

 Sometimes I fix this by putting in the path to gpg. Sometimes
 that no longer works and I have to let enigmail work
 automatically.

 I have now go to the stage where neither option works. I've 
 upgraded to the latest versions of everything but no luck.

 /usr/bin/gpg works fine (links to gpg2)

 
 
 I get a similar issue with enigmail. 9 times or more out of 10, OpenGPG will
 complain that gnupg was not found. Override, close thunderbird (and then pkill
 thunderbird as user because it's still running), the next time it opens it 
 will
 decrypt a message. Sometimes the next two or three times. Then it stops 
 finding
 gpg again and I have to uncheck the box, and it might find gpg and decrypt the
 message. Thunderbird 17.0.3 with Enigmail 1.5.1 - both installed from 
 repos. GnuPG 2.0.14. Any help appreciated.
 

I run these and have no trouble at all.

thunderbird-10.0.7-1.el6.centos.x86_64
gnupg2-2.0.14-4.el6.x86_64
enigmail-1.4.4+15.0-33.29.1.x86_64
kernel-2.6.32-358.0.1.el6.x86_64

They are the latest I could find that run on my RHEL-6.4 distribution.
Anything else causes avalanche of dependency problems.

___
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net