GPG Windows tip

Hegt, Peter
Wed Mar 13 11:13:01 2002


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)