GPG Windows tip

Hegt, Peter Peter.Hegt@phidias.nl
Wed Mar 13 11:13:01 2002


Hi,

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
and
the id of the key you'd like to use is ID
then with
regedit.exe
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
here>\command
	(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""


Regards,
Peter
peter.hegt at phidias dot nl
PGP/GPG public key at http://pgpkeys.mit.edu or http://keyserver.pgp.com
(search for above email address)