GNU Privacy Guard for OS/2

GnuPG 1.2.1 (or better) for OS/2

A better and more recent port of GnuPG is available.

GnuPG 1.0.7 for OS/2

Somewhere on Hobbes I found a port of GnuPG 1.0.6 to OS/2. However it did not use a strong source of randomness, and therefore is only good for decrypting messages.

This port of GnuPG uses the Rexx Entropy Gathering Daemon for OS/2 to gather random data from system statistics. It should be adequate for gathering randomness.

GnuPG for OS/2 is based on the Free Software Foundation’s GnuPG.


The latest version is GnuPG 1.0.7 2002-05-23(sig). The md5sum is:



This port of GnuPG requires Rexx Entropy Gathering Daemon for OS/2 and zlib 1.1.4. It also requires the EMX runtime if you do not already have it.

GnuPG 1.0.7 for OS/2 has be tested on OS/2 version 4.5


Make sure gpg.exe and gpgv.exe are both in your path. You can either add the directory you unzipped the file into to your PATH, or you can move the files into some directory already in your PATH.

You should set your HOME environment variable to the directory where you want your gnupg directory (that contains your key-rings, etc.) to go.

For example, you could add
to your config.sys file and then your key-rings would be stored in your C:\gnupg directory.

Documentation is available at the GnuPG website.

OS/2 Specific Bugs

Agent Support

There is no agent support for OS/2. Getting the agent code to work for OS/2 would probably be easy, but I did not bother looking at it, and just removed it from the build.

NLS Support

Internationalization is probably not supported. I am a little unsure how to get it to work.


The build has been configured with --disable-asm and --enable-static-rnd=egd.


Legal Stuff

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Russell O’Connor: contact me