Software Home Software Home Software Home
Readme
Building
Download
GnuPG for OS/2

Readme

On this page: News | Requirements | Installation | Documentation | OS/2 specific bugs | Port Changelog | Licence

This is a port of the GNU Privacy Guard ("GnuPG" or "gpg") version 1.4.7 to OS/2.

Quoting from the GnuPG README: "GnuPG is GNU's tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC2440."

New GnuPG for OS/2 maintainer wanted

24. February 2007: I'm looking for someone who is willing to take over the porting of GnuPG to OS/2 in the future.

Of course, I would assist you doing your first compile and your first own port as good as I can. Actually, porting new releases of the gpg 1.x series is not too much work as the main part of the job is to integrate the existing source code changes from a diff file into the source of the new release. In 90% of the cases, the source codes diffs from the previous release also apply flawlessly to the next one. If I had to estimate how long it takes to produce the port of a newly released gpg version from the 1.x series, I would say that it can usually be done in less than an hour. So, if you are a GnuPG user with a working Innotek GCC setup and some experience with UNIX ports and you want to take over the gpg porting in the future, please drop me an email (tobias {at} tobiashuerlimann.de).

In case you wonder why I want to "retire" as the GnuPG/2 porter, there are two reasons: The first one is that I bought a Mac laptop one and a half years ago, which has since then become my main working machine. I still have my OS/2 desktop computer, but I've more or less stopped using OS/2 for doing serious work except for some computing jobs that I prefer to do on my (faster) desktop PC. It was a little bit sad to abandon OS/2 after all these years, but I simply could no longer afford to spend countless hours just to make some simple USB devices work.

The second reason is that I will graduate from university this summer and after that take up a job very quickly. Then I will probably don't have to the spare time to keep on porting GnuPG, especially if I do not use it myself on OS/2.

News

Requirements

Installation

GnuPG has been configured to assume that a unixish file hierarchy exists, where it looks for its files. The environment variable UNIXROOT is used to determine in which directory that hierarchy is located. To install GnuPG you just have to extract the binary archive in the directory that UNIXROOT points to. More information about that file hierarchy and the env var UNIXROOT can be found at the UnixOS2 site.

GnuPG also needs the environment varibale HOME, which determines where GnuPG saves its keyrings. And at least one of the two possible PRNG (Pseudo Random Number Generators), rndos2.dll or RexxEGD, has to be installed.

The following environment variables are used by GnuPG:

Here's a summary of the directories that are used by GnuPG:

In case you really do not like the idea of UNIXROOT and you rather like the OS/2 way: Create a directory for GnuPG, for example C:\Progs\GnuPG and copy the following files in that directory:

Not using a unixish file hierarchy imposes some minor limitations. For example, NLS requires such a hierarchy. In any case you should set the HOME variable.

Documentation

An OS/2 help file in INF format containing the man pages of gpg.exe and gpgv.exe is install in %UNIXROOT%/usr/share/book/. The GnuPG FAQ in HTML and in plain text format can be found in %UNIXROOT%/usr/share/gnupg/.

A real manual for GnuPG und additional docs can be found on the GnuPG website at http://www.gnupg.org/documentation/.

OS/2 specific bugs und limitations

The pseudo random number generators

This port can make use of two different programs as a source for random data, rndos2.dll or RexxEGD.

GnuPG looks in three locations for rndos2.dll so if you want to use it, have to place it in one of them:

If GnuPG cannot find the file rndos2.dll, it tries to use RexxEGD instead. If it cannot connect to a running RexxEGD, GnuPG abort with an error message.

Details and technical informations about rndos2.dll can be found on another page.

RexxEGD is based on the perl script EGD ("Entropy Gathering Daemon"). It reads the output of utilities like netstat.exe and go.exe to feed its entropy pool. The random number are made available via a named pipe.

RexxEGD and the source code modifications to use it are written by Russell O'Connor. The URL of his website is http://math.berkeley.edu/~roconnor/.

Port Changelog

Licence

GnuPG is released under the GNU General Public Licence (GPL). Please refer to the COPYING file that comes with all the GnuPG packages for details. The rndos2 library has a BSD licence.

If you have any questions concerning the port or if you have source code patches, please drop me an eMail: tobias@tobiashuerlimann.de. Hints to poor english language and translation errors are also appreciated.


© 2003-2005, Tobias Hürlimann <tobias@tobiashuerlimann.de>. My PGP key can be found here. Impressum (German)