GPG Automation on NT via VB
Wed Dec 11 23:29:02 2002
The newest releases of GPG allow you to put REG_EXPAND_SZ variables in
the registry. These must be created with regedt32.exe.
For example, my home directory in the registry is "%APPDATA%\GnuPG".
GnuPG expands this at runtime to "C:\Documents and
settings\username\Application Data\GnuPG", which lets me have a per-user
set of keys.
Last time I checked, though, WinPT didn't yet support this feature
fully, so I had to put the path to my keyrings and options files
directly into the WinPT settings box. That is, WinPT settings cannot yet
be made on a per-user basis. Timo and I exchanged a few emails about it,
and he said he was probably going to do more to support multi-user
configurations, but I haven't checked out new versions in the last few
Sr. Network & Database Administrator
Bank Administration Institute
Chicago, Illinois, USA
PGP Key: http://www.malayter.com/pgp-public.txt
Nothing in life is so exhilarating as to be shot at without result.
-Sir Winston Churchill
From: Scott Brooks [mailto:firstname.lastname@example.org]=20
Sent: Wednesday, December 11, 2002 1:38 PM
Subject: GPG Automation on NT via VB
I searched the archives, but struck out. I have a Visual Basic 6
program running on a NT 4.0 Server. In the VB program I create a .bat
file with GPG encryption commands, shell the bat file, and then wait for
it to finish. The program works fine when I'm logged onto the server as
the administrator. But when I logoff as administrator and try to run
the VB program via DataStage, I can no longer find the public keys I
added with WinPT when I was logged on as the administrator. I looked in
the registry and saw the gpgProgram and HomeDir entries are under the
HKEY_Current_user. I tried to set these up under the
HKEY_Local_Machine, but this didn't work. My next step is to try to
mess with the path. But, before I hurt myself too badly, I thought I
would ask you experts. Any advise?
*****E-Mail Confidentiality Notice*****
This message (including any attachments) contains information intended
for a specific individual(s) and purpose which may be privileged,
confidential or otherwise protected from disclosure pursuant to
applicable law. Any inappropriate use, distribution or copying of the
message is strictly prohibited and may subject you to criminal or civil
penalty. If you have received this transmission in error, please reply
to the sender indicating this error and delete the transmission from
your system immediately.
Gnupg-users mailing list