Bug 266380 - Kmail asks for gpg key password each time mail is signed
Summary: Kmail asks for gpg key password each time mail is signed
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.13.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 14:44 UTC by jack
Modified: 2011-02-15 17:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jack 2011-02-15 14:44:15 UTC
Version:           1.13.5 (using KDE 4.5.5) 
OS:                Linux

A qt dialogue appears for pin entry in order to sign emails with my pgp key most times I send a signed email. It appears that kwallet isn't being used.

Incidentally (may not be related) kwallet periodically asks me for my wallet password again, about every 30-60 mins.

Reproducible: Sometimes

Steps to Reproduce:
enable auto mail sigining with a gpg key, send emails over a long period of time, perhaps leaving 30 mins between sending if necessary.

Actual Results:  
dialogue popup requesting key password

Expected Results:  
password for key is silently retrieved from kwallet, where its been stored already

Kontact is awesome.
Comment 1 Christophe Marin 2011-02-15 15:33:28 UTC
That's the expected behaviour.

There's no interest in signing mail if you don't actually sign.
Comment 2 jack 2011-02-15 15:50:28 UTC
What?

The point is to actually sign, but to retrieve the password from kwallet when doing so.

As I recall this is how kmail used to work before this bug appeared.

Users shouldn't have to type the password for their GPG key each time they send a signed mail, and they didn't use to have to.
Comment 3 Christophe Marin 2011-02-15 17:52:41 UTC
The secret passphrase was never stored in kwallet. (hopefully)
This most likely means your gnupg settings were changed.
Comment 4 Christophe Marin 2011-02-15 17:54:54 UTC
hint: make sure 'ignore-cache-for-signing' wasn't added to your gpg-agent.conf