source: postlfs/security/gnutls.xml@ 2e707bcd

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 2e707bcd was 892c41b, checked in by Douglas R. Reno <renodr@…>, 8 months ago

Update to gnutls-3.8.2 (Security Update)

  • Property mode set to 100644
File size: 12.5 KB
RevLine 
[d5404360]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
[b1c55f00]7 <!ENTITY gnutls-download-http "&gnupg-http;/gnutls/v3.8/gnutls-&gnutls-version;.tar.xz">
[14d673a2]8 <!ENTITY gnutls-download-ftp " ">
[892c41b]9 <!ENTITY gnutls-md5sum "8edaa18bce2a5e7a48d8917352a2ba88">
10 <!ENTITY gnutls-size "6.2 MB">
11 <!ENTITY gnutls-buildsize "168 MB (add 114 MB for tests)">
[d5db88e]12 <!ENTITY gnutls-time "0.7 SBU (add 1.4 SBU for tests; both using parallelism=8)">
[d5404360]13]>
14
15<sect1 id="gnutls" xreflabel="GnuTLS-&gnutls-version;">
16 <?dbhtml filename="gnutls.html"?>
17
18
19 <title>GnuTLS-&gnutls-version;</title>
20
21 <indexterm zone="gnutls">
22 <primary sortas="a-GnuTLS">GnuTLS</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to GnuTLS</title>
27
[3ee626e]28 <para>
29 The <application>GnuTLS</application> package contains libraries and
30 userspace tools which provide a secure layer over a reliable transport
31 layer. Currently the <application>GnuTLS</application> library implements
32 the proposed standards by the IETF's TLS working group. Quoting from the
[2c6c92d6]33 <ulink url="https://datatracker.ietf.org/doc/rfc8446/">
34 TLS 1.3 protocol specification
35 </ulink>:
[3ee626e]36 </para>
37
38 <para>
[2c6c92d6]39 <quote>
40 TLS allows client/server applications to communicate over the Internet
41 in a way that is designed to prevent eavesdropping, tampering, and
42 message forgery.
43 </quote>
[3ee626e]44 </para>
45
46 <para>
[2c6c92d6]47 <application>GnuTLS</application> provides support for TLS 1.3, TLS 1.2,
48 TLS 1.1, TLS 1.0, and (optionally) SSL 3.0 protocols. It also supports
49 TLS extensions, including server name and max record size. Additionally,
50 the library supports authentication using the SRP protocol, X.509
51 certificates, and OpenPGP keys, along with support for the TLS
52 Pre-Shared-Keys (PSK) extension, the Inner Application (TLS/IA)
53 extension, and X.509 and OpenPGP certificate handling.
[3ee626e]54 </para>
[d5404360]55
[7481fd4]56 &lfs120_checked;
[214718a]57
[d5404360]58 <bridgehead renderas="sect3">Package Information</bridgehead>
59 <itemizedlist spacing="compact">
[546b042]60 <listitem>
[3ee626e]61 <para>
62 Download (HTTP): <ulink url="&gnutls-download-http;"/>
63 </para>
[546b042]64 </listitem>
[d5404360]65 <listitem>
[3ee626e]66 <para>
67 Download (FTP): <ulink url="&gnutls-download-ftp;"/>
68 </para>
[d5404360]69 </listitem>
70 <listitem>
[3ee626e]71 <para>
72 Download MD5 sum: &gnutls-md5sum;
73 </para>
[d5404360]74 </listitem>
75 <listitem>
[3ee626e]76 <para>
77 Download size: &gnutls-size;
78 </para>
[d5404360]79 </listitem>
80 <listitem>
[3ee626e]81 <para>
82 Estimated disk space required: &gnutls-buildsize;
83 </para>
[d5404360]84 </listitem>
85 <listitem>
[3ee626e]86 <para>
87 Estimated build time: &gnutls-time;
88 </para>
[d5404360]89 </listitem>
90 </itemizedlist>
91
92 <bridgehead renderas="sect3">GnuTLS Dependencies</bridgehead>
93
94 <bridgehead renderas="sect4">Required</bridgehead>
[3ee626e]95 <para role="required">
96 <xref linkend="nettle"/>
97 </para>
[d5404360]98
[5eaf9af8]99 <bridgehead renderas="sect4">Recommended</bridgehead>
100 <para role="recommended">
[2198a32]101 <xref linkend="make-ca"/>,
[c805117a]102 <xref linkend="libunistring"/>,
103 <xref linkend="libtasn1"/>, and
[74239ce]104 <xref linkend="p11-kit"/>
[5eaf9af8]105 </para>
106
[d5404360]107 <bridgehead renderas="sect4">Optional</bridgehead>
[0c6c35d]108 <para role="optional">
[3bf95196]109 <xref linkend="brotli"/>,
[b9abcb5]110 <xref linkend="doxygen"/>,
[0c6c35d]111 <xref linkend="gtk-doc"/>,
[8558044]112 <xref linkend="libidn"/> or
[ac6b671]113 <xref linkend="libidn2"/>,
114 <xref linkend="libseccomp"/>,
[dd7d9b0]115 <xref linkend="net-tools"/> (used during the test suite),
[b9abcb5]116 <xref linkend="texlive"/> or <xref linkend="tl-installer"/>,
[6c6990c]117 <xref linkend="unbound"/> (to build the DANE library),
[ffa3d4e]118 <xref linkend="valgrind"/> (used during the test suite),
[8dfc5c3]119 <ulink url="&gnu-http;/autogen/">autogen</ulink>,
[4412abb2]120 <ulink url="https://cmocka.org/">cmocka</ulink> and
[c6b192c]121 <ulink url="https://ftp.debian.org/debian/pool/main/d/datefudge/">datefudge</ulink> (used during the test suite if the DANE library is built), and
[8dfc5c3]122 <ulink url="&sourceforge-dl;/trousers/">Trousers</ulink> (Trusted Platform Module support)
[3ee626e]123 </para>
[d5404360]124
[d224244f]125 <note><para>
[b1c55f00]126 <!-- Note that if you do not install <xref linkend="libtasn1"/>, an older
127 3.8.0 includes minitasn1 4.19 which is currnet at the moment. ken -->
128 Note that if you do not install <xref linkend="libtasn1"/>, a
[3ee626e]129 version shipped in the <application>GnuTLS</application> tarball will be
130 used instead.
[d224244f]131 </para></note>
[38b68055]132
[d5404360]133 </sect2>
134
135 <sect2 role="installation">
136 <title>Installation of GnuTLS</title>
137
[3ee626e]138 <para>
139 Install <application>GnuTLS</application> by running the
140 following commands:
141 </para>
[d5404360]142
[1c8a066f]143<screen><userinput>./configure --prefix=/usr \
[8cb62480]144 --docdir=/usr/share/doc/gnutls-&gnutls-version; \
[1ac799b]145 --with-default-trust-store-pkcs11="pkcs11:" &amp;&amp;
[d5404360]146make</userinput></screen>
[c9384fd]147<!-- - -disable-rpath \
148 Old gnutls versions (around 3.5) had a problem with rpath, because
149 libraries in the build tree were linked with rpath pointing to the
150 system libraries, so that tests failed. Present versions don't have
151 this problem, and do exactly what is expected without using the
152 disable-rpath option: rpath pointing to the build tree when libraries
153 are first linked, but rpath removed when libraries are relinked at
154 install time. -->
[d5404360]155
[3ee626e]156 <para>
[9b43114]157 To test the results, issue: <command>make check</command>.
[3ee626e]158 </para>
[d5404360]159
[3ee626e]160 <para>
161 Now, as the <systemitem class="username">root</systemitem>
162 user:
163 </para>
[d5404360]164
[73d97caf]165<screen role="root"><userinput>make install</userinput></screen>
[2e81579]166
[d5404360]167 </sect2>
168
[d309b21]169 <sect2 role="commands">
170 <title>Command Explanations</title>
171
[4c39aff]172 <para>
[1ac799b]173 <parameter>--with-default-trust-store-pkcs11="pkcs11:"</parameter>: This
174 switch tells gnutls to use the PKCS #11 trust store as the default trust.
175 Omit this switch if <xref linkend="p11-kit"/> is not installed.
176 </para>
[c9384fd]177 <!-- see above
[9b43114]178 <para>
[c9384fd]179 <parameter>- -disable-rpath</parameter>: This switch prevents building
[9b43114]180 GnuTLS utilities and tests with hardcoded runtime library search path.
181 Hardcoded rpath is unneeded for BLFS, and it causes test failures if
182 an old version of GnuTLS is installed.
183 </para>
[c9384fd]184 -->
[1ac799b]185 <para>
[5c3f3856]186 <option>--with-default-trust-store-file=/etc/pki/tls/certs/ca-bundle.crt</option>:
[4c39aff]187 This switch tells <command>configure</command> where to find the
[1ac799b]188 legacy CA certificate bundle and to use it instead of PKCS #11 module
189 by default. Use this if <xref linkend="p11-kit"/> is not installed.
[4c39aff]190 </para>
191
[e05cd03f]192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5eaf9af8]193 href="../../xincludes/gtk-doc-rebuild.xml"/>
[d309b21]194
[b9abcb5]195 <para>
196 <option>--enable-openssl-compatibility</option>:
[74239ce]197 Use this switch if you wish to build the OpenSSL compatibility library.
198 </para>
199
200 <para>
201 <option>--without-p11-kit</option>: use this switch if you have not
202 installed <application>p11-kit</application>.
[b9abcb5]203 </para>
204
[c805117a]205 <para>
206 <option>--with-included-unistring</option>: uses the bundled version of
207 libunistring, instead of the system one. Use this switch if you have not
208 installed <xref linkend="libunistring"/>.
209 </para>
210
[d309b21]211 </sect2>
212
[d5404360]213 <sect2 role="content">
214 <title>Contents</title>
215
216 <segmentedlist>
217 <segtitle>Installed Programs</segtitle>
218 <segtitle>Installed Libraries</segtitle>
[32dfb13c]219 <segtitle>Installed Directories</segtitle>
[d5404360]220
221 <seglistitem>
[3ee626e]222 <seg>
[495703a]223 certtool, danetool, gnutls-cli, gnutls-cli-debug,
[c202a254]224 gnutls-serv, ocsptool, p11tool, psktool, and srptool
[3ee626e]225 </seg>
226 <seg>
[2c6c92d6]227 libgnutls.so, libgnutls-dane.so, libgnutlsxx.so,
228 libgnutls-openssl.so (optional), and
229 /usr/lib/guile/3.0/extensions/guile-gnutls-v-2.so
[3ee626e]230 </seg>
231 <seg>
[cfc1f98]232 /usr/include/gnutls,
[2c6c92d6]233 /usr/lib/guile/3.0/site-ccache/gnutls,
234 /usr/share/guile/site/3.0/gnutls, and
[cfc1f98]235 /usr/share/doc/gnutls-&gnutls-version;
[3ee626e]236 </seg>
[d5404360]237 </seglistitem>
238 </segmentedlist>
239
240 <variablelist>
241 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
242 <?dbfo list-presentation="list"?>
243 <?dbhtml list-presentation="table"?>
244
245 <varlistentry id="certtool">
246 <term><command>certtool</command></term>
247 <listitem>
[3ee626e]248 <para>
249 is used to generate X.509 certificates, certificate requests,
[4c24eb0a]250 and private keys
[3ee626e]251 </para>
[d5404360]252 <indexterm zone="gnutls certtool">
253 <primary sortas="b-certtool">certtool</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
[a5c54e0]257
[4c39aff]258 <varlistentry id="danetool">
259 <term><command>danetool</command></term>
260 <listitem>
261 <para>
262 is a tool used to generate and check DNS resource records
[4c24eb0a]263 for the DANE protocol
[4c39aff]264 </para>
265 <indexterm zone="gnutls danetool">
266 <primary sortas="b-danetool">danetool</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
[d5404360]271 <varlistentry id="gnutls-cli">
272 <term><command>gnutls-cli</command></term>
273 <listitem>
[3ee626e]274 <para>
275 is a simple client program to set up a TLS connection to some
[4c24eb0a]276 other computer
[3ee626e]277 </para>
[d5404360]278 <indexterm zone="gnutls gnutls-cli">
279 <primary sortas="b-gnutls-cli">gnutls-cli</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="gnutls-cli-debug">
285 <term><command>gnutls-cli-debug</command></term>
286 <listitem>
[3ee626e]287 <para>
288 is a simple client program to set up a TLS connection to some
[4c24eb0a]289 other computer and produces very verbose progress results
[3ee626e]290 </para>
[d5404360]291 <indexterm zone="gnutls gnutls-cli-debug">
292 <primary sortas="b-gnutls-cli-debug">gnutls-cli-debug</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="gnutls-serv">
298 <term><command>gnutls-serv</command></term>
299 <listitem>
[3ee626e]300 <para>
301 is a simple server program that listens to incoming TLS
[4c24eb0a]302 connections
[3ee626e]303 </para>
[d5404360]304 <indexterm zone="gnutls gnutls-serv">
305 <primary sortas="b-gnutls-serv">gnutls-serv</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
[546b042]310 <varlistentry id="ocsptool">
311 <term><command>ocsptool</command></term>
312 <listitem>
[3ee626e]313 <para>
[0d7900a]314 is a program that can parse and print information about OCSP
[4c24eb0a]315 requests/responses, generate requests and verify responses
[3ee626e]316 </para>
[546b042]317 <indexterm zone="gnutls ocsptool">
318 <primary sortas="b-ocsptool">ocsptool</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="p11tool">
324 <term><command>p11tool</command></term>
325 <listitem>
[3ee626e]326 <para>
327 is a program that allows handling data from PKCS #11 smart cards
[4c24eb0a]328 and security modules
[3ee626e]329 </para>
[546b042]330 <indexterm zone="gnutls p11tool">
331 <primary sortas="b-p11tool">p11tool</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
[d5404360]336 <varlistentry id="psktool">
337 <term><command>psktool</command></term>
338 <listitem>
[3ee626e]339 <para>
[4c24eb0a]340 is a simple program that generates random keys for use with TLS-PSK
[3ee626e]341 </para>
[d5404360]342 <indexterm zone="gnutls psktool">
343 <primary sortas="b-psktool">psktool</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="srptool">
349 <term><command>srptool</command></term>
350 <listitem>
[3ee626e]351 <para>
352 is a simple program that emulates the programs in the Stanford
[4c24eb0a]353 SRP (Secure Remote Password) libraries using GnuTLS
[3ee626e]354 </para>
[d5404360]355 <indexterm zone="gnutls srptool">
356 <primary sortas="b-srptool">srptool</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="libgnutls">
[73d97caf]362 <term><filename class="libraryfile">libgnutls.so</filename></term>
[d5404360]363 <listitem>
[3ee626e]364 <para>
[4c24eb0a]365 contains the core API functions and X.509 certificate API functions
[3ee626e]366 </para>
[d5404360]367 <indexterm zone="gnutls libgnutls">
[5eaf9af8]368 <primary sortas="c-libgnutls">libgnutls.so</primary>
[d5404360]369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 </variablelist>
374
375 </sect2>
376
377</sect1>
Note: See TracBrowser for help on using the repository browser.