gpg-2-go + winpt + usb drive // do-able !

vedaal at vedaal at
Tue Mar 22 19:54:07 CET 2005

as winpt does not need any 'path' or registry entries in windows,
it can easily be set up on a usb drive to run with gpg-2-go,
without any installation into windows, and then run just by 

double-clicking on the WinPT.exe file

what is necessary is:

[a] gpg-2-go  (

[b] winpt 0.9.90 (http://www.stud.uni-

[c] a windows .dll file  (shell32.dll)
(this is in the windows 'system32' folder,
on win xp pro, this is an 8 mb file,
on win 2k pro, it is 2.3 mb)

it might be a good idea to get one for each windows system,
and keep them in a backup folder in the usb drive,
(i have not tried using the one from xp on any other windows 

once these are gotten,

[1] unzip winpt into the root usb directory 

[2] copy the shell32.dll into the same usb root directory where 

[3] in gpg.conf,
change the home directory drive letter from A:\
to the letter of the usb drive
(n.b. this will often change from computer to computer, depending 
how many cd, dvd, zip, or other drives are already present,)

[4] double-click on the 'go.bat' file in gpg-2-go,
and a dos window should open,
gpg -h

and confirm that gnupg is running

[5] double-click on the WinPT.exe file

winpt will give several error message alerts as it looks for the 
and other gnupg files,

then it will ask for their locations,
and a winpt 'gpg preferences' window will open,
asking for the locations of the gnupg home directory,
gpg.conf, gpg.exe, and locale directory
(again, these may need to be changed when the usb drive letter 
when moving from host to host)

once these are entered,
just double-click again on WinPT.exe
and the keys will load, and the familiar winpt key icon will be in 
right-hand side of the windows tray toolbar

and then, all winpt functions work,
including wipe original, wipe files, and wipe free-space

(the one thing that may not work is the keyserver access,
if the host system allows only http 
and no non-browser internet access)

minor interesting tweak: 

if the public host computer doesn't allow a usb key attachment,
and allows only front-loading usb connectors of different types,

then the entire above setup can easily be stored on a 16 meg memory 

card of a digital camera (with enough room left over for a few 
pictures ;-)  ),

and gpg-2go + winpt can be run by connecting the camera usb port, 
accessing the drive the same way as any other connected usb drive

using winpt this way, in addition to providing a comfortable gui,
also provides an 'eraser'-type wipe function,
(DoD or Gutmann settings) that isn't available 
in the gnupg command-line


Concerned about your privacy? Follow this link to get
secure FREE email:

Free, ultra-private instant messaging with Hush Messenger

Promote security and make money with the Hushmail Affiliate Program:

More information about the Gnupg-users mailing list