[kmail2] [Bug 324424] i can not select my S/MIME certificate for Email Signature

Enrico Tagliavini enrico.tagliavini at gmail.com
Mon Jul 28 15:52:41 BST 2014


https://bugs.kde.org/show_bug.cgi?id=324424

--- Comment #11 from Enrico Tagliavini <enrico.tagliavini at gmail.com> ---
(In reply to Leopold Goetze from comment #10)
> I have the same problem. gpg-agent is running and older emails in the sent
> mail folder report a valid signature (green colour) as I imported my
> certificate including the secret key. Since I have selected all emails to be
> signed for any new email there is a message in the upper status bar that
> this email will be signed. However if I click on sent I receive an error (no
> valid signature selected (since I cannot select it for signing or crypting
> this is rather logical).

Hi Leopold,

I had this problem as well at some point, I'm not entirely sure I sorted it out
though. The problem is at gpg level I think, since gpgsm was complaining as
well about my key. It was reporting the public part of the key was missing
(which makes little sense to me).

You should be able to reproduce with:

gpgsm --local-user <your key id, find it with gpgsm -K>

For sure I performed the following actions multiple times and in different
order, at some point I realized it was working again:

 - from kleopatra sign a file with the key you need (I think this is likely
what helped most, but I can't be sure)
 - remove your certificate and import it again from kleopatra
 - remove it from the command line (by rm -rf the private key file)
 - import it from the command line with gpgsm, both public and private parts
 - removed and added the CA back

So I would suggest to investigate what kleopatra is reporting about your
certificate and if you are able to sign stuff with it. Same with straight gpgsm
command, to check the components kmail is using are actually working.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list