Having trouble finding Options/gpg.conf file from command line

John Clizbe JPClizbe@attbi.com
Thu Jun 5 21:28:02 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gates, Scott wrote:

> I'm trying to set up GnuPG on my server here. It's a WinXP Pro system.
> I want to be able to use dos style bats to encrypt files for certain
> users.  However, I can't get GnuPG to find the default options or
> gpg.conf file  I've been reading the docs and have written both hoping
> it would work.  The two files are exactly alike.
>
> The path to GnuPG is c:\Program Files\Windows Privacy Tools\GnuPG   the
> options and gpg.conf files are there.  Am I missing a system variable?
>
> I put GNUPGHOME=c:\Program Files\Windows Privacy Tools\GnuPG and have
> c:\Program Files\Windows Privacy Tools\GnuPG as part of the PATH.

Here's a sample .REG file (From the Nullify build for Windows):
++++++++
REGEDIT4

[HKEY_CURRENT_USER\Software\GNU]

[HKEY_CURRENT_USER\Software\GNU\GNUPG]
"HomeDir"="C:\\Program Files\\GnuPG"
"gpgProgram"="C:\\Program Files\\GnuPG\\gpg.exe"

[HKEY_CURRENT_USER\Control Panel\Mingw32]

[HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
"MODir"="C:\\Program Files\\GnuPG\\Locale"
+++++++++

Never heard of GNUPGHOME. There was a PGPHOME in some of the old PGP
cmdline versions. Just use gpg.conf here, no Options. file.


- --
John P. Clizbe                   Inet:   JPClizbe AT attbi DOT com
Golden Bear Networks             PGP/GPG KeyID: 0x608D2A10
  "Most men take the straight and narrow. A few take the road less
traveled.  I chose to cut through the woods."

9:00PM Tonight on _REAL_IRONY_:  Vegetarian Man Eaten by Cannibals
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-nr1 (Windows 2000)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+35nNHQSsSmCNKhARAlnfAJ0a1SD7zGsdmbqkNKT3ANJtqIPb8wCeIf0f
y0oHRl/H0DYxWeonH6JehAM=
=DydN
-----END PGP SIGNATURE-----