A short while after KWallet starts, or whenever I close it manually, it will present a dialogue box with roughly following content: ~"Encryption error when saving password store. Errorcode 1 (Unknown error)" The exact message is German: "Verschlüsselungsfehler beim Versuch den Passwortspeicher zu speichern kdewallet. Der Fehlercode lautet 1 (General error). Bitte korrigieren Sie Ihre Systemeinrichtung und versuchen es dann erneut." The notification area also logs a message, which reads roughly as follows: ~"Sync of password store with harddisk failed: RC -7 SF Unknown error" The original message is German: "Abgleich des Passwortspeichers kdewallet mit der Festplatte ist fehlgeschlagen. Die Fehlermeldung lautet RC -7 SF Unbekannter Fehler. Bitte senden Sie einen Fehlerbericht mit diesen Informationen an bugs.kde.org" After a while another dialogue pops up: ~"Closing the password store cannot be enforced. Errorcode: -1" German: "Das Schließen des Passwortspeichers lässt sich nicht erzwingen. Fehlercode: -1" Enabling debugging with kdebugdialog logs the following to ~/.xsession-errors: kwalletd(1903)/kdeui (Wallet) kdemain: kwalletd started kwalletd(1903)/kdeui (Wallet) KWalletD::connectToScreenSaver: connected to screen saver service. kwalletd(1903) KWallet::GpgPersistHandler::read: This wallet was encrypted using GPG key with ID "XXX" kwalletd(1903) KWallet::GpgPersistHandler::read: The key was found.kwalletd(1903) KWallet::GpgPersistHandler::write: GpgME encryption error: 1 I am running Gentoo/Linux and use following software versions (category/package-version[useflags]): kde-base/kwalletd-4.12.3[semantic-desktop] app-crypt/gnupg-2.0.22[bzip2 ldap nls readline smartcard usb] app-crypt/gpgme-1.4.3[] The problem probably appeared after updating KDE to 4.12.3 (hard to say, because I used this machine very very seldomly recently). Reproducible: Always
Does your gpg set-up is OK on your system? Are you able to encrypt then decrypt a test file using the key you used to set-up your wallet ? Is that key "ultimate trusted" ?
If you can provide the information requested in comment #1, please add it.
For the next few months I do not have access to the mentioned machine. I will come back to you afterwards.
Hi there, I am on Arch Linux, I yesterday installed plasma and kde-applications, and I am seeing the same here. I what could be related is, that after I migrated kwallet to GPG, I later created a newer GPG key. KWalletmanager still uses the old key. Whatever the reason, the problem is, that Kwalletmanager fails to reveal any details about what is actually going on and Kwalletmanager seems to lack the functionality to migrate the password store from one key to another.
I think I have found the reason: I had to change the key trust settings in Kleopatra for my GPG key. Obviously, Kleopatra was unaware, that this particular key is my own and therefore has implicit ultimate trust.
(In reply to Johannes Rohr from comment #4) > Hi there, I am on Arch Linux, I yesterday installed plasma and > kde-applications, and I am seeing the same here. I what could be related is, > that after I migrated kwallet to GPG, I later created a newer GPG key. > KWalletmanager still uses the old key. Whatever the reason, the problem is, > that Kwalletmanager fails to reveal any details about what is actually going > on and Kwalletmanager seems to lack the functionality to migrate the > password store from one key to another. I just filed an enhancement request for this - see BUG 348560. I'll take care of it asap.
Indeed, the key must to be "ultimate trust" in order to successfully handle the encryption. So, this is not really a bug, so closing it.