[Gpg4win-users-en] The key has only a public part

eMyListsDDg emylistsddg at gmail.com
Wed Jul 2 18:02:32 CEST 2014

> Hi,

> On Wednesday 02 July 2014 at 17:15:24, eMyListsDDg wrote:
>> gpg4win 2.2.1
>> gpa 0.9.4

>> i created a key pair for an email addr, or so i thought a key pair. it only
>> created the public key. i uploaded the key to server.

>> i didn't realize it had only created a pub key until i ran test email and i
>> couldn't decrypt it due to no priv key.

>> how do i create a priv key now for this public part?

> you have probably created both: a secret and a public certificate.
> For a technial diagnosis, try "gpg2 -K" on a cmd.com.

that lists all the key pairs, sec & ssb, but not the one listed with only one key in the graphical gpa dialog. the one i'm having problems with

> Possibly if a message was not encrypted with your correct public certificate,
> you could not decrypt. 

it was encrypted with correct pub cert. when attempting decrypt, this is returned, gpg: decryption failed: No secret key

> Another possibility is a problem with your setup that hinder gpg-agent
> to decrypt your secret certificate (like gpg-agent not running, not being able
> to bring up a pinentry to ask for a passphrase, there are a number of 
> possibilities.)

> Best Regards,
> Bernhard
> (Flattr Gpg4win at https://flattr.com/thing/2053326 if you appreciate my
> response.)

Key fingerprint = DB4D 251B FE8A BDCD 2BE4  E889 13F1 78D0 A386 B32B

More information about the Gpg4win-users-en mailing list