Silk Road forums

Discussion => Security => Topic started by: energyimport on August 24, 2013, 06:26 pm

Title: Need help seting up PGP information for Mac
Post by: energyimport on August 24, 2013, 06:26 pm
Hey guys.

I know there was a step by step guide some place on these threads but I cant seem to find it.

I am trying to learn about understand and properly use PGP any links or tips would really help.


Thank you
Title: Re: Need help seting up PGP information for Mac
Post by: DefyCode on August 24, 2013, 09:00 pm
The link for the mac client is https://gpgtools.org/ (CLEARNET)
Title: Re: Need help seting up PGP information for Mac
Post by: energyimport on August 25, 2013, 06:53 pm
Thanks Ill be meesing with that all day today trying to figure it out. I think I got the basics down but public and private key part confuse the hell out of me. Its just give me a decrypt button I click it and boom there is the message....

So confused lol
Title: Re: Need help seting up PGP information for Mac
Post by: DefyCode on August 25, 2013, 07:08 pm
Your private key will be stored in your mac as .ASC file. Whenever you want to use someones key just create a textpad document and copy and past their public key, save it. Open the pgp program, choose import and select the text file you just created.

To decrypt a message sent to you with your public key just copy and paste the encrypted message into a text document then select everything, right click or ctrl+click, and choose services then decrypt.

To encrypt, just highlight the text you wish to encrypt in your text editor and same thing, right click or ctrl+click and select services, encrypt and choose the key of the person you want to send the message to.

Hope that wasnt too confusing...

-xoxo
Title: Re: Need help seting up PGP information for Mac
Post by: Nightcrawler on August 25, 2013, 11:46 pm
Hey guys.

I know there was a step by step guide some place on these threads but I cant seem to find it.

I am trying to learn about understand and properly use PGP any links or tips would really help.


Thank you

UPDATE:  If you're having problems with the standard build, then trying the nightly build is a good idea.  Be warned, however, that the nightly build may break more than it fixes. If this happens to you, the only way to fix it, is to install a copy of the nightly build that is newer than the standard build, but not as new as the currently-available nightly builds.

For people who have run into this problem, I have uploaded a copy of the October 2012 GPGTools nightly build to a .onion file sharing site. Just unzip the file to reveal the .dmg installer, and run it as you normally would.

The site I uploaded it to is called TorShare: http://oukryuqqc7ffenin.onion

The actual file download URL is: http://oukryuqqc7ffenin.onion/files/74ff0b7644892653c4b1ff3a61a0fdce.zip

The original file name is:  GPGTools_Installer-October_2012.dmg.zip

The SHA-256 file hashes for both the .zip and .dmg files are as follows:

f0ece4fbcd2eb49c1ba7206d871f8139cafbc498d221b5b9c2824b710319eeb7 *GPGTools_Installer-October_2012.dmg

db77828eed0fbf189fa0beae107c103d7c796381bcf40e228d7208acdfbcf63c *GPGTools_Installer-October_2012.dmg.zip

=====================================================================

GPGTools is highly version dependent -- depending on which version of OS X you have, it may or may not work as expected.  If you have Leopard (10.5) then you're pretty much out of luck. Your only option then will be using the command-line.

If you have Snow Leopard (10.6), Lion (10.7) or Mountain Lion (10.8), the following instructions should be sufficient to allow you to get up and running.

Download and install GPGTools: http://nightly.gpgtools.org/GPGTools_Installer-trunk.dmg

Once you have installed GPGTools,  what you want to do is to go into System Preferences --> Keyboard --> Services.

Scroll down until you find the following entries. Be sure to put a check mark in the boxes to activate each keyboard shortcut.

Keyboard shortcuts:
==================

OpenPGP: Decrypt Selection:             Shift-Command-D

OpenPGP: Encrypt Selection:             Shift-Command-E

OpenPGP: Import Key from Selection:     Shift-Command-I

OpenPGP: Insert My Fingerprint:         Shift-Command-F

OpenPGP: Insert My Key:                 Shift-Command-K

