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]](../images/note.png) 
          
            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
        
        
          Recommended
        
        
          GnuPG-2.4.8 (as per upstream recommendation)
        
        
          Optional
        
        
          Doxygen-1.15.0
        
       
      
        
          Installation of gpgme
        
        
          Install gpgme by running the
          following commands:
        
        mkdir build &&
cd    build &&
../configure --prefix=/usr       \
             --disable-static    &&
make
        
          To test the results, you should have GnuPG-2.4.8 installed. 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: Use this switch if
          GnuPG-2.4.8 is not installed.
        
       
      
        
          Contents
        
        
          
            
              Installed Program:
              gnupg-key-manage, gpgme-json, and
              gpgme-tool
            
            
              Installed Libraries:
              libgpgme.so
            
            
              Installed Directory:
              /usr/share/common-lisp/source/gpgme
            
           
         
        
          
            Short Descriptions
          
          
            
              
              
            
            
              
                | 
                    gnupg-key-manage
                   | 
                    performs a variety of operations on GPG keys, including
                    identifying keys and deleting them
                   | 
              
                | 
                    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
                   |