Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368003 - Enigmail in mail-client/thunderbird-3.1.10 cannot show keys in key manager under zh-TW.UTF-8 locale.
Summary: Enigmail in mail-client/thunderbird-3.1.10 cannot show keys in key manager un...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 08:38 UTC by mori rámar
Modified: 2011-07-23 09:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mori rámar 2011-05-19 08:38:29 UTC
With "crypt" USE set, mail-client/thunderbird-3.1.10 has got enigmail extension built-in. While under LANG="en_US.UTF-8", enigmail's key manager can show the keys correctly. Under LANG="zh-TW.UTF-8", however, it does not show keys at all. The checkbox "Display all keys by default" is enabled

The bug is also reported to upstream through mailling-list. The author suggests to use code in the trunk. While thunderbird-3.3 is still masked and no amd64 nightly-built version of enigmail for thunderbird-3.1, I report it here.

Thank you for your help.

Reproducible: Always

Steps to Reproduce:
1. Install thunderbird with "crypt" USE flag enabled.
2. Create a new key with engimail. (Before that, no key is stored here in my home directory. The real name contains "á", which might be LANG-sensitive.)
3. Open "Key management" in the "Security" menu of thunderbird.
4. Enable the checkbox "Display all keys by default"
Actual Results:  
No key is displayed at all. It says "Loading keys, please wait..." in Chinese in the status bar, and the progress bar keeps moving.

Expected Results:  
The loading process should finish in a few seconds, and the keys should be listed correctly.

enigdbug.txt:

2011-05-15 22:07:59.616 enigmail.js: Logging debug output to
~/.enigmail/enigdbug.txt
2011-05-15 22:07:59.616 enigmail.js: Enigmail version 1.1.2
2011-05-15 22:07:59.616 enigmail.js: OS/CPU=Linux x86_64
2011-05-15 22:07:59.616 enigmail.js: Platform=X11
2011-05-15 22:07:59.616 enigmail.js: composeSecure=true
2011-05-15 22:07:59.616 enigmail.js: Enigmail.initialize: gEnvList =
DISPLAY=:0.0,HOME=/home/moriramar,LANG=zh_TW.utf8,LOGNAME=moriramar,LD_LIBRARY_PATH=/usr/lib64/thunderbird:/usr/lib64/thunderbird/plugins:/usr/lib64/thunderbird,MOZILLA_FIVE_HOME=/usr/lib64/thunderbird,PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2,PWD=/home/moriramar,SHELL=/bin/bash,USER=moriramar
2011-05-15 22:07:59.617 enigmail.js: ResolvePath: filePath=gpg
2011-05-15 22:07:59.618 EnigmailAgentPath=/usr/bin/gpg

2011-05-15 22:07:59.646 enigmail> /usr/bin/gpg --version --version
- --batch --no-tty --charset utf8
2011-05-15 22:07:59.646 gpg (GnuPG) 2.0.17
libgcrypt 1.5.0-beta1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
已支援的演算法:
公鑰: RSA, ELG, DSA
編密法: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
           CAMELLIA192, CAMELLIA256
雜湊: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
壓縮: 未壓縮, ZIP, ZLIB, BZIP2

