importing public key
Hello,
I need to import a person's public key in my keychain, so I have
this long text(random symbols, letters and numbers). I have copied
all of it in Word, and saved as .docx. When I drag that file to my
GPG keychain, it says "Import Failure! It looks like the data you
are trying to import is not PGP-data. It is impossible to process".
I have tried also to copy paste that long text in search window,
but it says "the key can not be found". What can be the problem? Or
am I doing something wrong here?...
Thanks
PS. My GPG Keychain is Russian, so I the failure messages that pop
up I translated from Russian to English. The original English
version of these messages may be slightly different, however it
should provide the same meaning.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by wingman on 04 Mar, 2015 12:09 AM
I normally save the file as *.asc and then drag and drop it to PGP keychain and works fine. Could it be that the PGP public key is not in the correct format? You can try and generate a fake one and try to import that
https://www.igolder.com/PGP/generate-key/
2 Posted by Anton on 04 Mar, 2015 01:01 AM
thanks for your reply.
Do you first save it as a text though? How do you save it as .asc? I have generated a fake key, and it is the same problem...
3 Posted by Anton on 04 Mar, 2015 01:16 AM
Issue resolved! Just had to save the public key text block in .rtf format, and everything works!!! :)
Support Staff 4 Posted by Steve on 14 Mar, 2015 05:59 PM
Hi Anton,
in general it's a bad idea to store a public key as docx or rtf file. Please use .txt instead and that should prevent a lot of issues which you will be seeing otherwise.
All the best,
steve
Steve closed this discussion on 03 Jun, 2015 10:36 AM.