Qca-2.2.1

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 9. General Libraries

- Prev

  Ptlib-2.10.11

- Next

  Talloc-2.2.0

- Up
- Home

# Qca-2.2.1

## Introduction to Qca

Qca aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. Qca separates the API from the implementation, using plugins known as Providers.

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

### Package Information

- Download (HTTP): http://download.kde.org/stable/qca/2.2.1/qca-2.2.1.tar.xz

- Download MD5 sum: 5d809bf0ade891dc89dfd7639cbeaa9d

- Download size: 676 KB

- Estimated disk space required: 30 MB

- Estimated build time: 0.6 SBU (using parallelism=4; add 1.0 SBU for tests)

### Qca Dependencies

#### Required

make-ca-1.4, CMake-3.15.2, Qt-5.13.0, and Which-2.21

#### Optional

Cyrus SASL-2.1.27, GnuPG-2.2.17, libgcrypt-1.8.5, libgpg-error-1.36, NSS-3.45, NSPR-4.21, p11-kit-0.23.16.1, Doxygen-1.8.16, Which-2.21, and Botan

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

## Installation of Qca

Fix the location of the CA certificates:

    sed -i 's@cert.pem@certs/ca-bundle.crt@' CMakeLists.txt

Install Qca by running the following commands:

    mkdir build &&
    cd    build &&

    cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR            \
          -DCMAKE_BUILD_TYPE=Release                \
          -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
          .. &&
    make

To test the results, issue make test. One test using GnuPG-2.2.17 fails without a correct passphrase. The required passphrase does not seem to be published.

Now, as the `root` user:

    make install

## Command Explanations

`-DCMAKE_BUILD_TYPE=Release`: This switch is used to apply a higher level of compiler optimizations.

`-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man`: Install the qca man page in the normal location.

## Contents

Installed Programs: mozcerts-qt5 and qcatool-qt5
Installed Libraries: libqca-qt5.so, libqca-cyrus-sasl.so, libqca-gcrypt.so, libqca-gnupg.so, libqca-logger.so, libqca-nss.so, libqca-ossl.so, and libqca-softstore.so
Installed Directories: $QT5DIR/include/Qca-qt5, $QT5DIR/lib/cmake/Qca-qt5, and $QT5DIR/lib/qca-qt5

### Short Descriptions

mozcerts-qt5 | is a command line tool for converting certdata.txt into outfile.pem files.
qcatool-qt5 | is a command line tool for performing various cryptographic operations with Qca.
`libqca-qt5.so` | is the Qt Cryptography Architecture (Qca) library.

Last updated on 2019-08-19 18:55:15 -0700

- Prev

  Ptlib-2.10.11

- Next

  Talloc-2.2.0

- Up
- Home