GPGME-1.21.0

Introduction to GPGME

The GPGME package is a C library that allows cryptography support to be added to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.

This package is known to build and work properly using an LFS 12.0 platform.

Package Information

GPGME Dependencies

Required

libassuan-2.5.6

Optional

Doxygen-1.9.7 and Graphviz-8.1.0 (for API documentation), GnuPG-2.4.3 (required if Qt or SWIG are installed; used during the test suite), Clisp-2.49, (Qt-5.15.10 or qt-alternate-5.15.10), and/or SWIG-4.1.1 (for language bindings)

Installation of GPGME

Install GPGME by running the following commands:

./configure --prefix=/usr --disable-gpg-test &&
make

To test the results, you should have GnuPG-2.4.3 installed and remove the --disable-gpg-test above. Issue: make -k check. One test, TestRemarks, is known to fail.

Now, as the root user:

make install

Command Explanations

--disable-gpg-test: if this parameter is not passed to configure, the test programs are built during make stage, which requires GnuPG-2.4.3. This parameter is not needed if GnuPG-2.4.3 is installed.

Contents

Installed Program: gpgme-json, and gpgme-tool
Installed Libraries: libgpgme, libgpgmepp.so, and libqgpgme.so
Installed Directory: /usr/include/{gpgme++,qgpgme,QGpgME}, /usr/lib/cmake/{Gpgmepp,QGpgme}. /usr/lib/python2.7/site-packages/gpg, /usr/lib/python3.11/site-packages/gpg-1.21.0-py3.11-linux-<arch>.egg, and /usr/share/common-lisp/source/gpgme

Short Descriptions

gpgme-json

outputs GPGME commands in JSON format

gpgme-tool

is an assuan server exposing GPGME operations, such as printing fingerprints and keyids with keyservers

libgpgme.so

contains the GPGME API functions

libgpgmepp.so

contains the C++ GPGME API functions

libqgpgme.so

contains API functions for handling GPG operations in Qt applications