[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 |
|
---|
| 7 | <!ENTITY gnutls-download-http "http://www.gnu.org/software/gnutls/releases/gnutls-&gnutls-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gnutls-download-ftp "ftp://ftp.gnutls.org/pub/gnutls/gnutls-&gnutls-version;.tar.bz2">
|
---|
| 9 | <!ENTITY gnutls-md5sum "73da68a4248d34c4d38491ce2119af0f">
|
---|
| 10 | <!ENTITY gnutls-size "4.2 MB">
|
---|
| 11 | <!ENTITY gnutls-buildsize "49 MB">
|
---|
| 12 | <!ENTITY gnutls-time "0.5 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gnutls" xreflabel="GnuTLS-&gnutls-version;">
|
---|
| 16 | <?dbhtml filename="gnutls.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GnuTLS-&gnutls-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gnutls">
|
---|
| 26 | <primary sortas="a-GnuTLS">GnuTLS</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GnuTLS</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>GnuTLS</application> package contains a library and
|
---|
| 33 | userspace tools which provide a secure layer over a reliable transport
|
---|
| 34 | layer. Currently the <application>GnuTLS</application> library implements
|
---|
| 35 | the proposed standards by the IETF's TLS working group. Quoting from the
|
---|
| 36 | TLS protocol specification:</para>
|
---|
| 37 |
|
---|
| 38 | <para><quote>The TLS protocol provides communications privacy over the
|
---|
| 39 | Internet. The protocol allows client/server applications to communicate in
|
---|
| 40 | a way that is designed to prevent eavesdropping, tampering, or message
|
---|
| 41 | forgery.</quote></para>
|
---|
| 42 |
|
---|
| 43 | <para><application>GnuTLS</application> provides support for TLS 1.1, TLS
|
---|
| 44 | 1.0 and SSL 3.0 protocols, TLS extensions, including server name and max
|
---|
| 45 | record size. Additionally, the library supports authentication using the
|
---|
| 46 | SRP protocol, X.509 certificates and OpenPGP keys, along with support for
|
---|
| 47 | the TLS Pre-Shared-Keys (PSK) extension, the Inner Application (TLS/IA)
|
---|
| 48 | extension and X.509 and OpenPGP certificate handling.</para>
|
---|
| 49 |
|
---|
| 50 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 51 | <itemizedlist spacing="compact">
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download (HTTP): <ulink url="&gnutls-download-http;"/></para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download (FTP): <ulink url="&gnutls-download-ftp;"/></para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Download MD5 sum: &gnutls-md5sum;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Download size: &gnutls-size;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Estimated disk space required: &gnutls-buildsize;</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Estimated build time: &gnutls-time;</para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">GnuTLS Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required"><xref linkend="libgcrypt"/></para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional"><xref linkend="gtk-doc"/>,
|
---|
| 79 | <ulink url="http://www.gnu.org/software/gnutls/download.html">OpenCDK</ulink>,
|
---|
| 80 | <ulink url="http://www.gnu.org/software/gnutls/download.html">Tiny ASN.1</ulink>,
|
---|
| 81 | <!-- <ulink url="http://platon.sk/projects/libcfg+">libcfg+</ulink>, -->
|
---|
| 82 | <ulink url="http://webscripts.softpedia.com/script/Development-Scripts-js/C-C-Library/libcfg--26570.html">libcfg+</ulink>,
|
---|
| 83 | <xref linkend="LZO"/>, and
|
---|
| 84 | <ulink url="http://valgrind.org/">Valgrind</ulink> (used during the test suite)</para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional Debugging Libraries</bridgehead>
|
---|
| 87 | <para role="optional"><ulink url="http://dmalloc.com/">Dmalloc</ulink> and
|
---|
| 88 | <ulink url="http://perens.com/FreeSoftware/ElectricFence/">Electric Fence</ulink></para>
|
---|
| 89 |
|
---|
| 90 | <para condition="html" role="usernotes">User Notes:
|
---|
| 91 | <ulink url="&blfs-wiki;/gnutls"/></para>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of GnuTLS</title>
|
---|
| 97 |
|
---|
| 98 | <para>Install <application>GnuTLS</application> by running the
|
---|
| 99 | following commands:</para>
|
---|
| 100 |
|
---|
| 101 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 105 |
|
---|
| 106 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 107 | user:</para>
|
---|
| 108 |
|
---|
| 109 | <screen role="root"><userinput>make install &&
|
---|
| 110 |
|
---|
| 111 | install -v -m755 -d /usr/share/doc/gnutls-&gnutls-version;/reference &&
|
---|
| 112 | install -v -m644 doc/reference/html/* \
|
---|
| 113 | /usr/share/doc/gnutls-&gnutls-version;/reference &&
|
---|
| 114 | install -v -m644 doc/*.{html,png,eps,pdf,ps} \
|
---|
| 115 | /usr/share/doc/gnutls-&gnutls-version;</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Libraries</segtitle>
|
---|
| 125 | <segtitle>Installed Directory</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>certtool, gnutls-cli, gnutls-cli-debug, gnutls-serv,
|
---|
| 129 | libgnutls-config, libgnutls-extra-config, psktool, and srptool</seg>
|
---|
| 130 | <seg>libgnutls.{so,a}, libgnutls-extra.{so,a},
|
---|
| 131 | libgnutls-openssl.{so,a}, and libgnutlsxx.{so,a}</seg>
|
---|
| 132 | <seg>/usr/include/gnutls and
|
---|
| 133 | /usr/share/doc/gnutls-&gnutls-version;</seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="certtool">
|
---|
| 143 | <term><command>certtool</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>is used to generate X.509 certificates, certificate requests,
|
---|
| 146 | and private keys.</para>
|
---|
| 147 | <indexterm zone="gnutls certtool">
|
---|
| 148 | <primary sortas="b-certtool">certtool</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="gnutls-cli">
|
---|
| 154 | <term><command>gnutls-cli</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>is a simple client program to set up a TLS connection to some
|
---|
| 157 | other computer.</para>
|
---|
| 158 | <indexterm zone="gnutls gnutls-cli">
|
---|
| 159 | <primary sortas="b-gnutls-cli">gnutls-cli</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="gnutls-cli-debug">
|
---|
| 165 | <term><command>gnutls-cli-debug</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>is a simple client program to set up a TLS connection to some
|
---|
| 168 | other computer and produces very verbose progress results.</para>
|
---|
| 169 | <indexterm zone="gnutls gnutls-cli-debug">
|
---|
| 170 | <primary sortas="b-gnutls-cli-debug">gnutls-cli-debug</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="gnutls-serv">
|
---|
| 176 | <term><command>gnutls-serv</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>is a simple server program that listens to incoming TLS
|
---|
| 179 | connections.</para>
|
---|
| 180 | <indexterm zone="gnutls gnutls-serv">
|
---|
| 181 | <primary sortas="b-gnutls-serv">gnutls-serv</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="gnutls-config">
|
---|
| 187 | <term><command>gnutls-config</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>is a utility used to configure and build applications based on
|
---|
| 190 | the gnutls(3) library. It can be used to query the C compiler and
|
---|
| 191 | linker flags which are required to correctly compile and link the
|
---|
| 192 | application against the gnutls(3) library.</para>
|
---|
| 193 | <indexterm zone="gnutls gnutls-config">
|
---|
| 194 | <primary sortas="b-gnutls-config">gnutls-config</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="gnutls-extra-config">
|
---|
| 200 | <term><command>gnutls-extra-config</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>is a utility used to configure and build applications based on
|
---|
| 203 | the gnutls-extra(3) library. It can be used to query the C compiler and
|
---|
| 204 | linker flags which are required to correctly compile and link the
|
---|
| 205 | application against the gnutls-extra(3) library.</para>
|
---|
| 206 | <indexterm zone="gnutls gnutls-extra-config">
|
---|
| 207 | <primary sortas="b-gnutls-extra-config">gnutls-extra-config</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="psktool">
|
---|
| 213 | <term><command>psktool</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>is a simple program that generates random keys for use with
|
---|
| 216 | TLS-PSK.</para>
|
---|
| 217 | <indexterm zone="gnutls psktool">
|
---|
| 218 | <primary sortas="b-psktool">psktool</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="srptool">
|
---|
| 224 | <term><command>srptool</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>is a simple program that emulates the programs in the Stanford
|
---|
| 227 | SRP (Secure Remote Password) libraries using GNU TLS.</para>
|
---|
| 228 | <indexterm zone="gnutls srptool">
|
---|
| 229 | <primary sortas="b-srptool">srptool</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="libgnutls">
|
---|
| 235 | <term><filename class='libraryfile'>libgnutls.{so,a}</filename></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>contains the core API functions and X.509 certificate
|
---|
| 238 | API functions.</para>
|
---|
| 239 | <indexterm zone="gnutls libgnutls">
|
---|
| 240 | <primary sortas="c-libgnutls">libgnutls.{so,a}</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
| 245 | </variablelist>
|
---|
| 246 |
|
---|
| 247 | </sect2>
|
---|
| 248 |
|
---|
| 249 | </sect1>
|
---|