Silk Road forums

Discussion => Silk Road discussion => Topic started by: jameslondon on January 18, 2013, 12:28 am

Title: THIS IS THE MOST SIMPLE PGP INSTRUCTIONS FOR GPG4WIN
Post by: jameslondon on January 18, 2013, 12:28 am
This is one of the most simple instructions on how to use PGP with the program GPG4WIN.

It is especially helpful for beginners and written in clear and simple english

Gpg4win is a package of open source utilities for key management, encryption and decryption. It can be used for email encryption in conjunction with web-based email or any other email client.

 

1 Installation

2 Key generation

3 Publish public key

4 Receiving encrypted email

5 Importing a public key

6 Sending encrypted email



Installation

Go to http://www.gpg4win.org/download.html

Download the full version

Run the file and follow the prompts to install it



Key generation

Start "Kleopatra"

Click File > New Certificate > Create a personal OpenPGP key pair

Enter your name and email address, leave the comment blank. Note that the email address you give will be made public.

Click Next

Click "Create key"

Enter a passphrase. This will be used to encrypt the private key on your hard drive.



Publish public key

In the main window, right-click on the key you just generated and click "Export certificates".

Save it somewhere on your hard drive with a .txt extension.

Open the file in notepad or whatever.

The key should start with

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

Note that it says PUBLIC. If it says "private", you did something wrong. Don't publish your private key.

Paste the text from the file into Wikipedia while you are logged in, say as a user subpage, or in an HTML comment or collapsed box on your user page (e.g. by enclosing it {{PGP top}}/{{PGP bottom}}).



Receiving encrypted email

An encrypted message looks like this:

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.10 (GNU/Linux)

hQIOA5iUCyMfX/D2EAgAhikRs40xo05gNu9XSIO2jrjTIShwfWK2d7+9xlv9UjDN
...
-----END PGP MESSAGE-----

Copy the message including the BEGIN line and the END line. You can omit anything outside those lines, such as advertisements.

Paste it into notepad. Save it to a file.

In Kleopatra, click "Decrypt/Verify Files" in the toolbar.

Select the encrypted message file that you just saved.

Click "Decrypt/Verify"

If everything worked, a file should have been created in the directory you selected, containing the decrypted message.



Importing a public key

Go to the user's user page, find their key.

Go to the page history, find the revision where the key was added. Make sure the correct user added it.

Go to the old revision.

Copy the key out of the old revision, paste it into a text file using notepad.

Save it to a file, with extension ".gpg". This may be difficult if you have Windows configured to hide file extensions.

In Kleopatra, click File > Import Certificates

Choose the .gpg file you saved.

Click "OK" when it tells you the import was successful.



Sending encrypted email

Save the text you want to send in a text file, say using notepad

In Kleopatra, click "Sign/Encrypt Files"

Select the file with the message you want to send

Uncheck "Archive file with..."

Check "Text output (ASCII armor)"

Click Next

Click on your own certificate, click "Add". Then click the certificate of the person you want to send the message to, and click "Add" again.

Click Next

Under "OpenPGP Signing Certificate", select your own certificate, if it's not selected already.

Click "Sign and Encrypt".

A file will be created which contains the text you need to send. Open the file and paste it into an email.

Note that the subject line of the email is not encrypted. Don't put private information in the subject line.


Title: Re: THIS IS THE MOST SIMPLE PGP INSTRUCTIONS FOR GPG4WIN
Post by: dbz4u on January 18, 2013, 12:42 am
You can actually save someone's public key in a text file(.txt) and then import that  8)
Title: Re: THIS IS THE MOST SIMPLE PGP INSTRUCTIONS FOR GPG4WIN
Post by: Wadozo on January 18, 2013, 02:11 am
Here is a basic, simple guide I wrote, which should help you out if your using a Windows system (Gpg4win) G.P.A.
You could also use gpg4usb. This is a link to astor's tutorial - http://32yehzkk7jflf6r2.onion/gpg4usb/
It has a simple interface and is an easy option for beginners. However, this is how you can use G.P.A.

1. Copy the Public Key of the person you want to send a message to.

2. Open a text editor, such as Notepad, and paste the Public Key. Name the file and save it to your desired location on your PC.

3. Open GPA (Gpg4win), click IMPORT, locate the file you just saved with the Public Key in it, and double click it. It will then show up in KEY MANAGER where it is stored for future use along with any other Public Keys you wish to keep.

4. Then click on CLIPBOARD, the 2nd icon in from the right at the top of the page. Type the message you wish to send to the recipient and then click ENCRYPT. Click on the Public Key of the person your sending the message to (should now be highlighted), then click OK at the bottom.

5. Then copy the encrypted message and paste it in a PM to the recipient and send it.

6. REMEMBER - Include your Own Public Key in this message if you wish to receive an encrypted response from the recipient. You can find this by RIGHT-CLICKING your key in KEY MANAGER, then copy/pasting it. :)