Silk Road forums

Discussion => Security => Topic started by: kittiesandpuppies on June 15, 2013, 09:55 pm

Title: PGP question about decrypting
Post by: kittiesandpuppies on June 15, 2013, 09:55 pm
I recently had to reload my operating system, and I lost my previous keys.  I re dl'ed the program, made my key, confirmed it was working by encrypting and decrypting a message to myself.  I received an encrypted message I need to view, but when I copy it to the clip board and then press decrypt, it states "Clipboard contains no openPGP data"

I did notice the software version when I dl'ed it was 2.1.1 while the person sending me a msg is in 2.0.17.  Is this causing the problem or is there something else going on that I am not getting? 

modified to correct the quote the pop up box states...   typos typos
Title: Re: PGP question about decrypting
Post by: tree on June 15, 2013, 10:08 pm
Did you make sure you copied the "-----BEGIN .... -----"? It should have 5 "-" before and after.
Title: Re: PGP question about decrypting
Post by: astor on June 16, 2013, 12:47 am
Yep, make sure the message is properly formatted. Even if you copied everything correctly, the sender may have missed a dash. Count the dashes and make sure there are five on each side of the first and last lines. If some are missing, you can add them manually. Make sure the message has this format:

1. It starts with:  -----BEGIN PGP MESSAGE-----
2. It has 0 to 3 metadata lines, such as Version, Comment, or Charset. I'm not sure if it can have more than 3, but I've never seen it.
3. The next line is blank, and it is only one blank line (not 2 or 3). In the case of 0 metadata lines, the blank line immediately follows the dashed line.
4. It ends with: -----END PGP MESSAGE-----

There could also be an encoding/charset problem, especially since Windows, Mac and Linux treat newlines / return characters differently. Sometimes it helps to copy the message into a text editor and save it with the default for your operating system, then open the text file and copy the message from there.
Title: Re: PGP question about decrypting
Post by: echo_ on June 16, 2013, 03:24 am
Sometimes you need to manually add the dashes. Some text programs will convert two dashes -- into one: — or –

Line spacing sometimes is also an issue.