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