OpenPGP: Sign Selection:                Shift-Command-R

OpenPGP: Verify Signature of Selection: Shift-Control-V

Remember, these shortcuts only operate on highlighted or selected text.

N.B.: To properly be able to import PGP into GPGChain (via TextEdit) you need to change the default on TextEdit from .rtf to plain text. You can do that through the Format menu, or you can go through the main configuration menu, accessible by using Command-comma. Ensure the plain text radio button is selected.

Also ensure that the following are UNCHECKED in TextEdit preferences: smart quotes, smart dashes, smart links.

To select text within TextEdit, use Command-A to highlight the entire document, or use your mouse to selection the section that you want to verify/sign/encrypt/decrypt. It is highly recommended that you use only plain-text, as opposed to Rich Text (.rtf) format. Use Command-comma to bring up Preferences and ensure that the plain text radio button is checked.

Once your text is highlighted in TextEdit, (by pressing Comand-A) you then encrypt using Shift-Command-E. You will then be presented with a list of keys to encrypt to, that you have added to your PGP keyring:

Other Commands You May Need:
============================

OpenPGP: Decrypt File:                   Control-Command-D

OpenPGP: Encrypt File:                   Control-Command-E

OpenPGP: Sign File:                      Control-Command-S

OpenPGP: Verify Signature of File:       Control-Command-V


Once you have setup these shortcuts, you can begin using GPG.

To encrypt a message to someone using GPG, you first need a copy of the recipient's PGP public key.

Once you have located someone's PGP public key, you should copy and paste it into TextEdit. Save the PGP key to a file; you can call the file, import.asc (or import.txt), for example. This saved file will usually be found in the Documents folder.

Launch GPG Keychain Access from the Applications folder. click on the Import icon in the upper left hand corner. GPG Keychain Access will then prompt you for the name of the file which contains the key to import. It will usually show you a list of files in the Documents folder. Click on the file named import.asc (or import.txt), and click ok. The PGP public key will then be imported into your PGP keyring.

To encrypt a message to a person, the message must be contained in a TextEdit document. Use Command-A to hightlight the entire document. Then use Shift-Command-E to encrypt. GPG will pop-up a list of public keys in your PGP keyring. Each key will have a little checkbox beside it which you can check, to select that particular key. If you were encrypting a message to me, you would put a check in the box beside my PGP key (Nightcrawler@SR).

When you click on OK, the plaintext (unencrypted) message in TextEdit will be replaced with the encrypted message. You can then copy and paste the encrypted message to enter it into a form on Silk Road, or anywhere else that it needs to go.

To decrypt a message sent to you by other people, you need to copy that message to the clipboard, and paste it into a TextEdit document. Again use Command-A to highlight all the encrypted message. Then use Shift-Command-D to decrypt the message. If the message is encrypted to your PGP public key, you will be prompted to enter your passphrase. Once the correct passphrase has been entered, and you click OK, then the message will be decrypted, and the decrypted text will be placed in the TextEdit document, replacing the encrypted message that was there previously.

(original tutorial written by Guru)

Nightcrawler
4096R/BBF7433B 2012-09-22 Nightcrawler <Nightcrawler@SR>
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8F1D88EBBF7433B      (MIT clearnet keyserver)
PGP Key: https://keys.indymedia.org/pks/lookup?op=get&search=0xB8F1D88EBBF7433B    (IndyMedia https: clearnet keyserver)
PGP Key: http://qtt2yl5jocgrk7nu.onion/pks/lookup?op=get&search=0xB8F1D88EBBF7433B (IndyMedia .onion keyserver)
PGP Key: http://dkn255hz262ypmii.onion/index.php?topic=174.msg633090#msg633090     (Silk Road Forums PGP Key Link)
PGP Key Fingerprint = 83F8 CAF8 7B73 C3C7 8D07  B66B AFC8 CE71 D9AF D2F0
Title: Re: Need help seting up PGP information for Mac
Post by: heatcheck on August 26, 2013, 03:12 am
Holding onto this for later.