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

Bug 282976

Summary: net-im/psi-0.13-r1 bothers with password prompt after status change
Product: Gentoo Linux Reporter: Michal Špondr <michal.spondr>
Component: Current packagesAssignee: Gentoo Net-im project <net-im>
Status: RESOLVED WORKSFORME    
Severity: minor CC: pva
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Špondr 2009-08-27 19:58:11 UTC
I'm using an OpenPGP key in Psi. It was OK in past, but now I have to write the password for OpenPGP key three times (I've got 2 jabber accounts in my roster) after I log in or even I change my status. It's quite annoying.

Reproducible: Always

Steps to Reproduce:
1. Enable OpenPGP key for an account
2. Activate the account (go online)
3. You have to enter password in the password prompt several times.
4. Try to change status - you have to enter the password again.

Actual Results:  
You have to repeatedly enter the password.

Expected Results:  
Enter the password once

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 27 Aug 2009 14:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ.UTF8"
LC_ALL="cs_CZ.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j3"
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="/home/m1c4a1/portage"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 ao audiofile bindist bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups dbus dri dvd dvdr encode flac gdbm geoip gif glut gnome gnutls gpm gstreamer gtk gtk2 hal iconv imagemagick ipv6 isdnlog jpeg jpeg2k libnotify lm_sensors mad mikmod mmap mmx mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf plotutils png pppd qt3 qt3support qt4 quicktime readline reflection sdl session sharedmem smartcard spl sqlite sse sse2 ssl ssse3 svg sysfs tcpd threads thunar trayicon truetype type1 unicode usb vim-syntax vorbis wifi x264 xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="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" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-09-08 09:03:20 UTC
Thank you for report Michal. With what USE flags you've built psi (emerge -pv psi)? 
Comment 2 Michal Špondr 2009-09-08 15:18:09 UTC
Psi is built using these flags:

# emerge -pv psi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/psi-0.13-r1  USE="crypt dbus jingle ssl -debug -doc -extras -spell -xscreensaver" LINGUAS="-de -es -fr -it -mk -pl -pt_BR -ru -sv -ur_PK -zh_TW" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-11-15 15:33:24 UTC
Michal, this looks like session configuration issue and has nothing to do with psi. Please, try to run in terminal:
 $ eval $(gpg-agent --daemon)
 $ psi

After this, psi should not requests password and all you need is to configure Desktop environment to start gpg-agent automatically for you. If psi still asks for password, then, please, reopen this bug.