Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183722 - net-im/gajim-0.11.1 not remember gnupg key - unable to decrypt messages
Summary: net-im/gajim-0.11.1 not remember gnupg key - unable to decrypt messages
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Weller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-30 11:42 UTC by Oliver Jeeves
Modified: 2007-11-22 23:08 UTC (History)
3 users (show)

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 Oliver Jeeves 2007-06-30 11:42:49 UTC
After selecting a gnupg key to use for an account, gajim does not remember the selected key (visiting the dialog again show it as blank).

Gajim fails to decrypt encrypted messages, which suggests that it's not just the dialog not displaying it correctly.

Gajim is able to send encrypted messages, so it doesn't seem to be a problem with gnupg.

Reproducible: Always

Steps to Reproduce:
1. Goto Acounts... in the Edit menu
2. modify an account
3. under 'Personal information' select an Open PGP key
4. Get someone to send you an encrypted message


Actual Results:  
Gajim informs you that encryption has been disabled, and then that the message it just recieved is encrypted.

Expected Results:  
Gajim should have decrypted the message using the previously selected gpg key, and displayed the message.

oj@unicron ~ $ emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2.7 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 29 Jun 2007 23:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 bitmap-fonts bonobo bzip2 cli corba cracklib crypt cscope cups curl dbus dga divx dri dvd dvi eds effects emboss encode extras fat foomaticdb fortran gif gmedia gnome gnutls gpm gs gssapi gstreamer gtk gtk2 hal iconv idle imagemagick imlib inkjar insecure-savers ipv6 isdnlog jpeg kerberos lm_sensors logrotate lzw lzw-tiff maildir midi mng mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcre pdf perl png posix pppd python quicktime readline realmedia reflection rle sasl sdl session sox spell spl ssl startup-notification svg tcpd tetex threads thunar-vfs tiff trayicon truetype truetype-fonts type1-fonts unicode usb videos vorbis wmp xanim xchattext xcomposite xfs xft xhtml xine xinerama xorg xpm xrandr xscreensaver xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I have the line "net-im/gajim -gnome" in package.use because otherwise it generates too many dependancies. IMO this shouldn't break encryption.
Comment 1 Oliver Jeeves 2007-06-30 12:00:49 UTC
Also worth noting, is that I have copied my keyring to another computer (running Fedora), and gajim there has no problems with encryption, so I don't think it's anything to do with the GPG key.
Comment 2 Peter Weller (RETIRED) gentoo-dev 2007-10-22 14:39:10 UTC
Hmm, I cannot seem to reproduce this bug - Can you see if you can reproduce it with gajim-0.11.2, please?
Comment 3 Dawid Węgliński (RETIRED) gentoo-dev 2007-10-23 14:34:23 UTC
Reproduced :) And right, gajim is able to encrypt sent messages, but can't decrypt.

These packages will be installed:

* net-im/gajim-0.11.2 {:0} [R] X -avahi dbus -gnome idle -libnotify nls spell -srv trayicon xhtml
Comment 4 Oliver Jeeves 2007-10-29 20:30:45 UTC
I've installed 0.11.2 now, and it still has the same behaviour
Comment 5 Peter Weller (RETIRED) gentoo-dev 2007-11-22 21:20:57 UTC
Hrm, I think I might be getting it, too... Starting up Gajim always asks for GPG passphrase, even if I check the box to save it? I don't think USE="-gnome" is the problem, as I have USE="gnome".
Comment 6 Peter Weller (RETIRED) gentoo-dev 2007-11-22 22:30:17 UTC
As there was a problem at the reporter's end.
Comment 7 Oliver Jeeves 2007-11-22 23:08:27 UTC
For those that are interested, it was a problem with my GPG key. I have no idea how it broke, but I had to remove my UIDs and re-add them so that they showed up when "gpg --list-secret-keys" was run.