A newly created wallet with GPG backend cannot be opened. Reproducible: Always Steps to Reproduce: 1. Start Wallet Manager. 2. Create a new wallet (File->New), select GPG backend and an RSA-4096 GPG key. 3. When you select the key, an error appears (see the attach). No matter how many times you press Retry, the same error appears. 4. When you press Cancel, the error disappears, the new wallet is in the list in the Manager. 5. When you try to open the wallet, the same error appears. Occasionally the error does not appear and the wallet opens, but that is a rare case. 6. The same error appears when you execute `kwallet-query -l <wallet name>` in the command line. Actual Results: An error appears, the wallet is inaccessible. Expected Results: The wallet should work. The GPG key uses RSA 4096-bit key with no passphrase.
Created attachment 100890 [details] KWallet error message
It worked for me in Fedora 32, don't know which exactly version but now with Fedora 34 I see an error after entering GPG key password. This happens with the existing wallet as well when I created a new one. > Encryption error while attempting to save the wallet kdewallet. Error code is 53 (Unusable public key). Please fix your system configuration, then try again. This error may occur if you are not using a full trust GPG key. Please ensure you have the secret key for the key you are using. -- kwalletmanager5-20.12.2-1.fc34.x86_64 -- kf5-kwallet-libs-5.80.0-1.fc34.x86_64
Started happening just recently on openSUSE Tumbleweed: kwalletmanager5 | package | 22.04.1-1.1 | x86_64 | Main Repository (OSS) kwalletd5 | package | 5.94.0-1.1 | x86_64 | Main Repository (OSS) libkwalletbackend5-5 | package | 5.94.0-1.1 | x86_64 | Main Repository (OSS) kwallet-tools | package | 5.94.0-1.1 | x86_64 | Main Repository (OSS)
(In reply to Lassi Väätämöinen from comment #3) > Started happening just recently on openSUSE Tumbleweed: 'gpg -K' and KGpg show that keys are just fine. KWallet seem to think >Seems that your system has no keys suitable for encryption. Please set-up at least one encryption key, then try again.
I am getting the same error message and I will add a bit more context: I am on Arch Linux and I started using KDE initially with ly [1]. As I saw later that sddm was recommended I installed sddm, enabled it and tried to start using it. Now when I log in with sddm instead of ly, I get the error message described above. gpg works fine, kwallet just seems to be unable to load my wallet. When I go back to ly, it works fine again. If I try to open a wallet in kwalletmanager, it just freezes. As in: it freezes as soon as I click "Open"; I can't even select a wallet to open in the first place. If started from the command line, there is no additional logging. Similarly, if I run `kwallet-query -v -l kdewallet` it hangs; I am not getting an error message. That said, it is possible I did not wait long enough for a timeout to occur. - kwallet 6.5.0-1 - kwallet-pam 6.1.4-1 - kwalletmanager 24.08.0 [1]: https://github.com/fairyglade/ly