Dead1nside wrote:Thank-you, I'll go and do that now, does it matter if I'm installing a newer version of GnuPG?
Nope. The files are the same regardless of version. Due to security updates, you should update older installations of GnuPG to the current release, 1.4.6.
Dead1nside wrote:I've heard this term keyring, the last time I asked a question here. When I asked about cross-platform, the guy said I can keep my keyring on a USB stick. How would I go about this also?
Windows, right? For Windows 2000 and newer:
Insert USB stick. Run the Disk Manager snap-in (Start --> Run --> diskmgmt.msc [OK]). Find your USB stick in the lower panel and right-click on the drive. Select 'Change Drive Letter' from the context menu. On the drop-down menu of drive letters, select something near the end of the alphabet. This will assure that each time it is inserted, Windows will assign it the same drive letter.
Either open a command window or Explorer and move to your new USB stick and create a directory for GnuPG. For ease, call it GnuPG.
Copy the three .gpg files from your old GnuPG home directory to you new key directory. Leave gpg.conf - You can copy gpg.conf as a backup, but a copy needs to stay in the home directory, %APPDATA%\GnuPG.
Open gpg.conf in your home directory with a text editor, eg. Notepad, gvim, etc...
We need to tell GnuPG where to find its files. Note: I use O: for my keyrings:
no-default-keyring
keyring O:\GnuPG\pubring.gpg
primary-keyring O:\GnuPG\pubring.gpg
secret-keyring O:\GnuPG\secring.gpg
trustdb-name O:\GnuPG\trustdb.gpg
After you have tested that it is working and you are certain that is, change the extension of the .gpg files in %APPDATA\GnuPG (the OLD location) to anything else you wish, and test again. 'gpg --list-secret-keys' is a good choice of test command. If that works, it is safe to delete the keyring files from the OLD location under %APPDATA%\GnuPG.
If unsure, please ask for assistance first. Losing your secret keys is a BAD THING and it cannot be 'undone'.