From 036c8fc6492b13eacca7433ca44b91b83abeb961 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 26 May 2017 10:30:12 +0200 Subject: doc: Clarify p11-kit server documentation --- doc/manual/p11-kit.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc') 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 Run a server process that exposes PKCS#11 module remotely. -$ 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 ... - This launches a server that exposes the given PKCS#11 module or token on a local socket. To access the socket, use p11-kit-client.so module. The server address and PID are printed as a shell-script snippet which sets the appropriate environment variable: P11_KIT_SERVER_ADDRESS and P11_KIT_SERVER_PID. + 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 p11-kit-client.so module. The server address and PID are printed as a shell-script snippet which sets the appropriate environment variable: P11_KIT_SERVER_ADDRESS and P11_KIT_SERVER_PID. @@ -119,12 +119,14 @@ $ p11-kit server pkcs11:token-uri $ p11-kit remote /path/to/pkcs11-module.so +$ p11-kit remote pkcs11:token1 pkcs11:token2 ... This is not meant to be run directly from a terminal. But rather in a option in a pkcs11.conf5 file. + 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. -- cgit v1.1