[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#641421: kmail: KMail asks for already saved (IMAP) password every time it starts up (KWallet/session interaction issues?)

Package: kmail
Version: 4:
Severity: minor


KMail is started by the session manager when KDE starts up, and asks for a password (IMAP) that is already saved in KWallet.

Sometimes KWallet gives a warning about a misbehaving application:

"There have been repeated failed attempts to gain access to a wallet. An application may be misbehaving."

The password can be found in KWallet when you check for it, so that's not the problem.

I'm guessing either interaction issues between KMail and KWallet, or some sort of race condition in restoring sessions where KMail loads before or simultaneously with KWallet and requests the IMAP password before KWallet itself is unlocked: KWallet itself requests its unlock password *after* KMail requests the IMAP password, so KMail simply couldn't have checked the IMAP password from KWallet since it was still locked.

I assume KMail for some reason doesn't wait until KWallet is unlocked, and hence asks the IMAP password directly from the user.

What I expect and want to happen, quite logically, is that KMail uses the saved IMAP password from KWallet and doesn't ask for it to be manually entered every time.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kmail depends on:
ii  kdebase-runtime         4:4.6.5-1           
ii  kdepim-runtime          4:        
ii  kdepimlibs-kio-plugins  4:4.6.5-1           
ii  libakonadi-contact4     4:4.6.5-1           
ii  libakonadi-kde4         4:4.6.5-1           
ii  libc6                   2.13-20             
ii  libgcc1                 1:4.6.1-10          
ii  libgpgme++2             4:4.6.5-1           
ii  libkabc4                4:4.6.5-1           
ii  libkcal4                4:4.6.5-1           
ii  libkcmutils4            4:4.6.5-2           
ii  libkde3support4         4:4.6.5-2           
ii  libkdecore5             4:4.6.5-2           
ii  libkdepim4              4:   
ii  libkdeui5               4:4.6.5-2           
ii  libkhtml5               4:4.6.5-2           
ii  libkimap4               4:4.6.5-1           
ii  libkio5                 4:4.6.5-2           
ii  libkldap4               4:4.6.5-1           
ii  libkleo4                4:   
ii  libkmime4               4:4.6.5-1           
ii  libknotifyconfig4       4:4.6.5-2           
ii  libkontactinterface4    4:4.6.5-1           
ii  libkparts4              4:4.6.5-2           
ii  libkpgp4                4:   
ii  libkpimidentities4      4:4.6.5-1           
ii  libkpimtextedit4        4:4.6.5-1           
ii  libkpimutils4           4:4.6.5-1           
ii  libkresources4          4:4.6.5-1           
ii  libksieve4              4:   
ii  libktnef4               4:4.6.5-1           
ii  libmailtransport4       4:4.6.5-1           
ii  libmessagecore4         4:   
ii  libmessagelist4         4:   
ii  libmimelib4             4:   
ii  libnepomuk4             4:4.6.5-2           
ii  libphonon4              4:4.6.0really4.5.0-5
ii  libqt4-dbus             4:4.7.3-8           
ii  libqt4-network          4:4.7.3-8           
ii  libqt4-qt3support       4:4.7.3-8           
ii  libqt4-xml              4:4.7.3-8           
ii  libqtcore4              4:4.7.3-8           
ii  libqtgui4               4:4.7.3-8           
ii  libstdc++6              4.6.1-10            
ii  libthreadweaver4        4:4.6.5-2           
ii  perl                    5.12.4-4            
ii  phonon                  4:4.6.0really4.5.0-5

Versions of packages kmail recommends:
ii  gnupg-agent                   2.0.18-1
ii  gnupg2                        2.0.18-1
ii  pinentry-gtk2 [pinentry-x11]  0.8.1-1 

Versions of packages kmail suggests:
pn  clamav | f-prot-installer                                 <none>           
pn  kaddressbook                                              4:
pn  kleopatra                                                 4:
pn  procmail                                                  3.22-19          
pn  spamassassin | bogofilter | annoyance-filter | spambayes  <none>           

-- no debconf information

Reply to: