You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, June 27th 2005, 9:07pm

[Kopete] How to stop Kopete using KWallet?

At some point, I foolishly said "yes" to a dialog asking me if I wanted to use KWallet. It now insists on asking me for my KWallet password every time I try to log into any account. I've tried deleting all of my Kopete configuration data and the Kopete wallet, but I'm clearly missing something because it still prompts.

Any suggestions gratefully received.

Thanks in advance!

2

Tuesday, June 28th 2005, 7:24am

RE: [Kopete] How to stop Kopete using KWallet?

I think that kwallet is always used if you want to let it remember your password. So, if you say it should not remember your password, KWallet will disappear.

It is possible to setup KWallet so that it only ask once for your password.

Saving password in KWallet is much safer than setting it plain text in a configuration file. If you use KWallet, the password are decrypted after entering your KWallet password.

3

Tuesday, June 28th 2005, 9:16am

RE: [Kopete] How to stop Kopete using KWallet?

Quoted

Originally posted by mart_k
I think that kwallet is always used if you want to let it remember your password. So, if you say it should not remember your password, KWallet will disappear.


I don't believe that this is the case - on another computer (where I wasn't foolish enough to say "yes" the first time I was prompted about KWallet), I have Kopete configured to remember my password, and it does not prompt me for my KWallet password.

On the computer in question, if I hit cancel when Kopete asks me for my KWallet password, it still successfully logs in using the "insecure" password that I have saved. I have tried telling KWallet not to remember my password, and it sill prompts me for my KWallet password.

I understand that KWallet is more secure - but in this particular case I value the convenience of being able to log in without having to type a password more than I value any security I may gain through its use.

Thanks in advance for any further suggestions you may have,

4

Tuesday, June 28th 2005, 9:56am

RE: [Kopete] How to stop Kopete using KWallet?

If you have a computer where it does stores it as you like, you can check the configuration-file for clues. The configuration-file of Kopete is ~/.kde/share/config/kopeterc.

After reading some Kopete code, Kopete tried hard to let you use KWallet. But it still have the Password configuration entry as backup. You can try to cancel all request from KWallet. At a given moment, it will ask you for the password of the account, and you give it. After it, it will ask again for KWallet, and again, you cancel.

You can also use the entries from the other file. The password in the configuration are proberly weak-encryption, so you must be sure to copy the whole password.

I don't know if KWallet will totally disappear: I think it will try to save it in KWallet every time you startup Kopete. But canceling that request should give the password from the configuration file. I conclude that you of this comment:

Quoted

kopetepassword.cpp

Source code

1
2
// Before trying to read from the wallet, check if the config file holds a password.
// If so, remove it from the config and set it through KWallet instead.


BTW: Since KDE 3.4 it is possible to use an empty password for KWallet.

This post has been edited 1 times, last edit by "mart_k" (Jun 28th 2005, 9:56am)


5

Monday, November 21st 2005, 8:23pm

I have to agree that this is annoying. It's my only real problem with Kopete.

polrus

Beginner

Posts: 5

Location: Europe.Poland.Zabrze

Occupation: ~student

  • Send private message

6

Thursday, March 16th 2006, 7:27pm

yes it REALLY is anoying - the same for kmail (maybe only if u use gpg in kmail)
ska ska ska

7

Thursday, March 16th 2006, 8:53pm

Using an empty password in kwallet is a decent solution.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

8

Thursday, March 16th 2006, 8:58pm

I think there's a solution for this.

First, make sure Kopete (or KMail) are closed.

Go to your wallet (fire kwalletmanager) and enter it's settings (Settings->Configure Wallet). Go to the second tab, locate the Kopete entry and delete it by right clicking it.

Now, run Kopete. It tries to enter the wallet, but you will get a question first if you want to allow Kopete to your wallet. Choose Deny Forever. Now you have to manually enter those passwords (don't forget to check Remember password. Kopete won't bother you anymore with KWallet.

Same holds for any other application.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)