Review Request: Using KWallet to store Cookies

José Millán Soto fid at
Tue Sep 14 19:45:54 BST 2010

This is an automatically generated e-mail. To reply, visit:

(Updated 2010-09-14 18:45:54.432872)

Review request for kdelibs.


New version of the patch.
The difference between this patch and the one which was submited yesterday is that this one does not support the legacy cookie file location, as the cookie file location was changed more than 10 years ago.


Currently cookies are stored in a plain text file. This patch allows KCookieJar to store the cookies securely using KWallet.

The main problem I had writing this patch was that when a web page is requested, KIO ask for the cookies to kded using dbus. In the first implementations that I wrote, if the user took too long to open the wallet, KIO received a dbus timeout.

To prevent this, if it takes more than 10 seconds to open the wallet, the web page will be requested without sending the cookies (or sending the available cookies if there's still the plain text cookie file). If the wallet is opened after that, the cookies stored in the wallet will be available since then.

Because of this, the feature is disabled by default.

Diffs (updated)

  /trunk/KDE/kdebase/apps/konqueror/settings/kio/kcookiespolicies.cpp 1175181 
  /trunk/KDE/kdebase/apps/konqueror/settings/kio/kcookiespoliciesdlg.ui 1175181 
  /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookiejar.h 1175181 
  /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookiejar.cpp 1175181 
  /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookieserver.h 1175181 
  /trunk/KDE/kdelibs/kioslave/http/kcookiejar/kcookieserver.cpp 1175181 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list