Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 377953

Summary: mail-client/thunderbird with x11-plugins/enigmail does not handle PGP/MIME messages
Product: Gentoo Linux Reporter: Kai Damm <cepheus11>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nicolasbock
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kai Damm 2011-08-06 08:23:52 UTC
Thunderbird does not try to decrypt a PGP/MIME message with attachment(s). It displays the message as empty text with two attachments: "Teil 1.1" (german for "part 1.1") and "encrypted.asc". That's it, no message from enigmail, no call to gpg2, no button to try and decrypt it. It decrypts "normal" gpg messages just fine, using the Qt4 password dialog from pinentry. Windows's thunderbird can also decrypt the PGP/MIME message.

I can decrypt a PGP/MIME message by saving it to a file, using command-line gpg to decrypt it, and open the decrypted file in thunderbird. From there I can save the attachments.

mail-client/thunderbird-3.1.10 USE="alsa crypt custom-optimization dbus ldap libnotify startup-notification linguas-de"

x11-plugins/enigmail-1.1.2-r2 USE="alsa custom-optimization dbus libnotify startup-notification"

app-crypt/gnupg-2.0.17 USE="bzip2 ldap nls"

app-crypt/pinentry-0.8.0 USE="gtk ncurses qt4

Reproducible: Always

Steps to Reproduce:
1. (Configure PGP identity for your mail account)
2. Create a message to yourself with attachment, select "Encrypt message" in OpenPGP menu.
3. The question about handling of attachment encryption pops up. Select "PGP/MIME"
4. Try to read the message
Actual Results:  
The message is displayed empty, with two unusable attachments: "Teil 1.1" of type "PGP file" and "encrypted.asc" of type "ASC file". There is no PGP info header.

Expected Results:  
Dialog for secret key password (if not already in cache), on correct password entry display of the decrypted message and the green PGP info header line.
Comment 1 Kai Damm 2011-08-06 08:25:26 UTC
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3-kallisto-20110717-01 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-kallisto-20110717-01-x86_64-06-17-with-gentoo-2.0.3
Timestamp of tree: Sun, 31 Jul 2011 00:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps y -j4 --load-average=4"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ http://mirror.opteamax.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.opteamax.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5 -l 4"
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"
SYNC="rsync://io/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr berkdb bidi branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups custom-optimization cxx dbus declarative dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gdu gif gnutls gpm graphviz gs gtk iconv imagemagick ipv6 java jbig jpeg jpeg2k kde kipi lame lcms ldap libcaca libnotify lm_sensors lzma lzo mad matroska mikmod mmx mng modplug modules mp3 mp4 mpeg mpi mtp mudflap multilib musepack ncurses nls nptl nptlonly nsplugin offensive ogg ogm openal openexr opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 raw readline sdl semantic-desktop session speex spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vcd vorbis wmf x264 xcb xcomposite xine xml xmp xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="cmipci hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Gef 2011-08-06 10:53:32 UTC
Kai,
This bug is probably a dup of #324849.
Comment 3 Kai Damm 2011-08-06 13:20:56 UTC
Yes, the solution there works (https://bugs.gentoo.org/show_bug.cgi?id=324849#c37)

Thank you.

*** This bug has been marked as a duplicate of bug 324849 ***