Windoze Registry

Daryl Krauter dkrauter@getesuite.com
Tue Aug 7 13:27:01 2001


This is a multi-part message in MIME format.

------=_NextPart_000_008D_01C11F09.880748B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

In the doc, it says to use \\HKEY_CURRENT_USER\Software\GNU\GnuPG\HomeDir
So, I had my registry set to use "D:/GnuPG" for disk-space reasons.

All works fine from the command-line.
However, when I run this from the "NT Task Scheduler" (for the same user as
above)
decryption fails with this message

	gpg: encrypted with ELG-E key, ID 424C71CC
	gpg: decryption failed: secret key not available
	gpg: no default secret key: secret key not available
	gpg: Test.zip: sign+encrypt failed: secret key not available

It should be noted that encryption works fine for this user within the "Task
Scheduler".
After I copied my D:\GnuPG folder to the "C:" drive, all worked fine for
decryption.

A couple of questions:
	1) Might it be possible in an upcoming release to reference the
HomeDir from the Registry Key "\\HKEY_LOCAL_MACHINE"?
		Obviously, this makes the same keyring available to all
users with just one registry setting.
		Perhaps a group's "common" keys go in that keyring, and the
user's specific keys go in their keyring.
	2) Should I be using '--homedir' on the command-line to make this
work from the Task Scheduler?
		Of course, you can't place this in the options file, because
gpg has to know HomeDir to read the options

TIA,
Daryl Krauter


------=_NextPart_000_008D_01C11F09.880748B0
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="winmail.dat"

eJ8+IjULAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHCAAHAAYAEgAAAAIAAQEB
A5AGAIQIAAAmAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB
AAAAEQAAAFdpbmRvemUgUmVnaXN0cnkAAAAAAgFxAAEAAAAWAAAAAcEfMqx4w4AXQ4TSEdWA/wDA
Twyy7wAAAgEdDAEAAAAcAAAA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