Silk Road forums

Discussion => Newbie discussion => Topic started by: vincentvega45 on July 15, 2013, 03:05 am

Title: GnuPG
Post by: vincentvega45 on July 15, 2013, 03:05 am
So I have a public key and some one send me a pgp message how can I import that to open it? It says no key found?
Thanks
Title: Re: GnuPG
Post by: Red Rover on July 15, 2013, 03:46 am
I've been having the exact same problem, and I finally figured it out.  Hopefully it's the same problem you're having.

OK, just to illustrate, here is Scout's public key (posted in the Newbie PGP Club thread):

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBFDyZ9cBCAC8u36Z9K/iqJRy2oCIL0ObS0dEQqCd4k/WgBooTRAleCPgAVH8
XUPJfvGNFxkJsiLcIwk8YUfEE1/hn3IQIvsoe0qDQSJ5+t7GE/RoEqd3UJUXFZf+
NxSSHkvE/yG2IB9oIJJ7UCsqQ/FG/QceLbqesNboH0eNG4JGWY4ottGqMuBeQMFu
XQP/Ata25o5EqIRIZKlLxMHbGfXFrd3CNPA8cJcmxE1aH4ZkOVqLFZBsYuRmex+i
ForaiTsq9geGZHlYZBqqWH/uPr0cYXRu3NLqLfkYjvG3I83PYxH/dgcLQmWT9C2/
S38YStJKmHrsQzVRdBJor/g/qf8IrSG0JKx1ABEBAAG0GXNjb3V0IDxzYzB1dEB0
b3JtYWlsLm9yZz6JAT8EEwECACkFAlDyZ9cCGy8FCQeEzgAHCwkIBwMCAQYVCAIJ
CgsEFgIDAQIeAQIXgAAKCRBQNeWC2yFZt8lWB/0fkjzf/3oWSIfZH7AXfBcjx2Tz
QpI7uRZbQseck8W/eGikQqJ1N0Pzw40O1kPgozzrCMrLirphT8rGhpw8RzqQu+pp
BBfeZIwg2kRNUfJdTZ/L2wnq0X5LSO682BAmzX5k4Tt75aBc3jnq45xVx9B0c7DL
kAXw7uroxmYWLEj5jUmB4tHpRxzgvNXmKBvR8jC7LNFEFawBHUtFTPDsjqEFed8s
fLqbmz9Jd7Of2CcFwvIaLxu588RO70zuCwdJWflxTSapIjTyZdfeo5Kt+pNJXQJE
gZx2BH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S
W/8kWSopw5Xv37hYlhsuIWpTxO/J5Cuswniz4iSbROCrSSi9PKVWnQ+ZYMtkDoqt
lpo9Y+s/1SoYBfB0WMBC44N5jLVcuy+ezoC/lm6R9n8wtmCu
=blbb
-----END PGP PUBLIC KEY BLOCK-----

Now, if you read the compendium, it tells you that, to copy the public key, you highlight and copy everything AFTER "-----BEGIN PGP PUBLIC KEY BLOCK-----" UP UNTIL "------END PGP PUBLIC KEY BLOCK."  Only the actual key (the gibberish in between the "BEGIN" and "END" parts) gets copied.

Turns out this is wrong.  Dunno how they managed to get their own compendium wrong, but they did.  You have to highlight everything, INCLUDING the "BEGIN/END PGP PUBLIC KEY BLOCK" parts.

This next part might be different if you're not using gpg4win (I'm really not sure), but I'll post it anyway:

Then paste it all into a text editor, save it as an .asc file (it probably won't present you with that option, so just add .asc to the end of the file name, that seems to work).

Then you click Import in GPA, select the .asc file, and hit open. 

This problem had me banging my head against the wall for the last 24 hours.  I hope this info is helpful to you. :)

Title: Re: GnuPG
Post by: vincentvega45 on July 15, 2013, 03:59 am
I dont think that is my problem. I have a pgp message not a public key and it will not let me open it. Not sure if he needs to add me to his key with my public key or I need his public key to add to mine.
Title: Re: GnuPG
Post by: Red Rover on July 15, 2013, 04:13 am
Oh, ok, sorry.  All a person needs to send you an encrypted message is your public key.  All you need to decrypt that message is your private key.

You should be able to paste the encrypted message into the GPA clipboard, then click, "Decrypt."  It will then ask you for your passphrase.  You enter the passphrase, and voila!  The message appears in the clipboard in its unencrypted form.

Is this what you did?  Or are you not even able to view the encrypted message?