source: postlfs/security/p11-kit.xml@ 70cc9b6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 70cc9b6 was 70cc9b6, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to nfs-utils-2.3.2.
Update to p11-kit-0.23.11.
Update to nss-3.37.1.
Update to stunnel-5.45.
Update to mariadb-10.3.7.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20174 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.2 KB
Line 
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 "https://github.com/p11-glue/p11-kit/releases/download/&p11-kit-version;/p11-kit-&p11-kit-version;.tar.gz">
8 <!ENTITY p11-kit-download-ftp " ">
9 <!ENTITY p11-kit-md5sum "1030cc2507bfd7531596b1715813888f">
10 <!ENTITY p11-kit-size "1.2 MB">
11 <!ENTITY p11-kit-buildsize "46 MB (add 159 MB for tests)">
12 <!ENTITY p11-kit-time "0.4 SBU (add 0.6 SBU for tests)">
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
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.
35 </para>
36
37 &lfs82_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&p11-kit-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&p11-kit-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &p11-kit-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &p11-kit-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &p11-kit-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &p11-kit-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">p11-kit Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Recommended</bridgehead>
76 <para role="recommended">
77 <xref linkend="make-ca"/> and
78 <xref linkend="libtasn1"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="nss"/>,
84 <xref linkend="gtk-doc"/> and
85 <xref linkend="libxslt"/>
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/p11-kit"/>
90 </para>
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of p11-kit</title>
95
96 <para>
97 Install <application>p11-kit</application> by running the following
98 commands:
99 </para>
100
101<screen><userinput>./configure --prefix=/usr \
102 --sysconfdir=/etc \
103 --with-trust-paths=/etc/pki/anchors &amp;&amp;
104make</userinput></screen>
105
106 <para>
107 To test the results, issue: <command>make check</command>.
108 </para>
109
110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
113
114<screen role="root"><userinput>make install</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para>
122 <parameter>--with-trust-paths=/etc/pki/anchors</parameter>: this switch
123 sets the location of trusted certificates used by libp11-kit.so.
124 </para>
125
126 <para>
127 <option>--with-hash-impl=freebl</option>: Use this switch if you want to
128 use the Freebl library from <application>NSS</application> for SHA1 and
129 MD5 hashing.
130 </para>
131
132 <para>
133 <option>--enable-doc</option>: Use this switch if you have installed
134 <xref linkend="gtk-doc"/> and <xref linkend="libxslt"/> and wish to
135 rebuild the documentation and generate manual pages.
136 </para>
137
138 </sect2>
139
140 <sect2 role="configuration">
141 <title>Configuring p11-kit</title>
142
143 <para>The <application>p11-kit</application> trust module
144 (<filename>/usr/lib/pkcs11/p11-kit-trust.so</filename>) can be used as a
145 drop-in replacement for <filename>/usr/lib/libnssckbi.so</filename> to
146 transparently make the system CAs available to
147 <application>NSS</application> aware applications, rather than the static
148 list provided by <filename>/usr/lib/libnssckbi.so</filename>. As the
149 <systemitem class="username">root</systemitem> user, execute the following
150 commands:</para>
151
152<screen role="root"><userinput>if [ -e /usr/lib/libnssckbi.so ]; then
153 readlink /usr/lib/libnssckbi.so ||
154 rm -v /usr/lib/libnssckbi.so &amp;&amp;
155 ln -sfv ./pkcs11/p11-kit-trust.so /usr/lib/libnssckbi.so
156fi</userinput></screen>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Program</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 p11-kit and trust
171 </seg>
172 <seg>
173 libp11-kit.so and p11-kit-proxy.so
174 </seg>
175 <seg>
176 /etc/pkcs11,
177 /usr/include/p11-kit-1,
178 /usr/lib/{p11-kit,pkcs11},
179 /usr/share/gtk-doc/html/p11-kit, and
180 /usr/share/p11-kit
181 </seg>
182 </seglistitem>
183 </segmentedlist>
184
185 <variablelist>
186 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
187 <?dbfo list-presentation="list"?>
188 <?dbhtml list-presentation="table"?>
189
190 <varlistentry id="p11-kit-prog">
191 <term><command>p11-kit</command></term>
192 <listitem>
193 <para>
194 is a command line tool that can be used to perform operations
195 on PKCS#11 modules configured on the system.
196 </para>
197 <indexterm zone="p11-kit p11-kit-prog">
198 <primary sortas="b-p11-kit">p11-kit</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="trust">
204 <term><command>trust</command></term>
205 <listitem>
206 <para>
207 is a command line tool to examine and modify the shared trust
208 policy store.
209 </para>
210 <indexterm zone="p11-kit trust">
211 <primary sortas="b-trust">trust</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216
217 <varlistentry id="libp11-kit">
218 <term><filename class="libraryfile">libp11-kit.so</filename></term>
219 <listitem>
220 <para>
221 contains functions used to coordinate initialization and
222 finalization of any PKCS#11 module.
223 </para>
224 <indexterm zone="p11-kit libp11-kit">
225 <primary sortas="c-libp11-kit">libp11-kit.so</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="p11-kit-proxy">
231 <term><filename class="libraryfile">p11-kit-proxy.so</filename></term>
232 <listitem>
233 <para>
234 is the PKCS#11 proxy module.
235 </para>
236 <indexterm zone="p11-kit p11-kit-proxy">
237 <primary sortas="c-p11-kit-proxy">p11-kit-proxy.so</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 </variablelist>
243
244 </sect2>
245
246</sect1>
Note: See TracBrowser for help on using the repository browser.