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