Bug 162859 - KMail asks for passwords if wallet is not opened in time
Summary: KMail asks for passwords if wallet is not opened in time
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-30 08:23 UTC by András Manţia
Modified: 2008-07-11 18:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description András Manţia 2008-05-30 08:23:20 UTC
Version:            (using 4.00.81 (KDE 4.0.81 >= 20080527, compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.4-8-default

If I don't open the wallet (protected with a password) in time, KMail timeouts and starts to ask for passwords again and wants to store them in its config file. Instead of directly asking the passwords, it should show a dialog that tells the wallet is not available, retry or ignore it. If you chose retry, it should try again to ask the wallet for passwords.
Usecase:
- password protected wallet
- kmail starts on login
- kmail checks mails on startup
- you start the computer and walk away for some minutes

When you are back, you see the wallet dialog and kmail password dialogs. You enter the wallet password, but you have to restart kmail if you don't want to store the passwords in the config file.
Comment 1 András Manţia 2008-05-30 08:26:04 UTC
Bonus bug: I was wrong.... kmail completely forgets that the passwords are in the wallet. If you close the authorization dialog(s), open the wallet, restart kmail and it will ask for passwords instead of using the ones from the wallet. At least they are again stored in the wallet.
Comment 2 Gustavo Narea 2008-06-08 23:58:59 UTC
I can confirm it under KDE 4.1 Beta1/Kubuntu.
Comment 3 Jan Binder 2008-06-29 22:45:11 UTC
I can confirm this under Debian unstable/experimental using kmail 4.0.82+svn81.
Kmail forgets all pop3, imap and smtp passwords even though it asks for the wallet password.
Comment 4 Allen Winter 2008-07-11 18:56:28 UTC
SVN commit 831004 by winterz:

fix bug "if wallet is closed and then you open it, you are still prompted
for your transport password even if it should be in the wallet."

the fix was you need to ask the transportmanager back for the password
after it reads them from the wallet.

BUGS: 162859,165569
CCMAIL: tomalbers@kde.nl



 M  +1 -0      transport.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=831004