andy-d wrote:anyone knows howto change the location of the gnupg key folder ?
I've had a look on the web for you - the following was taken from
here - A post by John P. Clizbe (he's a bit of an expert!)
If you have a look in your registry, you should be able to alter the defaults:
[HKEY_CURRENT_USER\Software\GNU\GNUPG]
"HomeDir"="C:\\Documents and Settings\\user\\Application Data\\GnuPG"
"gpgProgram"="C:\\Program Files\\Gnu\\GnuPG\\gpg.exe"
"OptFile"="C:\\Documents and Settings\\user\\Application
Data\\GnuPG\\gpg.conf"
If you've never edited your registry before, first create a system restore point. If you're using WinXP, you need to go to START > PROGRAMS > ACCESSORIES > SYSTEM TOOLS > SYSTEM RESTORE then select "Create a restore point".
Next, hit START > RUN > REGEDIT
Navigate to the following registry entry:
HKEY_CURRENT_USER\Software\GNU\GNUPG
You can then change the appropriate values, for example:
"HomeDir"="C:\\Documents and Settings\\user\\Application Data\\GnuPG" becomes
"HomeDir"="E:\\your_directory"
You'll then change
"OptFile"="C:\\Documents and Settings\\user\\Application
Data\\GnuPG\\gpg.conf" to
"OptFile"="E:\\your_directory"
(the double-slashes are important)
There is probably an easier method using the gpg command line, but I've not yet been able to find it. Just don't forget to back up your keyrings and copy them to your new directory.
Hope this helps!