When trying to create a new wallet from kwalletmanager, after creation error messages pop up stating "Encryption error while attempting to save <wallet name>. Error code is 0."
Debug output states:
kwalletd(18158) KWallet::GpgPersistHandler::write: GpgME encryption error: 55
The wallet is created, but any operation in which it is involved prompts that error.
For the record, gpg-agent is running and working properly (signing emails in KMail, for example).
Steps to Reproduce:
1. Open kwalletmanager
2. Create a new wallet with GPG backend
An error dialog pops up stating "Encryption error while attempting to save <wallet name>. Error code is 0. Please fix your system configuration, then try again!"
The wallet is successfully created without errors.
This is from latest master.
gpg-agent (GnuPG) 2.0.21
I forgot to add: a passphrase is not even asked when I select the key I want to use.
Git commit 33a3a778593ce05fdfffeaf09b2648b08096ee36 by Valentin Rusu.
Committed on 21/09/2013 at 15:07.
Pushed by vrusu into branch 'master'.
Fix new wallet wizard logic bug
M +3 -1 kwalletd/backend/backendpersisthandler.cpp
M +2 -2 kwalletd/knewwalletdialog.cpp