diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-05-26 10:30:12 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-05-26 11:26:10 +0200 |
commit | 036c8fc6492b13eacca7433ca44b91b83abeb961 (patch) | |
tree | 52d7952a3bd64cea419b260cff0f1d1459be7ade | |
parent | dd673f20e1ab4916f7565fe055b09433aa88a9b0 (diff) |
doc: Clarify p11-kit server documentation
-rw-r--r-- | doc/manual/p11-kit.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/manual/p11-kit.xml b/doc/manual/p11-kit.xml index 0c813b8..cd0e5d6 100644 --- a/doc/manual/p11-kit.xml +++ b/doc/manual/p11-kit.xml @@ -94,11 +94,11 @@ $ p11-kit list-modules <para>Run a server process that exposes PKCS#11 module remotely.</para> <programlisting> -$ p11-kit server /path/to/pkcs11-module.so -$ p11-kit server pkcs11:token-uri +$ p11-kit server pkcs11:token1 pkcs11:token2 ... +$ p11-kit server --provider /path/to/pkcs11-module.so pkcs11:token1 pkcs11:token2 ... </programlisting> - <para>This launches a server that exposes the given PKCS#11 module or token on a local socket. To access the socket, use <literal>p11-kit-client.so</literal> module. The server address and PID are printed as a shell-script snippet which sets the appropriate environment variable: <literal>P11_KIT_SERVER_ADDRESS</literal> and <literal>P11_KIT_SERVER_PID</literal>.</para> + <para>This launches a server that exposes the given PKCS#11 tokens on a local socket. The tokens must belong to the same module. To access the socket, use <literal>p11-kit-client.so</literal> module. The server address and PID are printed as a shell-script snippet which sets the appropriate environment variable: <literal>P11_KIT_SERVER_ADDRESS</literal> and <literal>P11_KIT_SERVER_PID</literal>.</para> </refsect1> @@ -119,12 +119,14 @@ $ p11-kit server pkcs11:token-uri <programlisting> $ p11-kit remote /path/to/pkcs11-module.so +$ p11-kit remote pkcs11:token1 pkcs11:token2 ... </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> + <para>This exposes the given PKCS#11 module or tokens over standard input and output. Those two forms, whether to expose a module or tokens, are mutually exclusive and if the second form is used, the tokens must belong to the same module.</para> </refsect1> <refsect1 id="p11-kit-bugs"> |