<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 3 May 2016 18:14:58 -0400<br>
From: Ryan Novosielski <<a href="mailto:ryan@novosielski.com">ryan@novosielski.com</a>><br>
To: KMyMoney Users' mailing list <<a href="mailto:kmymoney@kde.org">kmymoney@kde.org</a>><br>
Subject: Re: Can't access Encryption settings<br>
Message-ID: <<a href="mailto:0527B7E2-D46F-4BA7-A369-ED37ECFEE957@novosielski.com">0527B7E2-D46F-4BA7-A369-ED37ECFEE957@novosielski.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
> On May 3, 2016, at 04:23, Nick Elliott <<a href="mailto:nick@nick-elliott.net">nick@nick-elliott.net</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I've just done a clean install of Kubuntu 16.04 and now when I go into KMyMoney the encryption options in the configuration screen are ghosted out.<br>
><br>
> As far as I can tell GPG is correctly installed on my system. On previous occasions after a clean install of the OS I never had to complete additional steps, it just worked.<br>
><br>
> I was trying this because I can no longer open my encrypted KMyMoney data file. I posted about this in the KDE Forums (see <a href="https://forum.kde.org/viewtopic.php?f=225&t=132709" rel="noreferrer" target="_blank">https://forum.kde.org/viewtopic.php?f=225&t=132709</a>).<br>
><br>
> Does anyone know if a component or library is missing from my system?<br>
><br>
> If not I'll have to work out how to decrypt my data file manually using my GPG key.<br>
<br>
I think last time I needed to figure something like this out, I ran it from the command line and watched the output to see what it said about missing dependencies. There might be a flag you need to use to make it more verbose.<br>
<br>
I upgraded to 16.04 and it still works, FWIW. Decrypting is very easy BTW, just -d if I recall.<br>
> ᐧ<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.kde.org/pipermail/kmymoney/attachments/20160503/4112cf84/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.kde.org/pipermail/kmymoney/attachments/20160503/4112cf84/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>Message: 3<br>
Date: Wed, 04 May 2016 09:04:15 +0200<br>
From: Thomas Baumgart <<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>><br>
To: KMyMoney Users' mailing list <<a href="mailto:kmymoney@kde.org">kmymoney@kde.org</a>><br>
Subject: Re: Can't access Encryption settings<br>
Message-ID: <1970140.T3OWqupOPJ@thb-nb.site><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
On Tuesday 03 May 2016 18:14:58 Ryan Novosielski wrote:<br>
<br>
> > On May 3, 2016, at 04:23, Nick Elliott <<a href="mailto:nick@nick-elliott.net">nick@nick-elliott.net</a>> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > I've just done a clean install of Kubuntu 16.04 and now when I go into<br>
> > KMyMoney the encryption options in the configuration screen are ghosted<br>
> > out.<br>
> ><br>
> > As far as I can tell GPG is correctly installed on my system. On previous<br>
> > occasions after a clean install of the OS I never had to complete<br>
> > additional steps, it just worked.<br>
> ><br>
> > I was trying this because I can no longer open my encrypted KMyMoney data<br>
> > file. I posted about this in the KDE Forums (see<br>
> > <a href="https://forum.kde.org/viewtopic.php?f=225&t=132709" rel="noreferrer" target="_blank">https://forum.kde.org/viewtopic.php?f=225&t=132709</a>).<br>
> ><br>
> > Does anyone know if a component or library is missing from my system?<br>
<br>
The things that cross my mind are libqca2 (sorry, I am on an RPM based system<br>
here) and a running gpg agent.<br>
<br>
You can check for a running GPG agent with this command from a terminal:<br>
<br>
  set | grep GPG_AGENT_INFO<br>
<br>
This is how it looks here for me:<br>
<br>
thb@thb-nb:~$ set | grep GPG_AGENT_INFO<br>
GPG_AGENT_INFO=/tmp/gpg-ngvHmv/S.gpg-agent:20566:1<br>
<br>
The actual value sure is different for you, but if present the agent is<br>
running.<br>
<br>
> > If not I'll have to work out how to decrypt my data file manually using my<br>
> > GPG key.<br>
<br>
Easy enough:<br>
<br>
  gpg -d your-kmm-filename.kmy > test.xml<br>
  kmymoney test.xml<br>
<br>
KMyMoney has an indication inside the file that is was stored encrypted which<br>
does not change when you decrypt it manually. Therefore you might see a<br>
warning when you save the file that encryption is not available.<br>
<br>
> I think last time I needed to figure something like this out, I ran it from<br>
> the command line and watched the output to see what it said about missing<br>
> dependencies. There might be a flag you need to use to make it more<br>
> verbose.<br>
><br>
> I upgraded to 16.04 and it still works, FWIW. Decrypting is very easy BTW,<br>
> just -d if I recall.<br>
<br>
Yes, see above.<br>
<br>
Hope that helps.<br>
<br>
--<br>
<br>
Regards<br>
<br>
Thomas Baumgart<br>
<br>
GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA<br>
-------------------------------------------------------------<br>
What we call chaos is just patterns we haven't recognized.<br>
What we call random is just patterns we can't decipher.<br>
What we can't understand we call nonsense.<br>
What we can't read we call gibberish. - Chuck Palahniuk<br>
-------------------------------------------------------------<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 225 bytes<br>
Desc: This is a digitally signed message part.<br>
URL: <<a href="http://mail.kde.org/pipermail/kmymoney/attachments/20160504/9be6b115/attachment-0001.sig" rel="noreferrer" target="_blank">http://mail.kde.org/pipermail/kmymoney/attachments/20160504/9be6b115/attachment-0001.sig</a>><br>
<br>
------------------------------<br>
<br></blockquote><div>Hi,</div><div><br></div><div>Thank you both for the responses.</div><div><br></div><div>I tried to decrypt my file but that didn't work.</div><div><br></div><div>It looks as if something has changed either in GPG or in the KGPG utility (which I use to export and import my keyfile).</div><div><br></div><div>This time the process didn't work, after importing the keyfile the secret file was showing using gpg --list-key but not using gpg --list-secret-keys.</div><div><br></div><div>I'm not sure why, this is something I've done many times before.</div><div><br></div><div>Anyway after restoring my .gnupg folder from backup I can open the encrypted file in KMyMoney.</div><div><br></div><div>Thanks again.</div><div><br></div><div>Nick</div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=abmlja0BuaWNrLWVsbGlvdHQubmV0&type=zerocontent&guid=dd44b077-938f-4894-91b1-85c69edea8a7"><font color="#ffffff" size="1">ᐧ</font></div>