PGP Tutorial for Windows

From Hidden Wiki
Jump to navigation Jump to search

Part 0 – Introduction

Here’s the final guide in my PGP basics series, this time focusing on Windows. The OS in question will be Windows 7, but it should work for Win8 and Win8.1 as well. Obviously it’s not recommended to be using Windows to access the DNM, but I wont go into the reasons here. The tool we’ll be using is GPG4Win. >>>Add A Layer Of Encryption: Click For The Best VPN Services<<<

Part 1 – Installing the software

Just like I said above, we’ll be using GPG4Win. If you’re curious, you can view the source code for it here. Head on over to https://gpg4win.org/download.html. We want the full version, so click ‘Gpg4win 2.2.3’ iXqHJld[1] Save it, open it when it’s done downloading. If you have UAC enabled, click ‘Yes’ on the window that appears NFVNUCS[1] Choose your language, click ‘Ok’ SUJ3aT2[1] Click ‘Next’, then ‘Next’ again. You’ll now be at a screen asking what components you want to install. We’ll be selecting ‘Kleopatra’, ‘GpgEX’, and ‘Gpg4win Compendium’. Then click ‘Next’ oNLB4Kk[1] It will ask where to install, just keep the default and click ‘Next’ Now it’ll ask where you want to install shortcuts. Select whichever you want, click ‘Next’ You can choose which Start Menu folder you want it installed in, just click ‘Next’ It will now install, when done you should see this. Click ‘Next’, then ‘Finish’ RYUfaj4[1] Now you have the tools you need to get started with PGP

Part 2 – Generating your keypair

The next step is to generate your keypair so you can encrypt/decrypt messages. Like always, we’ll be going with 4096 bit RSA. Open up Kleopatra, you should be greeted with this beautiful screen 5i6tnlr[1] Go to ‘File’, then ‘New Certificate…’ u069Ntb[1] The Certificate Creation Wizard should pop up, click on ‘Create a personal OpenPGP key pair’ oVaws0J[1] Now you’ll enter your details. Use your marketplace username as ‘Name’, and fill out the rest with whatever you want. You don’t need to use a real email. Check the picture for an example on how it should look xJFjFGx[1] Do not click ‘Next’ yet, we need to fill out some more details. Click ‘Advanced Settings…’, and another window should appear. Under ‘Key Material’, make sure ‘RSA’ is checked. In the drop down menu beside it, and select ‘4,096 bits’. Check the picture to confirm you have everything set correctly, then click ‘Ok’ dcOihQG[1] Confirm you filled out all of your info correctly, then click ‘Create Key’ hUIQgMb[1] Another window will pop up asking to enter a passphrase. Do so, then click ‘Ok’ kIPFAQF[1] It will now generate your key. It will need you to do random things to create entropy. Mash keys, wiggle the mouse, watch porn, download torrents, whatever p8vJdbN[1] Your key is now created. Go ahead and click ‘Finish’ 1SRNdt6[1]

Part 3 – Obtaining your public key

Now we need to get your public key, without it vendors wont be able to send you secure messages. Right click on your key, then click ‘Export Certificates…’ h86y7Le[1] Browse where you want to save, give it a name, then click ‘Save’ Open your favourite text editor, browse to where the file is saved. You may have to select ‘All files’ from the dropdown menu. Click the file you saved, then open XIFqJy8[1] There’s your public key gJK0c9S[1] Remember to add your public key to your market profile so people can message you easier!

Part 4 – Obtaining your private key

Just as easy as obtaining your public key Right click on your key, select ‘Export Secret Keys…’ KBWbUBC[1] Select where you want it saved, give it a name, check ‘ASCII armor’, and click ‘Ok’ d4MPQKB[1] You now have your private key M4osyVS[1] Remember to keep this in a safe place, and never share it!

Part 5 – Importing a public key

It’s impossible to send a vendor an encrypted message without their public key. Find a public key you want to import Copy everything from ‘—–BEGIN PGP PUBLIC KEY BLOCK—–‘ to ‘—–END PGP PUBLIC KEY BLOCK—‘, see the picture for an example 69UnFPR[1] In your task bar, right click on the Kleopatra icon, go to ‘Clipboard’, then click ‘Certificate Import’ UG15ss6[1] If it worked, you should see a window pop up, click ‘Ok’ J9kQIQB[1] You should now see the imported key in Kleopatra under the ‘Other Certificates’ tab 2G438Pi[1] Thanks again Alan! You are welcome you fucker!

Part 6 – Importing your private key

Simple stuff. Go to ‘File’, then click ‘Import Certificates…’ hHDqxpO[1] Browse to where your private key is, select it, then click ‘Open’ Qq8OmEn[1] It will import your private key, and pop up a window to confirm. Click ‘Ok’ m6YsDUv[1] You should now see your key information under the ‘My Certificates’ tab SyPzPmp[1]

Part 7 – Encrypting a message

Now that we’re ready to go, lets go ahead and send a message. Open up your text editor of choice Type out your message, select it all, and copy it fpsVEX2[1] In your task bar, right click on the Kleopatra icon, go to ‘Clipboard’, then click ‘Encrypt…’ jSeuc6p[1] This gorgeous window will open. Click ‘Add Recipient…’ xmzkSvm[1] Another window will appear. Click the ‘Other Certificates’ tab, then select who you want to send your message to, then click ‘Ok’. 88SqUA2[1] You should be back at the previous window with the recipient listed. Click ‘Next’ g4qk0H6[1] If all went well, you should see this window. Click ‘Ok’ jnIS7Wo[1] Your encrypted message will be in your clipboard, all you need to do is paste it into the message box and send hrQ9tb0[1]

Part 8 – Decrypting a message

This is just as easy as encrypting. Copy everything that was sent aj50dmL[1] In your task bar, right click on the Kleopatra icon, go to ‘Clipboard’, then click ‘Decrypt/Verify…’ T8lqyCo[1] A window will pop up asking for your passphrase, enter that then click ‘Ok’ yj6ciCG[1] A window should pop up verifying it was decrypted, and copied to your clipboard. Click ‘Finish’ Open your text editor of choice, and paste your message ENJY7tp[1]

Part 9 – Conclusion

I’m hoping this was in depth enough for you Windows users out there. PGP can seem complicated at first, but with an hour or two of your time you can see it’s actually pretty simple. There’s obviously more behind it, and different tools that can be used, but we might save that for another time. Stay safe everyone! Encrypt all messages!