GPG Suite Beta 5 for OS X

Introduction

Here is a basic guide for PGP on OS X.

The OS in question is OS X 10.9 Mavericks, but it should still work for other versions. As for the tool itself, GPG Suite Beta 5 will be employed.

If the reader sees anything done wrong or sees something that could be done easier, feel free to correct The Hidden Wiki in the comments section below.

If you’ve done your research, you’ll see it’s not recommended to do anything darknet related on OS X, but I’m not going to go over the details here. You’ve obviously made your decision.

Add A Layer Of Encryption: Click For The Best VPN Services

Part 1 of GPG Suite Beta 5 for OS X: Installing the Software

Like I said above, we’ll be using GPG Suite Beta 5. If you’re curious and want to see the source code, you can do so here.

1. Head on over to https://gpgtools.org, and download ‘GPG Suite Beta 5.’

GPG Suite Beta 5

2. Open the file you downloaded, you should see this screen. Double click on ‘Install.’

GPG Suite Beta 5

3. Follow the installation process. If successful, you should see this screen. You can now close the window.

GPG Suite Beta 5

Part 2 of GPG Suite Beta 5 for OS X: Creating Your Keypair

GPG Suite actually makes this a super simple process. Just like the Linux guide, we’ll be using 4096-bit length for encryption.

1. Open up GPG Keychain, you should be greeted by this beautiful window.

GPG Suite Beta 5

2. Click ‘New’ at the top left of the window.

GPG Suite Beta 5

3. You should see a small popup. Click the arrow beside ‘Advanced options’, make sure the key length is 4096. For our purposes, we’ll uncheck ‘key expires’. Put your username where it says ‘full name’, fill out what you want for email, and create a secure passphrase. Check the picture for an example on how to fill it out. When complete, click ‘Generate key.’

GPG Suite Beta 5

4. GPG Keychain will begin generating your key. Move the mouse around, mash keys in a text editor, have something downloading. Do random stuff to create entropy for a secure key.

GPG Suite Beta 5

5. Done.

GPG Suite Beta 5

Part 3 of GPG Suite Beta 5 for OS X: Setting Up the Environment

This is where OS X differs from other platforms. The suite itself doesn’t provide a window to encrypt/decrypt messages, so we need to enable some options.

1. Go into system preferences, open up ‘Keyboard.

GPG Suite Beta 5 for OS X

2. You should see this window. Click the ‘Keyboard Shortcuts’ tab at the top, then ‘Services’ in the left pane. Scroll down in the right pane to the subsection labeled ‘Text’, and to the OpenPGP options. Here you can create keyboard shortcuts. We’ll uncheck everything OpenPGP that’s under ‘Text’, and delete their shortcuts. Now we’ll enable ‘Decrypt’, ‘Encrypt’, and ‘Import key’. Create keyboard shortcuts for these if you wish. Check the picture to make sure you’re doing everything correctly. You can now close the window.

GPG Suite Beta 5 for OS X

Part 4 of GPG Suite Beta 5 for OS X: Obtaining Your Public Key

This is the easy part.

1. Open up GPG Keychain, select your key.

2. At the top of the window, click ‘Export.’

GPG Suite Beta 5 for OS X

3. Give it a name, make sure ‘include the secret key in exported file’ is unchecked, and click ‘save.’

GPG Suite Beta 5 for OS X

4. Open your text editor of choice, browse to where you saved the key, open it.

5. There it is. Copy and paste this on your market profile to make it easier for people to contact you.

GPG Suite Beta 5 for OS X

Part 5 of GPG Suite Beta 5 for OS X: Obtaining Your Private Key

1. Open up GPG Keychain, select your key.

2. At the top of the window, click ‘Export.’

3. Keep the file name it gives you, check ‘Include secret key in exported file’, then click save.

GPG Suite Beta 5 for OS X

Keep this file in a safe place, and don’t forget your passphrase. You’re fucked without it!

Part 6 of GPG Suite Beta 5 for OS X: Importing a Public Key

1. Find the key you want to import.

2. Copy everything from ‘—–BEGIN PGP PUBLIC KEY BLOCK—–‘ to ‘—–END PGP PUBLIC KEY BLOCK—–‘

 

3. Paste it into your favorite text editor, highlight everything, right click, go to ‘Services’, then ‘OpenPGP: Import key.’

GPG Suite Beta 5 for OS X

4. You will see this window pop up confirming the key has been imported, click ‘Ok.’

GPG Suite Beta 5 for OS X

5. Open up GPG Keychain just to confirm the key is there.

GPG Suite Beta 5 for OS X

Part 7 of GPG Suite Beta 5 for OS X: Importing a Private Key

1. Open GPG Keychain, click ‘Import’ at the top.

GPG Suite Beta 5

2. Browse to where your key is, click it, then click ‘Open’. It should have a .asc file extension.

GPG Suite Beta 5

3. You’ll see this pop up confirming your key has been imported. Click ‘Close.’

GPG Suite Beta 5

Part 8: Encrypting a message

1. Open your text editor of choice, write your message.

2. Highlight the message, right-click, ‘Services’, ‘OpenPGP: Encrypt.’

3. A window should appear. Select who you’re sending it to, sign it with your key if you wish, click ‘Ok.’

4. Copy everything, and send it to the recipient.

Part 9: Decrypting a Message

Pretty much the same process as encrypting
1. Open your text editor of choice, paste the message
2. Highlight everything, right-click, ‘Services’, ‘OpenPGP: Decrypt’

3. A window should pop up. Enter your passphrase, then click ‘Ok.’

4. Now you will see your message show up.