Bug 363286

Summary: "Could not start certificate manager. Please check your installation." on clicking an unknown key.
Product: [Applications] kmail2 Reporter: Dan Dart <kde>
Component: cryptoAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: minor CC: montel, winter
Priority: NOR    
Version: 5.1.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dan Dart 2016-05-19 18:18:01 UTC
I have kmail and kgpg installed. I'm expecting to be able to import a foreign gpg key to verify the identity of the sender but when I click the foreign key ID I get a pop up with "Could not start certificate manager. Please check your installation."

Reproducible: Always

Steps to Reproduce:
1. Open a signed message you don't have the key for.
2. Click More Details next to "unable to verify certificate validity".
3. Click the key ID

Actual Results:  
A popup with "Could not start certificate manager. Please check your installation."

Expected Results:  
I expected either to be prompted with a key import dialog from kgpg or be prompted to install missing packages.

Includes kgpg 2.17.0
Comment 1 Allen Winter 2016-05-19 18:24:18 UTC
try installing kleopatra
I believe kleopatra is the certificate manager program, not kgpg
Comment 2 Dan Dart 2016-05-19 18:34:43 UTC
Ah, right. This seems to be OK. This wasn't obvious in the program, so perhaps installing it could be a suggestion/requirement at the checking stage?
Comment 3 Laurent Montel 2016-05-19 19:06:02 UTC
It's not a kmail problem.
Report it to your distro.
Thanks
Regards
Comment 4 Allen Winter 2016-05-19 21:42:15 UTC
Laurent,
        KMessageBox::error( mParentWidget, i18n( "Could not start certificate manager; "
                                        "please check your installation." ),
                            i18n( "KMail Error" ) );

How about changing that to
        KMessageBox::error( mParentWidget, i18n( "Could not start certificate manager; "
                                        "please make sure you have Kleopatra properly installed." ),
                            i18n( "KMail Error" ) );
Comment 5 Laurent Montel 2016-05-20 04:52:38 UTC
Git commit 8f666fae9713e14f6067e9ad086e1c188699c648 by Montel Laurent.
Committed on 20/05/2016 at 04:51.
Pushed by mlaurent into branch 'master'.

Change message as Allen requested

M  +4    -4    kmail/src/kmlaunchexternalcomponent.cpp

http://commits.kde.org/kdepim/8f666fae9713e14f6067e9ad086e1c188699c648