Silk Road forums

Discussion => Newbie discussion => Topic started by: haschtomte on July 03, 2013, 09:29 am

Title: PGP for MAC?
Post by: haschtomte on July 03, 2013, 09:29 am
so im thinking of installing some pgp-software for my mac, but i dont know which one to use.

someone has any knowledge of a good program for mac?

ive tried pgptools but seems it requires me to use the mail.app, but as im using my regular mail with that program its no good idea..

atleast it says in the installation process, site and tutorials that i NEED to put the same mail in the creation of the pgp-keys as im using in the mail.app.

any help would be appreciated!
Title: Re: PGP for MAC?
Post by: haschtomte on July 03, 2013, 01:02 pm
no mac-users using pgp here willing to help a newbie out? :)
Title: Re: PGP for MAC?
Post by: Wadozo on July 03, 2013, 01:08 pm
Gpg4usb works with Windows, Mac and Linux operating systems.  :)

Download it from here - http://gpg4usb.cpunk.de/download.html

Follow astor's excellent tutorial - http://32yehzkk7jflf6r2.onion/gpg4usb/
Title: Re: PGP for MAC?
Post by: haschtomte on July 03, 2013, 01:12 pm
thanks! will check it out, though i would prefer a software that resides on my computer and not on a usb-stick.
or is that the preferable way of using PGP?

seems as that program wont work on mac.
i get this error when trying to run the program:
-bash: /Volumes/GPG/gpg4usb/start_linux: cannot execute binary file
Title: Re: PGP for MAC?
Post by: Wadozo on July 03, 2013, 01:20 pm
thanks! will check it out, though i would prefer a software that resides on my computer and not on a usb-stick.
or is that the preferable way of using PGP?

You shouldn't keep anything related to your SR activities on your computer. Use an encrypted USB or a Live-CD to store all your SR related files/software.
Gpg4usb will run straight off a USB stick. If you prefer, here is a tutorial on using GPGTools for Mac.

This is a post by Guru, which should help you solve any issues.

This is a known issue with the standard build. What you want to do is install the latest nightly build, per the following instructions (originally written by Guru)

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 (Guru@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.

Good luck with it all. :)
Title: Re: PGP for MAC?
Post by: haschtomte on July 03, 2013, 02:01 pm
hehe, i was just coming back to say i have installed pgptools and its doing a great job.

thanks for the tutorial anyway! :)

now im heading over to the other thread to try my key out to see if i did everything right.
Title: Re: PGP for MAC?
Post by: dolphin on July 03, 2013, 02:55 pm
Thanks Wadozo. Those instructions should get a "sticky" for new members. As well as the Tails setup instructions IMO.
Title: Re: PGP for MAC?
Post by: Wadozo on July 03, 2013, 03:20 pm
Thanks Wadozo. Those instructions should get a "sticky" for new members. As well as the Tails setup instructions IMO.

No worries dolphin.  :)
Title: Re: PGP for MAC?
Post by: Candy on July 03, 2013, 03:41 pm
Hi.

I just skimmed the thread, so I hope that i am not reposting, or anything, but i found this guide for my mate, and as far as i know it worked out for him:

http://dkn255hz262ypmii.onion/index.php?topic=171218.0

As i was writing this i realized that your answer had already been answered, but i think i will throw in the link anyway, in case some of it could still be useful to you.