[47969a6] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c6b192c] | 7 | <!ENTITY qca-download-http "https://download.kde.org/stable/qca/&qca-version;/qca-&qca-version;.tar.xz">
|
---|
[47969a6] | 8 | <!ENTITY qca-download-ftp " ">
|
---|
[d781a228] | 9 | <!ENTITY qca-md5sum "bed96c14e590102e0974de1219a8c75e">
|
---|
| 10 | <!ENTITY qca-size "732 KB">
|
---|
| 11 | <!ENTITY qca-buildsize "43 MB">
|
---|
[c1a7a1c] | 12 | <!ENTITY qca-time "0.5 SBU (using parallelism=4; add 0.1 SBU for tests)">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="qca" xreflabel="qca-&qca-version;">
|
---|
| 16 | <?dbhtml filename="qca.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Qca-&qca-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="qca">
|
---|
[81586492] | 22 | <primary sortas="a-qca">qca</primary>
|
---|
[47969a6] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[ad41452] | 26 | <title>Introduction to Qca</title>
|
---|
[47969a6] | 27 |
|
---|
[d56e7df] | 28 | <para>
|
---|
| 29 | <application>Qca</application> aims to provide a straightforward and
|
---|
| 30 | cross-platform crypto API, using <application>Qt</application> datatypes
|
---|
| 31 | and conventions. <application>Qca</application> separates the API from
|
---|
| 32 | the implementation, using plugins known as Providers.
|
---|
| 33 | </para>
|
---|
[47969a6] | 34 |
|
---|
[acd88fc] | 35 | &lfs113_checked;
|
---|
[47969a6] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[d56e7df] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&qca-download-http;"/>
|
---|
| 42 | </para>
|
---|
[47969a6] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[d56e7df] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&qca-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[47969a6] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[d56e7df] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &qca-md5sum;
|
---|
| 52 | </para>
|
---|
[47969a6] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[d56e7df] | 55 | <para>
|
---|
| 56 | Download size: &qca-size;
|
---|
| 57 | </para>
|
---|
[47969a6] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[d56e7df] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &qca-buildsize;
|
---|
| 62 | </para>
|
---|
[47969a6] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[d56e7df] | 65 | <para>
|
---|
| 66 | Estimated build time: &qca-time;
|
---|
| 67 | </para>
|
---|
[47969a6] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
[8558044] | 70 | <!--
|
---|
[b51c6f5c] | 71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 72 | <itemizedlist spacing="compact">
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Required patch:
|
---|
| 76 | <ulink url="&patch-root;/qca-&qca-version;-openssl-1.patch"/>
|
---|
| 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
[691fc571] | 80 | -->
|
---|
[ad41452] | 81 | <bridgehead renderas="sect3">Qca Dependencies</bridgehead>
|
---|
[47969a6] | 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 84 | <para role="required">
|
---|
[2198a32] | 85 | <xref linkend="make-ca"/>,
|
---|
[615961f] | 86 | <xref linkend="cmake"/>,
|
---|
[67b1a0a1] | 87 | <xref linkend="qt5"/>, and
|
---|
[e40b79b6] | 88 | <xref linkend="which"/>
|
---|
[47969a6] | 89 | </para>
|
---|
| 90 |
|
---|
[615961f] | 91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 92 | <para role="Optional">
|
---|
| 93 | <xref linkend="cyrus-sasl"/>,
|
---|
| 94 | <xref linkend="gnupg2"/>,
|
---|
| 95 | <xref linkend="libgcrypt"/>,
|
---|
| 96 | <xref linkend="libgpg-error"/>,
|
---|
| 97 | <xref linkend="nss"/>,
|
---|
| 98 | <xref linkend="nspr"/>,
|
---|
| 99 | <xref linkend="p11-kit"/>,
|
---|
[8558044] | 100 | <xref linkend="doxygen"/>,
|
---|
[691fc571] | 101 | <xref linkend="which"/>, and
|
---|
| 102 | <ulink url="https://botan.randombit.net/">Botan</ulink>
|
---|
[615961f] | 103 | </para>
|
---|
| 104 |
|
---|
[47969a6] | 105 | <para condition="html" role="usernotes">User Notes:
|
---|
| 106 | <ulink url="&blfs-wiki;/qca"/></para>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
[ad41452] | 111 | <title>Installation of Qca</title>
|
---|
[b51c6f5c] | 112 |
|
---|
[d56e7df] | 113 | <para>
|
---|
| 114 | Fix the location of the CA certificates:
|
---|
| 115 | </para>
|
---|
[1e314ce] | 116 |
|
---|
[5c3f3856] | 117 | <screen><userinput>sed -i 's@cert.pem@certs/ca-bundle.crt@' CMakeLists.txt</userinput></screen>
|
---|
[1e314ce] | 118 |
|
---|
[d56e7df] | 119 | <para>
|
---|
| 120 | Install <application>Qca</application> by running the following
|
---|
| 121 | commands:
|
---|
| 122 | </para>
|
---|
[47969a6] | 123 |
|
---|
[615961f] | 124 | <screen><userinput>mkdir build &&
|
---|
| 125 | cd build &&
|
---|
| 126 |
|
---|
[691fc571] | 127 | cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR \
|
---|
| 128 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 129 | -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
|
---|
| 130 | .. &&
|
---|
[7170000e] | 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
[d56e7df] | 133 | <para>
|
---|
[4bd3b64d] | 134 | To test the results, issue <command>make test</command>. <!--One test
|
---|
[d56e7df] | 135 | using <xref linkend="gnupg2"/> fails without a correct passphrase. The
|
---|
[4bd3b64d] | 136 | required passphrase does not seem to be published.-->
|
---|
[d56e7df] | 137 | </para>
|
---|
[9ca304a] | 138 |
|
---|
[d56e7df] | 139 | <para>
|
---|
| 140 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 141 | </para>
|
---|
[47969a6] | 142 |
|
---|
| 143 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
[ad41452] | 146 |
|
---|
[47969a6] | 147 | <sect2 role="commands">
|
---|
| 148 | <title>Command Explanations</title>
|
---|
| 149 |
|
---|
[d56e7df] | 150 | <para>
|
---|
| 151 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
---|
| 152 | used to apply a higher level of compiler optimizations.
|
---|
| 153 | </para>
|
---|
[47969a6] | 154 |
|
---|
[d56e7df] | 155 | <para>
|
---|
| 156 | <parameter>-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man</parameter>:
|
---|
| 157 | Install the qca man page in the normal location.
|
---|
| 158 | </para>
|
---|
[cbdad90b] | 159 |
|
---|
[47969a6] | 160 | </sect2>
|
---|
[ad41452] | 161 |
|
---|
[47969a6] | 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
[ad41452] | 166 | <segtitle>Installed Programs</segtitle>
|
---|
[47969a6] | 167 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 168 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 169 |
|
---|
| 170 | <seglistitem>
|
---|
[67b1a0a1] | 171 | <seg>mozcerts-qt5 and qcatool-qt5</seg>
|
---|
[b51c6f5c] | 172 | <seg>
|
---|
| 173 | libqca-qt5.so,
|
---|
| 174 | libqca-cyrus-sasl.so,
|
---|
| 175 | libqca-gcrypt.so,
|
---|
| 176 | libqca-gnupg.so,
|
---|
| 177 | libqca-logger.so,
|
---|
| 178 | libqca-nss.so,
|
---|
| 179 | libqca-ossl.so, and
|
---|
| 180 | libqca-softstore.so
|
---|
| 181 | </seg>
|
---|
[615961f] | 182 | <seg>
|
---|
[67b1a0a1] | 183 | &qt5-dir;/include/Qca-qt5,
|
---|
| 184 | &qt5-dir;/lib/cmake/Qca-qt5, and
|
---|
| 185 | &qt5-dir;/lib/qca-qt5
|
---|
[615961f] | 186 | </seg>
|
---|
[47969a6] | 187 | </seglistitem>
|
---|
| 188 | </segmentedlist>
|
---|
[a88acf4] | 189 |
|
---|
[47969a6] | 190 | <variablelist>
|
---|
| 191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 192 | <?dbfo list-presentation="list"?>
|
---|
| 193 | <?dbhtml list-presentation="table"?>
|
---|
| 194 |
|
---|
[615961f] | 195 | <varlistentry id="mozcerts">
|
---|
[67b1a0a1] | 196 | <term><command>mozcerts-qt5</command></term>
|
---|
[615961f] | 197 | <listitem>
|
---|
[d56e7df] | 198 | <para>
|
---|
| 199 | is a command line tool for converting certdata.txt into
|
---|
[4c24eb0a] | 200 | outfile.pem files
|
---|
[d56e7df] | 201 | </para>
|
---|
[615961f] | 202 | <indexterm zone="qca mozcerts">
|
---|
[67b1a0a1] | 203 | <primary sortas="b-mozcerts">mozcerts-qt5</primary>
|
---|
[615961f] | 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="qcatool">
|
---|
[67b1a0a1] | 209 | <term><command>qcatool-qt5</command></term>
|
---|
[a88acf4] | 210 | <listitem>
|
---|
[d56e7df] | 211 | <para>
|
---|
| 212 | is a command line tool for performing various cryptographic
|
---|
[4c24eb0a] | 213 | operations with Qca
|
---|
[d56e7df] | 214 | </para>
|
---|
[615961f] | 215 | <indexterm zone="qca qcatool">
|
---|
[67b1a0a1] | 216 | <primary sortas="b-qcatool">qcatool-qt5</primary>
|
---|
[a88acf4] | 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="libqca">
|
---|
[4c24eb0a] | 222 | <term><filename class="libraryfile">libqca-qt5.so</filename></term>
|
---|
[47969a6] | 223 | <listitem>
|
---|
[d56e7df] | 224 | <para>
|
---|
[4c24eb0a] | 225 | is the Qt Cryptography Architecture (Qca) library
|
---|
[d56e7df] | 226 | </para>
|
---|
[a88acf4] | 227 | <indexterm zone="qca libqca">
|
---|
[67b1a0a1] | 228 | <primary sortas="c-libqca">libqca-qt5.so</primary>
|
---|
[47969a6] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | </variablelist>
|
---|
[a88acf4] | 234 |
|
---|
[47969a6] | 235 | </sect2>
|
---|
| 236 |
|
---|
| 237 | </sect1>
|
---|