[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-desktop
Subject:    Re: [gentoo-desktop] kmail, gpg,
From:       "Christian Parpart" <trapni () gentoo ! org>
Date:       2005-09-19 12:16:39
Message-ID: 36581.217.13.201.49.1127132199.squirrel () 217 ! 13 ! 201 ! 49
[Download RAW message or body]

> On Monday 19 September 2005 04:51, Christian Parpart wrote:
>> Hi,
>>
>> well, I never played with encrypted messages, however, somehow,
>> I required to receive one some recently but failed in decrypting
>> with message "bad passphrase" - and indeed, kmail didn't ask me
>> for one.
>>
>> Though, I installed gpg-agent, but kmail hints me (in some self tests
>> afterwards), that gpg-agent doesn't seem to run (which is not true
>> anyway)...
>>
>> Has anyone who has this working a good hint for me here?
>>
>> I'm out of ideas...
>
> gpg-agent should not only be running. The problem is that kmail must be
> able to find it. For this gpg-agent outputs some bash code that would set
> an environment variable. If kmail does not see this variable, it cannot
> find gpg-agent (indeed, broken behaviour). Assuming you use gdm or kdm to
> start your session you would need to add this code to your ~/.xprofile
> 'eval "`gpg-agent --daemon 2`"; export GPG_AGENT_INFO'
> without the single quotes. You might want to add some code to prevent
> multiple gpg-agent instances running, but the above is sufficient.

(i'm currently at work, though can't test)

I'm running no DM, I rather use startx and have keychain set up for
ssh-agent use, though, just extended the cmd line to --agents ssh,gpg (was
--agents ssh) within my .bash_profile.

The question is: why does kmail not ask me for a passphrase when no
gpg-agent is available anyway?

Regards,
Christian Parpart.


-- 
gentoo-desktop@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic