[Gpg4win-devel] Gpg4win 2.2.0: Portable vanilla ignores homedir environment variable
Werner Koch
wk at gnupg.org
Wed Aug 28 10:21:40 CEST 2013
On Wed, 28 Aug 2013 00:01, pvoigt at uos.de said:
> A side remark: Switches --light and --full failed with error message
> that Claws Mail is not installed.
That is why I said that you need to enable all options.
> environment variable homedir=L:\home\pvoigt\.gnupg. The portable
> version ignores this variable and insists in reading keys and
> configuration file from L:\Programme\GNU\GnuPG\home.
Right. That is the point of the portable version. If we would not do
this, a globally set GNUPGHOME would be used and thus the portable
version would use the configuration from a regular installation.
If you still want to use a gnupg home directory of you own choice, you
either need to use "gpg --homedir FOO ...." or way better, add
no-default-keyring
keyring L:/home/pvoigt/.gnupg/pubring.gpg
secret-keyring L:/home/pvoigt/.gnupg/secring.gpg
to L:/Programme/GNU/GnuPG/home/gpg.conf
Depending on yout Windows version and the file system of the USB stick
you could also symlink L:/Programme/GNU/GnuPG/home
If that turns out to be a problem, I am prepared to add another way to
set a home directory. The file gpgconf.ctl can be turned into a
configuration file to set it.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gpg4win-devel
mailing list