Introduction to Libksba

The Libksba package contains a library used to make X.509 certificates as well as making the CMS (Cryptographic Message Syntax) easily accessible by other applications. Both specifications are building blocks of S/MIME and TLS. The library does not rely on another cryptographic library but provides hooks for easy integration with Libgcrypt.

Package Information

Libksba Dependencies



User Notes:

Installation of Libksba

Install Libksba by running the following commands:

./configure --prefix=/usr &&

Only info documentation is shipped in the package tarball. If you wish to build alternate formats of the documentation, you must have teTeX-3.0 installed, then issue the following commands:

tex --output-directory=doc ksba.texi &&
dvips -o doc/ doc/ksba.dvi    &&
make -C doc pdf html                 &&
makeinfo --html --no-split -o doc/ksba_nochunks.html doc/ksba.texi &&
makeinfo --plaintext       -o doc/ksba.txt           doc/ksba.texi

To test the results, issue: make check.

Now, as the root user:

make install &&
install -v -m644 -D README /usr/share/doc/libksba-1.0.2/README

If you built the additional documentation, install it by issuing the following commands as the root user:

install -v -m755 -d /usr/share/doc/libksba-1.0.2/html &&
install -v -m644 doc/ksba.html/* \
                    /usr/share/doc/libksba-1.0.2/html &&
install -v -m644 doc/ksba_*.html \
                    /usr/share/doc/libksba-1.0.2 &&
install -v -m644 doc/ksba.{pdf,ps,dvi,txt,texi} \


Installed Program: libksba-config
Installed Libraries: libksba.{so,a}
Installed Directory: /usr/share/doc/libksba-1.0.2

Short Descriptions


is a utility used to configure and build applications based on the libksba(3) library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the libksba(3) library.


contains the cryptographic API functions.

Last updated on 2008-05-10 18:53:20 -0500