Getting Started Step 1 – Generate a Private and Public Key Pair Using GNU Privacy Guard

You can download GNU Privacy Guard from http://www.gnupg.org or the Windows binary version from our website:

https://roxysoftware.com/Downloads/gnupg.exe

To generate a key pair, open a command prompt, change to the GPG install directory (typically C:\Program Files\GNU\GnuPG) and type:

gpg -–gen-key

Use the default selections. In this case, simply press enter to select ‘RSA and RSA’.

Once again, select the default of 2048 by pressing enter.

Press enter to indicate that the key does not expire, and then type ‘y’ and press enter to confirm.

Enter the name of your organization, and a contact e-mail address. You can enter a comment, or leave it blank.  Confirm by typing ‘O’ (for ‘Okay’) and press enter.

Enter a passphrase.  You can use spaces, so a phrase is preferable to a simple password.  Type the passphrase again to confirm.

Your key has now been generated. You now need to export the public key so you can send it to us.  Type:

gpg –-export –a “My Organization Name” > public.key

You now have a file called ‘public.key’ that you can send to us. It’s okay to send this file by email – it’s possible to create an encrypted file with the public key, but it’s not possible to decrypt the encrypted file without the private key.

You should also export your private key, and save copies of both the public and private keys somewhere safe.  Type:

gpg –export-secret-key -a “My Organization Name” > private.key