source: postlfs/security/p11-kit.xml@ 7fd2c27

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 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 7fd2c27 was 7fd2c27, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Tags, Tags, and More Tags!

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

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