<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<small>Thank you Jack and Thomas for your help. Everything now
working again. <br>
<br>
Final solution</small>: <small>Put the passphrase back into the
key! and, because I had reloaded gnupg, uncomment the 'use-agent'
option in gpg.conf. Simple when you know how. :) Regards, John<br>
</small><br>
<br>
On 05/04/2011 19:08, Jack Ostroff (CT D8 TC) wrote:
<blockquote cite="mid:1302023287.7665.0@ffortso4" type="cite">I hate
to ask, but are you absolutely certain you have a passphrase on
the key?
<br>
<br>
On 2011.04.05 12:22, John Le Page wrote:
<br>
<blockquote type="cite">No-it does not ask for the passphrase,
even after a reboot. I only use
<br>
gpg for KMyMoney encryption, not for email.
<br>
If I delete my private key from my keyring, then I get a message
from
<br>
KMyMoney '......decryption failed' and the file no longer opens
in KMM.
<br>
I will now try making a new private key, decrypting the file
with the
<br>
old one and re-encrypting with this new key and then see what
happens.
<br>
<br>
Thanks for your help. John
<br>
<br>
<br>
On 05/04/2011 16:08, Jack wrote:
<br>
> [this time to the list also...]
<br>
>
<br>
> I'm no gpg expert, but I suspect reinstalling gpg might not
help, if
<br>
> the default installation has the gpg-agent automatically
run when you
<br>
> log in.
<br>
>
<br>
> Question - if you log out and then log in again, does it
ask for the
<br>
> passphrase the first time you open the file? If so, then
you may just
<br>
> want to stop gpg-agent from being run. I'm not sure where
to look -
<br>
> but I'd start with .login and files like that, then look
for any
<br>
> system settings related to security.
<br>
>
<br>
> If it never asks for a passphrase (even first time after a
reboot)
<br>
> that's a stranger problem, since it means something is
caching your
<br>
> passphrase across reboots, and I don't think anything is
supposed to
<br>
> do that. In fact, you never stated whether you ever enter
your
<br>
> passphrase for anything at all (not just KMM) after logging
in. If
<br>
> you do, then getting gpg-agent not to run will fix your
problem. If
<br>
> not, then something else is going on.
<br>
>
<br>
> Jack
<br>
>
<br>
> On 2011.04.05 05:17, John Le Page wrote:
<br>
>>
<br>
>> Unfortunately not. I will re-install gpg etc and see
if this solves the
<br>
>> problem. Thank you for trying!
<br>
>>
<br>
>>
<br>
>> On 05/04/2011 10:44, Thomas Baumgart wrote:
<br>
>> > Hi,
<br>
>> >
<br>
>> > on Tuesday 05 April 2011 10:09:54 John Le Page
wrote:
<br>
>> >
<br>
>> >> Hello
<br>
>> >>
<br>
>> >> Your hunch was right. Thank you for your help.
<br>
>> >>
<br>
>> >> 'gpg -d myfile.kmy' does indeed send the file
to the display
<br>
>> unencrypted
<br>
>> >> without requesting the p/w. 'cat myfile.kmy'
shows the ascii armoured
<br>
>> >> file, so the encryption is there. Extracting
possibly relevant
<br>
>> files from
<br>
>> >> my list of installed files, this is what I
found and includes a
<br>
>> reference
<br>
>> >> to an agent
<br>
>> >>
<br>
>> >> gpgsm install
<br>
>> >> gpgv install
<br>
>> >> libgpg-error0 install
<br>
>> >> libgpgme++2 install
<br>
>> >> libgpgme11 install
<br>
>> >> libqgpgme1 install
<br>
>> >> gnupg install
<br>
>> >> gnupg-agent install
<br>
>> >> gnupg-curl install
<br>
>> >> gnupg2 install
<br>
>> >> python-gnupginterface install
<br>
>> >>
seahorse install
<br>
>> >>
seahorse-plugins install
<br>
>> >>
<br>
>> >> Your further suggestions on where to look
within the above or
<br>
>> elsewhere
<br>
>> >> would be appreciated.
<br>
>> > With a running gpg-agent and the passphrase
entered once, I can
<br>
>> force the
<br>
>> > passphrase dialog with the following command:
<br>
>> >
<br>
>> > GPG_AGENT_INFO= gpg -d myfile.kmy
<br>
>> >
<br>
>> > Does it ask for a passphrase now?
<br>
>> >
<br>
>> > This is more a GPG question and we're somewhat the
wrong community
<br>
>> here.
<br>
>> > Unless there is a GPG expert lurking here on the
list :)
<br>
>> >
<br>
>> >
<br>
>> >
<br>
>> >> On 04/04/2011 21:26, Thomas Baumgart wrote:
<br>
>> >>> Hi,
<br>
>> >>>
<br>
>> >>> on Monday 04 April 2011 18:16:31 John Le
Page wrote:
<br>
>> >>>> A great program which I started using
about six months ago after
<br>
>> Money
<br>
>> >>>> 2001 gave me very weird reports with
incorrect totals!
<br>
>> >>>>
<br>
>> >>>> As I was familiar with PGP, I soon
went to using the encryption
<br>
>> option,
<br>
>> >>>> which has been working fine until
today.
<br>
>> >>>>
<br>
>> >>>> On startup this morning I found it did
not want to open my file
<br>
>> and that
<br>
>> >>>> my Seahorse 2.32 was empty. I had
key backups which I restored
<br>
>> into
<br>
>> >>>> Seahorse and then the encrypted file
opened ok but without first
<br>
>> >>>> requesting my passphrase. The
problem is now that while the
<br>
>> KMyMoney
<br>
>> >>>> file is being stored with the right
ascii armoured format under
<br>
>> >>>>
<br>
>> >>>> -----BEGIN PGP MESSAGE-----
<br>
>> >>>> Version: GnuPG v1.4.10 (GNU/Linux)
etc
<br>
>> >>>>
<br>
>> >>>> but KMyMoney no longer asks me for the
passphrase before opening
<br>
>> the
<br>
>> >>>> file - it always just opens as soon as
requested.
<br>
>> >>> KMyMoney uses GPG for the encryption. It
does not store the
<br>
>> passphrase at
<br>
>> >>> all, so I have no idea why that is. Do you
have a gpg-agent running?
<br>
>> >>>
<br>
>> >>>> I have tried switching off the
encryption, saving the file again,
<br>
>> >>>> closing & opening the file and
re-saving it encrypted but still the
<br>
>> >>>> file next reopens without the
passphrase being requested!
<br>
>> >>> What happens if you run 'gpg -d
yourfile.kmy' ? Does it decrypt
<br>
>> to the
<br>
>> >>> console w/o entereing a passphrase?
<br>
>> >>>
<br>
>> >>>> Any suggestions? My OS is Ubuntu
10.10 and KMyMoney 4.5.3.1
<br>
>> from the
<br>
>> >>>> Clay Weber package.
<br>
>> >>> I don't expect KMyMoney being part of the
problem. Are you sure
<br>
>> you open
<br>
>> >>> the right file? Just to be sure.
<br>
<br>
<br>
_______________________________________________
<br>
KMyMoney-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:KMyMoney-devel@kde.org">KMyMoney-devel@kde.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kmymoney-devel">https://mail.kde.org/mailman/listinfo/kmymoney-devel</a>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</body>
</html>