|
@@ -34,15 +34,14 @@ reader and smart card (i.e. not backed by a physical device) using this device.
|
|
|
|
|
|
2. Building
|
|
2. Building
|
|
|
|
|
|
-The cryptographic functions and access to the physical card is done via NSS.
|
|
|
|
-
|
|
|
|
-Installing NSS:
|
|
|
|
|
|
+The cryptographic functions and access to the physical card is done via the
|
|
|
|
+libcacard library, whose development package must be installed prior to
|
|
|
|
+building QEMU:
|
|
|
|
|
|
In redhat/fedora:
|
|
In redhat/fedora:
|
|
- yum install nss-devel
|
|
|
|
-In ubuntu/debian:
|
|
|
|
- apt-get install libnss3-dev
|
|
|
|
- (not tested on ubuntu)
|
|
|
|
|
|
+ yum install libcacard-devel
|
|
|
|
+In ubuntu:
|
|
|
|
+ apt-get install libcacard-dev
|
|
|
|
|
|
Configuring and building:
|
|
Configuring and building:
|
|
./configure --enable-smartcard && make
|
|
./configure --enable-smartcard && make
|
|
@@ -51,7 +50,7 @@ Configuring and building:
|
|
3. Using ccid-card-emulated with hardware
|
|
3. Using ccid-card-emulated with hardware
|
|
|
|
|
|
Assuming you have a working smartcard on the host with the current
|
|
Assuming you have a working smartcard on the host with the current
|
|
-user, using NSS, qemu acts as another NSS client using ccid-card-emulated:
|
|
|
|
|
|
+user, using libcacard, QEMU acts as another client using ccid-card-emulated:
|
|
|
|
|
|
qemu -usb -device usb-ccid -device ccid-card-emulated
|
|
qemu -usb -device usb-ccid -device ccid-card-emulated
|
|
|
|
|