From c309e761e8a6d55b64fd14804ccdaaea683929ad Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Tue, 15 Sep 2015 12:41:01 +0200 Subject: manual: add smartcard channel section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add some basic instructions to setup smartcard channel Signed-off-by: Marc-André Lureau Acked-by: Christophe Fergeau --- docs/manual/manual.txt | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'docs') diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt index 60009b88..a66554ac 100644 --- a/docs/manual/manual.txt +++ b/docs/manual/manual.txt @@ -540,6 +540,60 @@ which are described when running remote-viewer with `--help-spice`. You may need additional services running in the client, such as the Spice USB Clerk service on Windows. +CAC smartcard redirection +========================= + +Spice has a dedicated channel for smartcard redirection, using +libcacard, which currently supports limited CAC emulation. + +You may consider redirecting your USB card reader instead. This is +easier to setup but will prevent from sharing the smartcard with both +the client and the remote simultaneously. + +libcacard is actually emulating a simple CAC card, sharing the card +and its certificates. It can successfully be used with the coolkey +PKCS#11 module. + +Configuration +------------- + +.Using virt-manager + +In the hardware details, click on "Add Hardware", then select +"Smartcard". Add a "passthrough" device type. + +.Using libvirt + +Setup a "passthrough" smartcard of type "spicevmc" on a CCID +controller: + +[source,xml] + + +
+ + +.Using QEMU + +With the qemu command line, you must add a USB CCID device, and a +"ccid-card-passthru" associated with a "spicevmc" channel with the +name "smartcard": + +[source,sh] +-device usb-ccid -chardev spicevmc,name=smartcard -device ccid-card-passthru,chardev=ccid + +Client +------ + +In order for the client certificates to be shared with the remote, you +need a NSS database configured to access the smartcard. Please look +for instructions on coolkey or NSS setup and make sure you certficates +can be listed with certutil. + +[NOTE] +Most Spice clients disable smartcard support by default, and +need `--spice-smartcard` or similar configuration. + Multiple monitor support ======================== -- cgit