gpgme-2.0.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.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

gpgme Dependencies

Required

libassuan-3.0.2

Optional

Doxygen-1.14.0 and GnuPG-2.4.8 (for building the tests)

Installation of gpgme

Install gpgme by running the following commands:

mkdir build &&
cd    build &&

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

To test the results, you should have GnuPG-2.4.8 installed and remove the --disable-gpg-test above. If so, run:

make -k check

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--disable-gpg-test: The build fails if this switch is not passed and GnuPG-2.4.8 is not installed.

Contents

Installed Program: gpgme-json, and gpgme-tool
Installed Libraries: libgpgme.so
Installed Directory: /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