I noticed that I could no longer read some encrypted mails after updating to mail-client/thunderbird-3.1_rc2-r1 and x11-plugins/enigmail-1.1. The difference between them: The ones that work contain the PGP block in the message body, those that don't have an encrypted.asc attachment that contains the message. When I click the attachment, enigmail asks for the passphrase. Enigmail's debug console shows that the message is successfully decrypted, however, it is not displayed. Instead thunderbird asks for an external application to handle the file. Reproducible: Always Steps to Reproduce: 1. Install mail-client/thunderbird-3.1_rc2-r1 and x11-plugins/enigmail-1.1 2. Start thunderbird, open the enigmail debug console 3. Open an email that contains an attached encrypted PGP message 4. Click the "encrypted.asc" attachment Actual Results: Thunderbird asks which external application should be used to open the file. Expected Results: a) Enigmail should try to decrypt the message as soon as the mail is viewed, not just after clicking the attachment. b) The message and PGP information (signature, encryption) should be displayed in the message area. This worked with thunderbird 3.0.4 and enigmail 1.0.1-r3. The only way I currently have to read attached encrypted messages is to save the encrypted attachment and use gpg on the command line. I noticed that the current enigmail-1.1 ebuild still uses TBVER="3.1rc1" to build, but I don't know if that's related to this bug.
If you would in a few hours sync and re-emerge enigmail I bumped it to use rc2 for the source to build with and repost your findings here please.
Rebuilt with rc2, but the bug persists. :-( Any thing else I should try?
For all those effected please test with a clean profile. Upstream has been unable to reproduce the problem and plan to make 3.1 final release tomorrow.
I am able to reproduce this with a new/clean profile (i.e. ~/.thunderbird moved out of the way).
Just a minute ago, I was made aware of Enigmail bug 22951 <URL:https://www.mozdev.org/bugs/show_bug.cgi?id=22951>, which looks like the issue reported here. However, the forum <URL.http://mozilla-enigmail.org/forum/viewtopic.php?f=3&t=702> and Mozilla bug <URL:https://bugzilla.mozilla.org/show_bug.cgi?id=564737> links given there suggest that this problem only appears when HTML editing is enabled. I do not use HTML mails, but this problem occurs for me. So is it the same bug? If yes, it should be fixed in enigmail-1.1.1, which is available from upstream <URL:https://enigmail.mozdev.org/download/source.php>.
I will add enigmail-1.1.1 to the tree a bit later this morning.
(In reply to comment #6) > I will add enigmail-1.1.1 to the tree a bit later this morning. > Sorry I did not get this added yesterday as I had hoped. I have added it to the tree should hit the rsync mirrors shortly.
Enigmail 1.1.1 has hit the mirrors. Please test, if all is fine close completely.
I updated to mail-client/thunderbird-3.1 and x11-plugins/enigmail-1.1.1 about one hour ago, but it's still broken. I have the following use flags: Thunderbird: alsa crypt custom-optimization dbus ldap libnotify lightning system-sqlite Enigmail: custom-optimization dbus system-sqlite Nico, any match with yours?
On my system, too, this bug is still present after an upgrade of Thunderbird and Enigmail to the latest versions available in the portage tree: Thomas and others, these are my use flags: mail-client/thunderbird-3.1 alsa crypt dbus gnome ldap libnotify linguas_de startup-notification system-sqlite wifi x11-plugins/enigmail-1.1.1 dbus gnome startup-notification system-sqlite You don’t assume that it is caused by ‘system-sqlite’, do you? The other flags should only enable functionality supported by upstream, right? This bug should be reopened. (I don’t have the necessary rights.)
(In reply to comment #9) > I updated to mail-client/thunderbird-3.1 and x11-plugins/enigmail-1.1.1 about > one hour ago, but it's still broken. I have the following use flags: > Send an email to mozilla@gentoo.org so I can check it on my end please. Make sure it includes the exact same format as your getting failure with.
(In reply to comment #11) > Send an email to mozilla@gentoo.org so I can check it on my end please. Make > sure it includes the exact same format as your getting failure with. I forgot to tick the "Use PGP/MIME" checkbox in the first mail, so I sent a second one. The first test mail works on my side, the second one shows the bug.
I have just installed enigmail-1.1.2, which is available from upstream. Unfortunately, it does not fix this bug for me.
the proper upstream bug for this bug seems to be this one: https://www.mozdev.org/bugs/show_bug.cgi?id=22957 hopefully they will find a solution soon...
I don't know if this is related, but There must be a bug with the notifications in thunderbird-3.1. The pop-up opens as usual at the right lower corner of the desktop (gnome) workspace, but it shows blank (not always). On the terminal it says: (thunderbird-bin:3248): libnotify-CRITICAL **: notify_notification_update: assertion `summary != NULL && *summary != '\0'' failed Also, maybe related to Bug# 326985 (on ~amd64)
I don’t think this is related to bug 326985: on my system, gpg-agent and pinentry run fine, and I am asked to enter my passphrase when sending a signed message.
This bug has magically disappeared on my system. I cannot say for sure why. A few package upgrades occurred in the last two days, but I’m not sure what exactly caused it. Has anyone else noticed similar behavior?
(In reply to comment #17) > This bug has magically disappeared on my system. I cannot say for sure why. A > few package upgrades occurred in the last two days, but I’m not sure what > exactly caused it. > > Has anyone else noticed similar behavior? > still not working for me, I use latest ~amd64
Not working for me either (also latest ~amd64, and default/linux/amd64/10.0/no-multilib)
I guess with attached encrypted message you ment: PGP/Mime. I have the same problem. encrypting works fine and great but decrypting GPG/Multipart Messages (not ascii encrypted) does simply not work. My System: Compiler: x86_64-pc-linux-gnu-4.4.3 Machine: 2.6.34-gentoo-r1 this is my build: [ebuild N ] mail-client/thunderbird-3.1.2 USE="alsa crypt cups dbus gnome ldap libnotify lightning startup-notification system-sqlite -bindist -custom-optimization -mozdom -wifi" LINGUAS="de -af -ar -be -bg -bn -bn_BD -ca -cs -da -el -en -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB [ebuild N ] x11-plugins/enigmail-1.1.2-r2 USE="dbus gnome startup-notification system-sqlite -custom-optimization" 0 kB Tamer
It seem to work now with PGP/Mime on Gentoo Linux for me! I merged thunderbird with these flags: [ebuild R ] mail-client/thunderbird-3.1.2 USE="alsa bindist crypt cups custom-optimization dbus gnome ldap libnotify lightning mozdom startup-notification system-sqlite -wifi" LINGUAS="de -af -ar -be -bg -bn -bn_BD -ca -cs -da -el -en -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB [ebuild R ] x11-plugins/enigmail-1.1.2-r2 USE="custom-optimization dbus gnome startup-notification system-sqlite" 0 kB Tamer
1st) merge =dev-libs/libgcrypt-1.4.6 =app-crypt/gnupg-2.0.16-r1 ([ebuild R ] app-crypt/gnupg-2.0.16-r1 USE="bzip2 ldap nls -adns* -caps* -doc* -openct* -pcsc-lite* (-selinux) -smartcard* -static" 0 kB ) gnupg all options without static and then thunderbird with enigmail, as described at the top: (In reply to comment #21) > It seem to work now with PGP/Mime on Gentoo Linux for me! I merged thunderbird > with these flags: > > [ebuild R ] mail-client/thunderbird-3.1.2 USE="alsa bindist crypt cups > custom-optimization dbus gnome ldap libnotify lightning mozdom > startup-notification system-sqlite -wifi" LINGUAS="de -af -ar -be -bg -bn > -bn_BD -ca -cs -da -el -en -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy > -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa > -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh > -zh_CN -zh_TW" 0 kB > [ebuild R ] x11-plugins/enigmail-1.1.2-r2 USE="custom-optimization dbus > gnome startup-notification system-sqlite" 0 kB > > > Tamer >
(In reply to comment #22) still doesn't work on my system :( (well I don't have ldap and gnome enabled...)
It should work out-of-the-box anyway. Does not work for me here either (have not tested using gnome use-flag either).
The solution presented in <URL:https://www.mozdev.org/bugs/show_bug.cgi?id=22957#c21> (from <URL:https://www.mozdev.org/bugs/show_bug.cgi?id=17758#c17>) fixes this bug for me in mail-client/thunderbird-3.1.3 with x11-plugins/enigmail-1.1.2-r2.
Please refer to comment #25 for details.
(In reply to comment #25) > The solution presented in > <URL:https://www.mozdev.org/bugs/show_bug.cgi?id=22957#c21> (from > <URL:https://www.mozdev.org/bugs/show_bug.cgi?id=17758#c17>) fixes this bug for > me in mail-client/thunderbird-3.1.3 with x11-plugins/enigmail-1.1.2-r2. This works for me, too. (with the same versions of TB and Enigmail on Gentoo 32bit) I wonder which bit of software is responsible for the breakage, since it's apparently Gentoo-specific. I.e. should Enigmail handle PGP/MIME without the change of /etc/mime.types (problem of Enigmail) or should another package (which?) set the entry in /etc/mime.types correctly?
The fix presented in comment #25 solves the problem for me also using mail-client/thunderbird-3.1.4 and x11-plugins/enigmail-1.1.2-r3
The fix does not fix the situation for me... Same problem: Encrypted mail is not decrypted and I am not even asked for a passphrase. The "attachement" can be viewed by manually choosing to Since encryption with passphrase entering works there should not be a problem with ~/.gnupg/* files? I have tested various versions: please post the versions and use flags of thunderbird and enigmail if it works for you. Can I run a test to see what is going wrong? ************************************ bug exists... # emerge -av thunderbird enigmail mail-client/thunderbird-3.1.3 USE="alsa crypt cups dbus ldap libnotify lightning startup-notification -bindist -custom-optimization -gnome -mozdom -system-sqlite -wifi" x11-plugins/enigmail-1.1.2-r2 USE="dbus startup-notification -custom-optimization -gnome -system-sqlite" ************************************ bug exists... # emerge -av thunderbird enigmail mail-client/thunderbird-3.1.3 USE="alsa crypt cups dbus ldap libnotify lightning startup-notification -bindist -custom-optimization -gnome -mozdom -system-sqlite -wifi" x11-plugins/enigmail-1.1.2-r3 USE="dbus startup-notification -custom-optimization -gnome -system-sqlite" ************************************ bug exists... # emerge -av thunderbird enigmail mail-client/thunderbird-3.1.4 USE="alsa crypt cups dbus ldap libnotify lightning startup-notification -bindist -custom-optimization -gnome -mozdom -system-sqlite -wifi" x11-plugins/enigmail-1.1.2-r3 USE="dbus startup-notification -custom-optimization -gnome -system-sqlite" ************************************ bug exists... # emerge -av thunderbird-bin curl net-misc/curl-7.20.0-r2 USE="ipv6 ldap nss ssl -ares -gnutls -idn -kerberos -libssh2 -test" mail-client/thunderbird-bin-3.1.3 ************************************ properly edited the mime file (did not use the ~/.mime.types file for now) btw. what is /usr/share/mime for? what information is stored there? # grep pgp /etc/mime.types application/pgp-encrypted pgp asc application/pgp-keys key application/pgp-signature asc pgp sig ************************************ # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 28 Sep 2010 22:45:03 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i486-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -pipe" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/genoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en ru" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/g-ctan" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl semantic-desktop session spell ssl startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hi fix worked for me: [I] x11-plugins/enigmail (1.1.2-r3@29.09.2010) [I] mail-client/thunderbird (3.1.4@29.09.2010) [I] app-crypt/gnupg (2.0.16-r1@30.08.2010) try these versions and recheck /etc/mime.types: application/pgp-encrypted pgp asc
oh, I see, you already did this... hommpf sorry about that question but: Did you restart thunderbird after installing the new versions?
(In reply to comment #30) > Hi fix worked for me: > [I] x11-plugins/enigmail (1.1.2-r3@29.09.2010) > [I] mail-client/thunderbird (3.1.4@29.09.2010) > [I] app-crypt/gnupg (2.0.16-r1@30.08.2010) > > try these versions and recheck /etc/mime.types: > application/pgp-encrypted pgp asc > These versions are installed here too. What useflags do you use? Yes, I have restarted thunderbird (each time). A sample mail looks like this (maybe I need to modify the mime types differently?). (snip) Message-ID: <(snip)> Date: Tue, 12 Oct 2010 14:39:53 +0200 From: (snip) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100929 Lightning/1.0b3pre Thunderbird/3.1.4 MIME-Version: 1.0 To: (snip) Subject: SubjectTest X-Enigmail-Version: 1.1.2 OpenPGP: id=(snip) Content-Type: multipart/encrypted; protocol="application/pgp-encrypted"; boundary="------------enig2535DE8AEE535960DD68A315" X-tubIT-Score: 0.0 () This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156) --------------enig2535DE8AEE535960DD68A315 Content-Type: application/pgp-encrypted Content-Description: PGP/MIME version identification Version: 1 --------------enig2535DE8AEE535960DD68A315 Content-Type: application/octet-stream; name="encrypted.asc" Content-Description: OpenPGP encrypted message Content-Disposition: inline; filename="encrypted.asc" -----BEGIN PGP MESSAGE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ hQQOA4WDIXT8Y9+kEA//RIkRw7rOQfKbgPh6FoQilHT57defXgsyWvkNu6vRsVi5 (snip) 64g9i3lStrx3pkS1qt9BJnQIrsDHZDU32/zgNibg1OZW =gKOt -----END PGP MESSAGE----- --------------enig2535DE8AEE535960DD68A315--
Hi, I am now on this setup: app-crypt/gnupg-2.0.16-r1 USE="bzip2 ldap nls -adns -caps -doc -openct -pcsc-lite (-selinux) -smartcard -static" 0 kB mail-client/thunderbird-3.1.6 USE="alsa crypt dbus ldap libnotify lightning startup-notification -bindist -custom-optimization -gnome -mozdom -system-sqlite -wifi" LINGUAS="..." 0 kB [ebuild R ] x11-plugins/enigmail-1.1.2-r3 USE="dbus startup-notification -custom-optimization -gnome -system-sqlite" 0 kB But the bug is still there... Really bad thing for me here... :-/ Cheers
Since this bug is very well reproducible and also traceable (for somebody familiar with the code) I am quite frustrated that there seems to be no real interest in solving this issue :-( Is it possibly unclear who is "responsible"? I guess it could be the mime-package from gentoo or the gentoo-package system messing up something or enigmail or thunderbird itself or or or... I am still here and responsive. Just tell me what information could be helpful and I will provide it. ps: I really don't want to piss somebody off ;-) I hope you recognize that I mean to be constructive...
I am now thoroughly dissapointed. For viewing encrypted messages I have switched now to kmail...
(In reply to comment #35) > I am now thoroughly dissapointed. > For viewing encrypted messages I have switched now to kmail... > Peter sorry, we have the mime-type maintainer working on an update soon as it is ready he will add to tree and problem should be addressed, you can always add the work around yourself until the fix is added to the tree.
(In reply to comment #30) > try these versions and recheck /etc/mime.types: > application/pgp-encrypted pgp asc I can confirm this. Add to /etc/mime.types application/pgp-encrypted pgp asc AND delete mimeTypes.rdf from your .thunderbird/XYZ-Profile. Restart Thunderbird and now PGP/MIME and PGP/INLINE works like a charm (after painful weeks).
> delete mimeTypes.rdf from your .thunderbird/XYZ-Profile. finally :D it works.
*** Bug 377953 has been marked as a duplicate of this bug. ***
Not solved here, ~amd64, thunderbird 5.0 or 6.0 still displays it failed to start the gpg-agent which is required with gnupg-2.0.18. Enigmail info from tb addon: "ERROR: failed to start enigmime service" I've removed mimetypes.rdf, I've checked /etc/mime.types and I've tried modifying .xinitrc to get the right values exported - still getting the thunderbird errors.
(In reply to comment #40) > Not solved here, ~amd64, thunderbird 5.0 or 6.0 still displays it failed to > start the gpg-agent which is required with gnupg-2.0.18. > > Enigmail info from tb addon: "ERROR failed to start enigmime service" This error just happened here, too, after updating from thunderbird 3.something to thunderbird 7. It is unrelated to the bug described here. I will report it separately.
(In reply to comment #41) > (In reply to comment #40) > > Not solved here, ~amd64, thunderbird 5.0 or 6.0 still displays it failed to > > start the gpg-agent which is required with gnupg-2.0.18. > > This error just happened here, too, after updating from thunderbird 3.something > to thunderbird 7. It is unrelated to the bug described here. I will report it > separately. Have you tried to start the gpg-agent manually? If you use kde, uncomment the gpg-agent lines in /etc/kde/startup/agent-startup.sh. I think there are similar solutions for other DEs...
Closing since enigmail is gone wrt #419903