This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMyMoney unable to decrypt after adding identities to key

Tags: openpgp, kmymoney openpgp, kmymoney openpgp, kmymoney
(comma "," separated)
torbjoernk
Registered Member
Posts
3
Karma
0
OS
After adding a second identity to my OpenPGP key, KMyMoney is unable to open my saved finances, which are encrypted with this key (with just one identity).

The ID and fingerprint of my key are unchanged, but (and I don't know why) the newly added identity comes first in the list of identities.

I already played around with selecting different keys in the encryption settings of KMyMoney but without any success.

Is there a way of getting my saved finances back? They are _not_ encrypted with the KMyMoney recovery key.

Cheers,
Torbjoern
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
That is indeed very strange. Please keep a copy of that file in case we need to reference it in the future.

Run the following command in a Konsole window:
Code: Select all
gpg -d xxx.kmy > xxx.xml

which stores the decrypted data in xxx.xml that you can open using KMyMoney.

In case that does not work, we need more information which I will request upon feedback from you.

In case it works, can save the file encrypted with your new id settings and open it afterwards?


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
torbjoernk
Registered Member
Posts
3
Karma
0
OS
Now I'm confused. Not because of your suggestions, but because of the output of GPG:
Code: Select all
$: gpg -d Finanzen_crypted.kmy > Finanzen_decrypted.xml
gpg: verschlüsselt mit RSA Schlüssel, ID 804309C4
gpg: Entschlüsselung fehlgeschlagen: Kein geheimer Schlüssel

I do not have any key with an ID like the given one or even similar.

Is it somehow possible to remove an identify from an OpenPGP key? There should not be any problems with vowel mutation ('ö') within the name of the added identity, does it?

I did a backup of my (inaccessible) file and of my key (with the two identities).
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
OK, that does not look too good. What is the output of:
Code: Select all
gpg --list-secret-keys


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]