GPG Windows tip
Thu Mar 14 08:38:01 2002


I've tried this tip on my NT system and it's work for me. I have another
question. Is it possible to support long file name?

By the way, how to specify more than one recipient name?



Ching-che Chen 

-----Original Message-----
From: Hegt, Peter []
Sent: Wednesday, March 13, 2002 6:13 PM
To: ''
Subject: GPG Windows tip


I've got this tip for making GPG easier to use in Windows.
To add encrypt/decrypt commands to the context menu (right click on a file):

Assuming gpg.exe is installed in c:\app\gnupg
the id of the key you'd like to use is ID
then with
in the key HKEY_CLASSES_ROOT\*\shell
(create the shell key if it is not there yet):

For encrypting create a key:

HKEY_CLASSES_ROOT\*\shell\GPG encrypt and sign with <your email address
	(Default) = "c:\App\gnupg\gpg -u ID --armor --sign --encrypt "%1""

put double qoutes around the %1 in case the file name has spaces.
If you have more keys, then add more entries

For decrypting create a key:

HKEY_CLASSES_ROOT\*\shell\GPG decrypt and verify (to file.out)\command
	(Default) = "c:\App\gnupg\gpg -o "%1%.out" "%1""

peter.hegt at phidias dot nl
PGP/GPG public key at or
(search for above email address)

Gnupg-users mailing list