Quick & Dirty PGP setup for W32
Results 1 to 3 of 3

Thread: Quick & Dirty PGP setup for W32

  1. #1
    Master-Jedi-Pimps0r & Moderator thehorse13's Avatar
    Join Date
    Dec 2002
    Location
    Washington D.C. area
    Posts
    2,883

    Quick & Dirty PGP setup for W32

    Getting a PGP Key setup.


    Abstract:
    Many people send sensitive information over public e-mail systems. To this day, I cannot figure out why they do this without using PGP. It’s free and easy to use. You can sign, encrypt and decrypt data with a few single mouse clicks.

    Your public key will be sent out to the various key servers around the world and anytime someone wants to send you encrypted information, they can download your public key, encrypt the data and send it along to you. At this point, you use your private key to decrypt the information. I will not go into how to secure your key pair nor will I go into detail on how the keyservers work. I will say this, don’t go generating tons of keys because they will not be removed from the keyservers. This means that all you can you is revoke the key. It will still be out there and you will have to keep the revoked private key around should you want to decrypt something sent to you encrypted with the revoked public key. It also makes it hard for people to determine which public key to use in order to send you something. This will cause you to have to export your public key and e-mail it to them first.

    Purpose:
    To step you through the setup of a PGP solution for Win32. In addition, one example will used to show you how to encrypt a simple text file. Please note that there are many ways to setup a PGP solution. This is just one.

    Software needed:
    WinPT: www.winpt.org
    File: http://www.stud.uni-hannover.de/~two...0.9.90-exe.zip

    GNUPG: www.gnupg.org
    File: http://mirrors.rootmode.com/ftp.gnup...cli-1.4.0a.zip

    Installation:

    1) Extract both of these zip files to separate directories. In our example, we will use c:\winpt-extract and Gnupg-extract.

    2) Create a directory where you want all of your components to reside. In our example, we’ll use C:\WinPT. After creating this directory, create a subdirectory called “locale”.

    3) Copy the contents of the winpt-extract directory into C:\WinPT

    4) Go into the Gnupg-extract folder and edit the gnupg-w32.reg file.

    REGEDIT4

    [HKEY_LOCAL_MACHINE\Software\GNU]
    [HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]

    [HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]
    "HomeDir"="C:\\GnuPG"
    "gpgProgram"="C:\\GnuPG\\gpg.exe"
    [HKEY_CURRENT_USER\Control Panel\Mingw32]
    [HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
    [HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
    "MODir"="C:\\GnuPG\\Locale"

    Go through this file and change all dirs to reflect C:\WinPT. The file should look like this when you are finished:

    REGEDIT4

    [HKEY_LOCAL_MACHINE\Software\GNU]
    [HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]
    [HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]
    "HomeDir"="C:\\WinPT"
    "gpgProgram"="C:\\ WinPT \\gpg.exe"
    [HKEY_CURRENT_USER\Control Panel\Mingw32]
    [HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
    [HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
    "MODir"="C:\\ WinPT \\Locale"

    5) Save the file and right click it and select “MERGE”

    6) Cut and paste all .mo files from GnuPg-extract to C:\WinPT\locale

    7) Cut and paste all remaining files from GnuPG-extract to C:\WinPT

    8) Run WinPT.exe (You can create a shortcut of your liking to point to this exe). If all went according to plan, you should see what looks like a key in your system tray.

    9) Right click on the key and select key manager

    10) From the pulldown menus, select Key>new>expert. Fill in all the fields it asks for. Do not change any default settings here. Once you generate your keypair, you need to publish them by right clicking on your keypair and select “send to keyserver”. You can use the default or choose from the list of keyservers presented to you.

    That’s it! In about 24 hours your public key will be posted on key servers all over the world and people will be able to send you encrypted information using your published public key!

    How it works, a simple test.
    Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
    Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden

  2. #2
    AO French Antique News Whore
    Join Date
    Aug 2001
    Posts
    2,126
    That’s it! In about 24 hours your public key will be posted on key servers all over the world and people will be able to send you encrypted information using your published private key!
    Really? It's not
    using your published public key!
    -Simon \"SDK\"

  3. #3
    Master-Jedi-Pimps0r & Moderator thehorse13's Avatar
    Join Date
    Dec 2002
    Location
    Washington D.C. area
    Posts
    2,883
    HAHAHA. Ooops. Changed.

    Note that all you have to do to sign an e-mail is open and compose an e-mail in your favorite client, then repeat the steps in the notepad example above.

    Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
    Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •