I am at my wits end. THe clipboard with “import certificate” is grayed out." I have tried copying the PGP into notepad and saving it as a .gpg file but I get the message: Detailed results of importing XXXXXXXX.gpg:
Total number processed:
I do not know why this is. I have tried importing it as a txt file and that doesn’t work either. I have tried uninstalling and reinstalling the software as well. I’m beyond frustrated at this point. I really want kleopatra to work!!!
Don’t panic. The clipboard menu item stays greyed out until there is a correctly-formatted certificate actually on the clipboard. The certificate has to be in the “ASCII armoured” format (from a .asc file, for instance), i.e. it is expressed in ASCII characters, like this:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (MingW32)
-----END PGP PUBLIC KEY BLOCK-----
Or it might say PRIVATE KEY BLOCK – you don’t say what kind of certificate you’re trying to import.
The other format is the PGP format (.gpg file, confusingly), which is the certificate expressed in true binary format. The ASCII format is the binary format transformed in a special way so that it can be printed out as normal ASCII characters. You can’t open a .gpg file in Notepad and just copy the characters, because the raw binary can’t be converted straight into characters without doing the special transformation. If you have a .gpg file, you have to import it using “Import Certificates” and giving the filename.
Can you give us the story of what you are actually trying to do? Are you importing someone’s public certificate, or your own secret key (private certificate, which is your private key and public key combined, also called your key-pair)? What are you going to use it for, encrypting e-mail, or files? You should find the GPG4Win Compendium and/or the Enigmail Handbook (by Daniele Raffo) helpful.
Note that the Kleopatra (or GPA) Clipboard is not quite the same thing as the Windows clipboard, althought it uses it. I wrote an article for Daves Computer Tips that explains it, and that you might find helpful. You can find it here:
or alternatively here:
Yay!!! Your message helped me figure out what I was doing wrong. Big thanks.