2011-05-15 22:07:59.647 enigmail.js: detected GnuPG version '2.0.17'
2011-05-15 22:07:59.647 enigmail.js: detectGpgAgent
2011-05-15 22:07:59.647 enigmail.js: detectGpgAgent: GPG_AGENT_INFO
variable available
2011-05-15 22:07:59.647 enigmail.js: detectGpgAgent:
GPG_AGENT_INFO='/tmp/keyring-unId2r/gpg:0:1'
2011-05-15 22:07:59.647 enigmail.js: Enigmail.stillActive:
2011-05-15 22:07:59.647 enigmail.js: Enigmail.initialize: END
2011-05-15 22:07:59.852 enigmail.js: Enigmail.execCmd: command =
[xpconnect wrapped (nsISupports, nsILocalFile, nsIFile)]
2011-05-15 22:07:59.852 enigmail.js: WriteFileContents:
file=~/.enigmail/eniginp.txt
2011-05-15 22:07:59.853 enigmail.js: WriteFileContents:
file=~/.enigmail/enigcmd.txt
2011-05-15 22:07:59.889 enigmail.js: WriteFileContents:
file=~/.enigmail/enigenv.txt
2011-05-15 22:07:59.914 enigmail.js: Enigmail.execCmd: copied command
line/env/input to files ~/.enigmail/enigcmd.txt/enigenv.txt/eniginp.txt
2011-05-15 22:07:59.914
enigmail> /usr/bin/gpg --charset utf8 --batch --no-tty --status-fd 2
- --with-fingerprint --fixed-list-mode --with-colons --list-keys
2011-05-15 22:07:59.934 enigmail.js: WriteFileContents:
file=~/.enigmail/enigout.txt
2011-05-15 22:07:59.964 enigmail.js: WriteFileContents:
file=~/.enigmail/enigerr.txt
2011-05-15 22:07:59.965 enigmail.js: Enigmail.execCmd: copied command
out/err data to files ~/.enigmail/enigout.txt/enigerr.txt
2011-05-15 22:07:59.965 enigmail.js: Enigmail.execCmd: exitCode = 0
2011-05-15 22:07:59.965 enigmail.js: Enigmail.execCmd: errOutput =
2011-05-15 22:07:59.965 enigmail.js: Enigmail.parseErrorOutput:
2011-05-15 22:07:59.965 enigmail.js: Enigmail.parseErrorOutput:
statusFlags = 00000000
2011-05-15 22:07:59.965
2011-05-15 22:07:59.965 enigmail.js: Enigmail.stillActive:
2011-05-15 22:07:59.966 enigmailCommon.js: EnigObtainKeyList
2011-05-15 22:07:59.966 enigmail.js: Enigmail.execCmd: command =
[xpconnect wrapped (nsISupports, nsILocalFile, nsIFile)]
2011-05-15 22:07:59.966 enigmail.js: WriteFileContents:
file=~/.enigmail/eniginp.txt
2011-05-15 22:07:59.966 enigmail.js: WriteFileContents:
file=~/.enigmail/enigcmd.txt
2011-05-15 22:07:59.991 enigmail.js: WriteFileContents:
file=~/.enigmail/enigenv.txt
2011-05-15 22:08:00.016 enigmail.js: Enigmail.execCmd: copied command
line/env/input to files ~/.enigmail/enigcmd.txt/enigenv.txt/eniginp.txt
2011-05-15 22:08:00.017
enigmail> /usr/bin/gpg --charset utf8 --batch --no-tty --status-fd 2
- --with-fingerprint --fixed-list-mode --with-colons --list-secret-keys
2011-05-15 22:08:00.038 enigmail.js: WriteFileContents:
file=~/.enigmail/enigout.txt
2011-05-15 22:08:00.058 enigmail.js: WriteFileContents:
file=~/.enigmail/enigerr.txt
2011-05-15 22:08:00.059 enigmail.js: Enigmail.execCmd: copied command
out/err data to files ~/.enigmail/enigout.txt/enigerr.txt
2011-05-15 22:08:00.059 enigmail.js: Enigmail.execCmd: exitCode = 0
2011-05-15 22:08:00.059 enigmail.js: Enigmail.execCmd: errOutput =
2011-05-15 22:08:00.059 enigmail.js: Enigmail.parseErrorOutput:
2011-05-15 22:08:00.059 enigmail.js: Enigmail.parseErrorOutput:
statusFlags = 00000000
2011-05-15 22:08:00.059
2011-05-15 22:08:00.059 enigmail.js: Enigmail.stillActive:

enigenv.txt:

DISPLAY=:0.0,HOME=/home/moriramar,LANG=zh_TW.utf8,LOGNAME=moriramar,LD_LIBRARY_PATH=/usr/lib64/thunderbird:/usr/lib64/thunderbird/plugins:/usr/lib64/thunderbird,MOZILLA_FIVE_HOME=/usr/lib64/thunderbird,PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2,PWD=/home/moriramar,SHELL=/bin/bash,USER=moriramar,GPG_AGENT_INFO=/tmp/keyring-unId2r/gpg:0:1

