summaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-06-24 13:34:20 +0200
committerStef Walter <stef@thewalter.net>2014-07-08 08:59:18 +0200
commit17ea60eaf9d1b4eab9546d6dfc7e7afe83779f91 (patch)
treee0b68748d1262820b8943d7c86ee27b87d313a32 /doc/manual
parentd4289fbe420e19882d94827bd82a667a0132fccf (diff)
p11-kit: Cleanup and add documentation for 'remote' option
https://bugs.freedesktop.org/show_bug.cgi?id=54105
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/p11-kit.xml15
-rw-r--r--doc/manual/pkcs11.conf.xml13
2 files changed, 28 insertions, 0 deletions
diff --git a/doc/manual/p11-kit.xml b/doc/manual/p11-kit.xml
index bc618f9..be3f982 100644
--- a/doc/manual/p11-kit.xml
+++ b/doc/manual/p11-kit.xml
@@ -93,6 +93,21 @@ $ p11-kit list-modules
for more information</para>
</refsect1>
+<refsect1 id="p11-kit-remote">
+ <title>Remote</title>
+
+ <para>Run a PKCS#11 module remotely.</para>
+
+<programlisting>
+$ p11-kit remote /path/to/pkcs11-module.so
+</programlisting>
+
+ <para>This is not meant to be run directly from a terminal. But rather in a
+ <option>remote</option> option in a
+ <citerefentry><refentrytitle>pkcs11.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ file.</para>
+</refsect1>
+
<refsect1 id="p11-kit-bugs">
<title>Bugs</title>
<para>
diff --git a/doc/manual/pkcs11.conf.xml b/doc/manual/pkcs11.conf.xml
index 0b61b6f..2617677 100644
--- a/doc/manual/pkcs11.conf.xml
+++ b/doc/manual/pkcs11.conf.xml
@@ -155,6 +155,19 @@ x-custom : text
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>remote:</option></term>
+ <listitem>
+ <para>Instead of loading the PKCS#11 module locally, run the module
+ remotely.</para>
+ <para>Specify a command to run, prefixed with <literal>|</literal> a pipe.
+ The command must speak the p11-kit remoting protocol on its standard in
+ and standard out. For example:</para>
+<programlisting>
+remote: |ssh user@remote p11-kit remote /path/to/module.so
+</programlisting>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>trust-policy:</option></term>
<listitem>
<para>Set to <literal>yes</literal> to use use this module as a source