GnuPG-2.0.26

Introduction to GnuPG

The GnuPG package 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 and the S/MIME standard as described by several RFCs. GnuPG 2 is the stable version of GnuPG integrating support for OpenPGP and S/MIME.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

  • Download (FTP): ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2

  • Download MD5 sum: fa7e704aad33eb114d1840164455aec1

  • Download size: 4.2 MB

  • Estimated disk space required: 91 MB (with tests and optional documentation)

  • Estimated build time: 0.6 SBU (additional 0.5 SBU for the tests)

GnuPG Dependencies

Required

Libassuan-2.1.3, libgcrypt-1.6.2, Libksba-1.3.1 and Pth-2.0.7

Recommended

Optional

cURL-7.39.0, GNU ADNS, libusb-compat-0.1.5, an MTA and OpenLDAP-2.4.40

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gnupg2

Installation of GnuPG

Install GnuPG by running the following commands:

./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --enable-symcryptrun \
            --docdir=/usr/share/doc/gnupg-2.0.26 &&
make &&

makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi &&
makeinfo --plaintext       -o doc/gnupg.txt           doc/gnupg.texi

If you have texlive-20140525 installed and you wish to create documentation in alternate formats, issue the following commands:

make -C doc pdf ps html

To test the results, issue: make check.

Now, as the root user:

make install               &&

for f in gpg gpgv ; do
ln -sfv ${f}2   /usr/bin/${f} &&
ln -sfv ${f}2.1 /usr/share/man/man1/${f}.1
done &&

install -v -dm755 /usr/share/doc/gnupg-2.0.26/html       &&
install -v -m644  doc/gnupg_nochunks.html \
                  /usr/share/doc/gnupg-2.0.26/gnupg.html &&
install -v -m644  doc/*.texi doc/gnupg.txt \
                  /usr/share/doc/gnupg-2.0.26

If you created alternate formats of the documentation, install it using the following command as the root user:

install -v -m644 doc/gnupg.html/* \
                 /usr/share/doc/gnupg-2.0.26/html &&
install -v -m644 doc/gnupg.{pdf,dvi,ps} \
                 /usr/share/doc/gnupg-2.0.26

Command Explanations

--enable-symcryptrun: This switch enables building the symcryptrun program.

ln -sfv ...: This command creates symlinks for compatibility with the first version of GnuPG.

Contents

Installed Programs: addgnupghome, applygnupgdefaults, gpg, gpg2, gpg-agent, gpgconf, gpg-connect-agent, gpgkey2ssh, gpgparsemail, gpgsm, gpgsm-gencert.sh, gpgtar, gpgv, gpgv2, kbxutil, symcryptrun and watchgnupg
Installed Libraries: None
Installed Directories: /usr/share/doc/gnupg-2.0.26 and /usr/share/gnupg

Short Descriptions

addgnupghome

is used to create and populate user's ~/.gnupg directories.

applygnupgdefaults

is a wrapper script used to run gpgconf with the --apply-defaults parameter on all user's GnuPG home directories.

gpg-agent

is a daemon used to manage secret (private) keys independently from any protocol. It is used as a backend for gpg and gpgsm as well as for a couple of other utilities.

gpg-connect-agent

is a utility used to communicate with a running gpg-agent.

gpg2

is the OpenPGP part of the GNU Privacy Guard (GnuPG). It is a tool used to provide digital encryption and signing services using the OpenPGP standard.

gpgconf

is a utility used to automatically and reasonable safely query and modify configuration files in the ~/.gnupg home directory. It is designed not to be invoked manually by the user, but automatically by graphical user interfaces.

gpgparsemail

is a utility currently only useful for debugging. Run it with --help for usage information.

gpgsm

is a tool similar to gpg used to provide digital encryption and signing services on X.509 certificates and the CMS protocol. It is mainly used as a backend for S/MIME mail processing.

gpgsm-gencert.sh

is a simple tool used to interactively generate a certificate request which will be printed to stdout.

gpgv2

is a verify only version of gpg2.

kbxutil

is used to list, export and import Keybox data.

symcryptrun

is a simple symmetric encryption tool.

watchgnupg

is used to listen to a Unix Domain socket created by any of the GnuPG tools.

Last updated on 2014-08-23 22:42:10 +0000