[691bb91] | 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 p11-kit-download-http "http://p11-glue.freedesktop.org/releases/p11-kit-&p11-kit-version;.tar.gz">
|
---|
| 8 | <!ENTITY p11-kit-download-ftp " ">
|
---|
[b9abcb5] | 9 | <!ENTITY p11-kit-md5sum "96f073270c489c9a594e1c9413f42db8">
|
---|
[1c14a239] | 10 | <!ENTITY p11-kit-size "972 KB">
|
---|
[b9abcb5] | 11 | <!ENTITY p11-kit-buildsize "64 MB (additional 6 MB for tests)">
|
---|
| 12 | <!ENTITY p11-kit-time "0.3 SBU (additional 0.1 SBU for tests)">
|
---|
[691bb91] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="p11-kit" xreflabel="p11-kit-&p11-kit-version;">
|
---|
| 16 | <?dbhtml filename="p11-kit.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>p11-kit-&p11-kit-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="p11-kit">
|
---|
| 26 | <primary sortas="a-p11-kit">p11-kit</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to p11-kit</title>
|
---|
| 31 |
|
---|
[70c0ef4] | 32 | <para>
|
---|
| 33 | The <application>p11-kit</application> package Provides a way to load and
|
---|
| 34 | enumerate PKCS #11 (a Cryptographic Token Interface Standard) modules.
|
---|
[691bb91] | 35 | </para>
|
---|
| 36 |
|
---|
[7c51f58] | 37 | &lfs77_checked;
|
---|
[691bb91] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[70c0ef4] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&p11-kit-download-http;"/>
|
---|
| 44 | </para>
|
---|
[691bb91] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[70c0ef4] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&p11-kit-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[691bb91] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[70c0ef4] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &p11-kit-md5sum;
|
---|
| 54 | </para>
|
---|
[691bb91] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[70c0ef4] | 57 | <para>
|
---|
| 58 | Download size: &p11-kit-size;
|
---|
| 59 | </para>
|
---|
[691bb91] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[70c0ef4] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &p11-kit-buildsize;
|
---|
| 64 | </para>
|
---|
[691bb91] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[70c0ef4] | 67 | <para>
|
---|
| 68 | Estimated build time: &p11-kit-time;
|
---|
| 69 | </para>
|
---|
[691bb91] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[70c0ef4] | 73 | <bridgehead renderas="sect3">p11-kit Dependencies</bridgehead>
|
---|
| 74 |
|
---|
[4c39aff] | 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
[d055428] | 77 | <xref linkend="cacerts"/>,
|
---|
| 78 | <xref linkend="libtasn1"/>, and
|
---|
| 79 | <xref linkend="libffi"/>
|
---|
[4c39aff] | 80 | </para>
|
---|
| 81 |
|
---|
[70c0ef4] | 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
[d055428] | 84 | <xref linkend="nss"/>,
|
---|
[4c39aff] | 85 | <xref linkend="gtk-doc"/> and
|
---|
| 86 | <xref linkend="libxslt"/>
|
---|
[70c0ef4] | 87 | </para>
|
---|
[691bb91] | 88 |
|
---|
[70c0ef4] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
| 90 | <ulink url="&blfs-wiki;/p11-kit"/>
|
---|
| 91 | </para>
|
---|
[691bb91] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of p11-kit</title>
|
---|
| 96 |
|
---|
[70c0ef4] | 97 | <para>
|
---|
| 98 | Install <application>p11-kit</application> by running the following
|
---|
| 99 | commands:
|
---|
| 100 | </para>
|
---|
[691bb91] | 101 |
|
---|
| 102 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
[70c0ef4] | 105 | <para>
|
---|
[248a536] | 106 | To test the results, issue: <command>make check</command>.
|
---|
[70c0ef4] | 107 | </para>
|
---|
[691bb91] | 108 |
|
---|
[70c0ef4] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[691bb91] | 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[d055428] | 120 | <para>
|
---|
| 121 | <option>--with-hash-impl=freebl</option>: Use this switch if you want to
|
---|
| 122 | use Freebl library from <application>NSS</application> for SHA1 and MD5
|
---|
| 123 | hashing.
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
[4c39aff] | 126 | <para>
|
---|
| 127 | <option>--enable-doc</option>: Use this switch if you have installed
|
---|
| 128 | <xref linkend="gtk-doc"/> and <xref linkend="libxslt"/> and wish to
|
---|
| 129 | rebuild the documentation and generate manual pages.
|
---|
| 130 | </para>
|
---|
[691bb91] | 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="content">
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
| 138 | <segtitle>Installed Program</segtitle>
|
---|
| 139 | <segtitle>Installed Libraries</segtitle>
|
---|
| 140 | <segtitle>Installed Directories</segtitle>
|
---|
| 141 |
|
---|
| 142 | <seglistitem>
|
---|
[70c0ef4] | 143 | <seg>
|
---|
[d055428] | 144 | p11-kit and trust
|
---|
[70c0ef4] | 145 | </seg>
|
---|
| 146 | <seg>
|
---|
[1c14a239] | 147 | libp11-kit.so and p11-kit-proxy.so
|
---|
[70c0ef4] | 148 | </seg>
|
---|
| 149 | <seg>
|
---|
| 150 | /etc/pkcs11,
|
---|
[4c39aff] | 151 | /usr/include/p11-kit-1,
|
---|
[a1f2d184] | 152 | /usr/lib/{p11-kit,pkcs11},
|
---|
[2955093] | 153 | /usr/share/gtk-doc/html/p11-kit, and
|
---|
[4c39aff] | 154 | /usr/share/p11-kit
|
---|
[70c0ef4] | 155 | </seg>
|
---|
[691bb91] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
| 158 |
|
---|
| 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
| 163 |
|
---|
[4c39aff] | 164 | <varlistentry id="p11-kit-prog">
|
---|
| 165 | <term><command>p11-kit</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>
|
---|
| 168 | is a command line tool that can be used to perform operations
|
---|
| 169 | on PKCS#11 modules configured on the system.
|
---|
| 170 | </para>
|
---|
| 171 | <indexterm zone="p11-kit p11-kit-prog">
|
---|
| 172 | <primary sortas="b-p11-kit">p11-kit</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
[691bb91] | 177 | <varlistentry id="libp11-kit">
|
---|
[8835dbde] | 178 | <term><filename class="libraryfile">libp11-kit.so</filename></term>
|
---|
[691bb91] | 179 | <listitem>
|
---|
[70c0ef4] | 180 | <para>
|
---|
[0d7900a] | 181 | contains functions used to coordinate initialization and
|
---|
[70c0ef4] | 182 | finalization of any PKCS#11 module.
|
---|
| 183 | </para>
|
---|
[691bb91] | 184 | <indexterm zone="p11-kit libp11-kit">
|
---|
| 185 | <primary sortas="c-libp11-kit">libp11-kit.so</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="p11-kit-proxy">
|
---|
[8835dbde] | 191 | <term><filename class="libraryfile">p11-kit-proxy.so</filename></term>
|
---|
[691bb91] | 192 | <listitem>
|
---|
[70c0ef4] | 193 | <para>
|
---|
| 194 | is the PKCS#11 proxy module.
|
---|
| 195 | </para>
|
---|
[691bb91] | 196 | <indexterm zone="p11-kit p11-kit-proxy">
|
---|
| 197 | <primary sortas="c-p11-kit-proxy">p11-kit-proxy.so</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | </variablelist>
|
---|
| 203 |
|
---|
| 204 | </sect2>
|
---|
| 205 |
|
---|
| 206 | </sect1>
|
---|