[Bug 1840007] [NEW] Kmail reports "Could not read the password" when trying to set an IMAP account online

Lari Natri 1840007 at bugs.launchpad.net
Tue Aug 13 10:49:07 UTC 2019

Public bug reported:

1. Try to set Gmail IMAP account online by checking mail.

The account stays offline (folders are marked red) and the message "Could not read the password. User rejected wallet access" message can be seen in the Kmail's account settings. If password is changed there, it is updated correctly to the wallet as seen in Wallet Manager, but the error persists nevertheless.

Account goes online and new messages are downloaded. (Actually, normally the account is online automatically.)

Linux: 5.0.0-23
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.60.0
Qt Version: 5.12.2


KDE wallet is opened normally (at login through PAM) and Wallet Manager
displays the wallet open and "kontact" as an attached application.

The problem appeared suddenly on two different machines around
10.8.2019, possibly after a package update. One system is Kubuntu 18.04
LTS and the other is Kubuntu 19.04, both with KDE backports repository

I noticed that around the time of the problem appearing, an update was
installed to mitigate the .desktop file vulnerability. The following
packages were upgraded:

libkf5config-data:amd64 (5.60.0-0ubuntu1~ubuntu19.04~ppa1,
5.60.0-0ubuntu2~ubuntu19.04~ppa1), libkf5configcore5:amd64
(5.60.0-0ubuntu1~ubuntu19.04~ppa1, 5.60.0-0ubuntu2~ubuntu19.04~ppa1),
libkf5configgui5:amd64 (5.60.0-0ubuntu1~ubuntu19.04~ppa1,
5.60.0-0ubuntu2~ubuntu19.04~ppa1), dpkg:amd64 (1.19.6ubuntu1,
1.19.6ubuntu1.1), libkf5config-dev-bin:amd64
(5.60.0-0ubuntu1~ubuntu19.04~ppa1, 5.60.0-0ubuntu2~ubuntu19.04~ppa1),
libkf5config-bin:amd64 (5.60.0-0ubuntu1~ubuntu19.04~ppa1,
5.60.0-0ubuntu2~ubuntu19.04~ppa1), libkf5config-dev:amd64
(5.60.0-0ubuntu1~ubuntu19.04~ppa1, 5.60.0-0ubuntu2~ubuntu19.04~ppa1),
libkf5config-doc:amd64 (5.60.0-0ubuntu1~ubuntu19.04~ppa1,
5.60.0-0ubuntu2~ubuntu19.04~ppa1), libdpkg-perl:amd64 (1.19.6ubuntu1,
1.19.6ubuntu1.1), dpkg-dev:amd64 (1.19.6ubuntu1, 1.19.6ubuntu1.1)

My apologies, if the tagged software package is incorrect.

I've also reported this bug in KDE bug tracker; bug id: 410872. Link:

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: akonadi-server 4:18.12.3-0ubuntu3
ProcVersionSignature: Ubuntu 5.0.0-23.24-generic 5.0.15
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Aug 13 13:45:06 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-28 (1779 days ago)
InstallationMedia: Kubuntu-Plasma-5 14.10 "Utopic Unicorn" - Alpha amd64 (20140927)
SourcePackage: akonadi
UpgradeStatus: Upgraded to disco on 2019-04-23 (111 days ago)

** Affects: akonadi
     Importance: Unknown
         Status: Unknown

** Affects: akonadi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: kmail (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: amd64 apport-bug disco third-party-packages

** Bug watch added: KDE Bug Tracking System #410872

** Also affects: akonadi via
   Importance: Unknown
       Status: Unknown

** Also affects: kmail (Ubuntu)
   Importance: Undecided
       Status: New

You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to akonadi in Ubuntu.

  Kmail reports "Could not read the password" when trying to set an IMAP
  account online

To manage notifications about this bug go to:

More information about the kubuntu-bugs mailing list