Bug 388478

Summary: Could not create key pair: No agent running
Product: [Applications] kleopatra Reporter: alin.buceceanu
Component: generalAssignee: Andre Heinecke <aheinecke>
Status: RESOLVED NOT A BUG    
Severity: major CC: kdepim-bugs, mcarpenter, mutz
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: Could not create key pair: No agent running

Description alin.buceceanu 2018-01-03 07:29:48 UTC
Created attachment 109641 [details]
Could not create key pair: No agent running

Hello,

I am trying to create a new personal OpenPGP key pair.
I am giving my name and e-mail address and I become the following message:
"Could not create key pair: No agent running"

Can you help me with this?

Thank you very much.
Comment 1 Andre Heinecke 2018-01-08 06:50:33 UTC
Kleopatra's self test should have shown errors in that case. Can you please confirm that Settings -> Run Self-Test shows errors?

I can only imagine that this problem occurs if GnuPG was not installed properly as part off the gpg4win installation. An error there was not handled in 3.0.0.

You could try to reinstall GnuPG using the "Simple installer for the current GnuPG" from: https://gnupg.org/download/index.html
Comment 2 Christoph Feck 2018-01-17 21:58:44 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2018-01-31 01:48:01 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Christoph Feck 2018-02-14 23:26:40 UTC
No response; changing status. If you have new information, please add a comment.
Comment 5 Mark N Carpenter Jr 2019-01-08 19:37:28 UTC
So I can verify this on a recent install where all of the self-checks return ok. 

Kleopatra fails with the same error if launched from a user's gui, but if launched from the terminal with sudo kleopatra indicates success, the certs do not show up for the user.