I'm using kwallet on my Debian system with a GPG key. The key I used while setting up the system has now expired. I've already created a new one, which works as expected for mailing etc., but I don't know how to use this to encrypt kwallet.
Asked
Active
Viewed 2,892 times
8
-
what do i have to do in kleopatra? – roli Apr 24 '17 at 19:25
-
I see my new OpenPGP key in kleopatra, wich is valid till 2018. When i start – roli May 01 '17 at 17:06
-
I see my new OpenPGP key in kleopatra, wich is valid till 2018. When i start the kwalletmanager and press here the "change password" button, i get an error, which tells me the key signature which is actually used. This is the signature of the old key. How can i tell kwallet to use the new one? – roli May 01 '17 at 17:12
-
1@GAD3R: I don't want to extend the lifetime of my old key, i want to use the new one. – roli May 01 '17 at 17:13
-
1Hello. Have you tried to open wallet manager. Export the wallet, delete it and import it? – BenjB Jun 04 '18 at 00:37
-
As far as I remember: yes. But i will (re)try this the next time I'm sitting in front of this computer. – roli Jun 06 '18 at 07:59
-
@BenjB this should be answer for this question – QkiZ Jan 11 '20 at 11:50
-
I will add it, thanks! @QkiZ – BenjB Jan 11 '20 at 15:15
2 Answers
3
Have you tried the following:
- Open wallet manager
- Export the wallet
- Delete the wallet in KDEWallet
- Reimport the deleted wallet again
That should fix the issue.
BenjB
- 210
- 1
- 2
- 14
-
1it's important to name a new wallet with `kdewallet` because system expects that name in settings. – QkiZ Jan 11 '20 at 15:49
-
Thanks, but meanwhile I have a new system and not using KDEWallet any more – roli Jan 12 '20 at 17:38
-
Maybe I did something wrong but I wasn't able to just re-import the wallet after deleting (got some error saying its unable to open the file). What did work, though, was to first create a new one and _then_ import the passwords into that new wallet. – luator Apr 21 '22 at 06:45
0
What worked for me:
All steps but #2 are done in KDE Wallet Manager
- Do
File>Export as XML.Export as encryptedas backup too. - (optional) If you do not have have a new key already (mine was expired) - create one. I did so in
kleopatra. Created one with default choices - personal OpenPGP key pair with RSA, with passphrase. - Do
File>Delete Wallet - Create new wallet with name
kdewallet(File>New Wallet) using GPG encryption and referencing the needed key created at step #2 - Do
File>Import XMLto import old wallet content. - (optional) Everything should be good now. If anything went wrong, you can delete new wallet and
Import encryptedthe old backup with old content and old key.
SLCH000
- 101
- 2