enigout.txt:

sec::2048:1:EBE09080ED658C04:1305452414:1336988414:::::::::
fpr:::::::::106A79CCA6B9DC7C43740932EBE09080ED658C04:
uid:::::::86094719C1D0A7ED4C0D2517A38994733512B9DF::mori rámar
<moriramar@gmail.com>:
ssb::2048:1:9D127653C6CA2017:1305452414::::::::::

emerge --info:

Portage 2.1.9.49 (hardened/linux/amd64/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-hardened-r4 x86_64)
=================================================================
System uname: Linux-2.6.38-hardened-r4-x86_64-AMD_Athlon-tm-_II_Neo_K345_Dual-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Thu, 19 May 2011 02:30:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-fomit-frame-pointer -march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-fomit-frame-pointer -march=native -O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.163.com/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_TW zh"
MAKEOPTS="-j4"
PKGDIR="/var/cache/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="/var/lib/ebuilds/portage"
PORTDIR_OVERLAY="/var/lib/ebuilds/sunrise /var/lib/ebuilds/haskell /var/lib/ebuilds/gentoo-china /var/lib/ebuilds/oss-overlay /var/lib/ebuilds/science /var/lib/ebuilds/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hardened iconv ipv6 jpeg jpeg2k justify lame lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg msn mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf perl png policykit ppds pppd python readline samba sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs system-sqlite taglib tcpd tiff truetype udev unicode upnp urandom usb v4l v4l2 vaapi vim-syntax vorbis webkit x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt lvm plymouth 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_TW zh" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

===============================================================================

[I] mail-client/thunderbird
     Installed versions:  3.1.10(04:55:55 AM 05/13/2011)(crypt dbus
gnome ldap libnotify lightning linguas_zh linguas_zh_TW
startup-notification system-sqlite -alsa -bindist -custom-optimization
- -debug -linguas_af -linguas_ar -linguas_be -linguas_bg -linguas_bn
- -linguas_bn_BD -linguas_ca -linguas_cs -linguas_da -linguas_de
- -linguas_el -linguas_en -linguas_en_GB -linguas_en_US -linguas_es
- -linguas_es_AR -linguas_es_ES -linguas_et -linguas_eu -linguas_fi
- -linguas_fr -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE
- -linguas_he -linguas_hu -linguas_id -linguas_is -linguas_it -linguas_ja
- -linguas_ko -linguas_lt -linguas_nb -linguas_nb_NO -linguas_nl
- -linguas_nn -linguas_nn_NO -linguas_pa -linguas_pa_IN -linguas_pl
- -linguas_pt -linguas_pt_BR -linguas_pt_PT -linguas_ro -linguas_ru
- -linguas_si -linguas_sk -linguas_sl -linguas_sq -linguas_sv
- -linguas_sv_SE -linguas_tr -linguas_uk -linguas_zh_CN -mozdom -wifi)

[I] x11-plugins/enigmail
     Installed versions:  1.1.2-r3(10:30:38 AM 05/13/2011)(dbus gnome
libnotify startup-notification system-sqlite -alsa -custom-optimization
- -debug -wifi)
Comment 1 mori rámar 2011-05-19 08:39:39 UTC
Translation of enigdbug.txt:

==== Chinese version ====
Home: ~/.gnupg
已支援的演算法:
公鑰: RSA, ELG, DSA
編密法: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
           CAMELLIA192, CAMELLIA256
雜湊: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
壓縮: 未壓縮, ZIP, ZLIB, BZIP2

==== English version ====
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, 
        CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
Comment 2 Jory A. Pratt gentoo-dev 2011-05-19 11:51:40 UTC
nightly enigmail is not compatible with tb-3.1 without testing against 3.3 which will be moving to beta and unmasked shortly most likely will go un fixed upstream.
Comment 3 mori rámar 2011-07-09 04:04:34 UTC
mail-client/thunderbird-5.0-r2 is dumped. Closing.
Comment 4 Patrizio Bassi 2011-07-23 09:22:56 UTC
5.0-r2 is not in the portage tree. i have issues with italian translation too.

can you please add it?