Bug 128800 - KMail cannot find gpg-agent running after 30 minutes
Summary: KMail cannot find gpg-agent running after 30 minutes
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.9.1
Platform: unspecified FreeBSD
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 23:51 UTC by Gerard Seibert
Modified: 2015-04-12 10:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen shot of error message (27.66 KB, image/png)
2006-06-07 23:53 UTC, Gerard Seibert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2006-06-07 23:51:23 UTC
Version:           1.9.1 (using KDE 3.5.2, compiled sources)
Compiler:          gcc version 3.4.4 [FreeBSD] 20050518
OS:                FreeBSD (i386) release 6.1-STABLE

The following happens in KMail on a regular basis.

When I first attempt to send a signed message, I am asked for my password phase. That works as it should. If I send another message within a short period of time, I am not bothered for the password since I have gpg-agent running.

Now, if I wait more than approximately one-half hour, and attempt to send another signed message, I am greeted with a message telling me that gpg-agent was found but not running. That is not correct.

This is the out put of ps | grep for gpg-agent:

~ # ps | grep "gpg-agent"
root      46228  0.0  0.3  3248  1112  ??  Ss    4:29PM   0:00.63 gpg-agent --daemon --use-standard-socket

I will be attaching a snap shot of the screen error message with this bug report. I have configured gpg-agent's expire cache PIN's after n seconds to 604800 which should preclude it timing out in less than one hour, but it doesn't.
Comment 1 Gerard Seibert 2006-06-07 23:53:24 UTC
Created attachment 16519 [details]
Screen shot of error message

This is the error message that gets displayed.
Comment 2 Stefan Gehn 2006-06-08 00:41:12 UTC
AFAIK gnupg uses gpg-agent transparently and calls the password callback function in the application in case gpg-agent was not found (i.e. it's only a fallback option). In that case this would be a gnupg bug and not a kmail one.

I'd like somebody with more knowledge to comment on this though :)
Comment 3 Thiago Macieira 2006-06-13 23:08:47 UTC
When KMail says gpg-agent cannot be found, try signing something using gpg from the command-line. If it asks for your password in the terminal, gpg-agent cannot be found by anything, so it's not a KMail bug.
Comment 4 Laurent Montel 2015-04-12 10:06:11 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.