Stripped down (minimalistic) gpg?
Mon Mar 3 20:28:02 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, Mar 03, 2003 at 12:17:39PM -0600, Adi Linden wrote:
> Just wondering how I could build a small, minimalistic gpg binary. I need
> a small statically build gpg binary to run on a webserver. All it'll ever
> do is encrypt data using public keys. Don't need keyserver support or
> anything else fancy.
> Anyone done that before that would share their experiences?
When you build GnuPG, use ./configure --disable-exec --disable-dynload
That will leave out some extra stuff you don't need like the keyserver
support, photo ID support, and the ability to dynamically load the
The development GnuPG allows you to also use --disable-xxxxx to leave
out individual algorithms, and --enable-minimal to make the smallest
gpg possible. The minimal GnuPG has only DSA, Elgamal, RSA, MD5,
3DES, SHA-1, RMD160, ZIP and ZLIB.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2rc1 (GNU/Linux)
-----END PGP SIGNATURE-----