hw/usb/ccid: remove references to NSS
The NSS package was previously pre-requisite for building CCID related
features, however, this became obsolete when the libcacard library was
spun off to a separate project:
commit 7b02f5447c
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Sun Aug 30 11:48:40 2015 +0200
libcacard: use the standalone project
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210623142245.307776-2-berrange@redhat.com>
Message-Id: <20210709143005.1554-10-alex.bennee@linaro.org>
This commit is contained in:
parent
b92da9acb1
commit
51f5c849c1
12
.travis.yml
12
.travis.yml
@ -27,6 +27,7 @@ addons:
|
|||||||
- libattr1-dev
|
- libattr1-dev
|
||||||
- libbrlapi-dev
|
- libbrlapi-dev
|
||||||
- libcap-ng-dev
|
- libcap-ng-dev
|
||||||
|
- libcacard-dev
|
||||||
- libgcc-7-dev
|
- libgcc-7-dev
|
||||||
- libgnutls28-dev
|
- libgnutls28-dev
|
||||||
- libgtk-3-dev
|
- libgtk-3-dev
|
||||||
@ -34,7 +35,6 @@ addons:
|
|||||||
- liblttng-ust-dev
|
- liblttng-ust-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libnfs-dev
|
- libnfs-dev
|
||||||
- libnss3-dev
|
|
||||||
- libpixman-1-dev
|
- libpixman-1-dev
|
||||||
- libpng-dev
|
- libpng-dev
|
||||||
- librados-dev
|
- librados-dev
|
||||||
@ -129,6 +129,7 @@ jobs:
|
|||||||
- libaio-dev
|
- libaio-dev
|
||||||
- libattr1-dev
|
- libattr1-dev
|
||||||
- libbrlapi-dev
|
- libbrlapi-dev
|
||||||
|
- libcacard-dev
|
||||||
- libcap-ng-dev
|
- libcap-ng-dev
|
||||||
- libgcrypt20-dev
|
- libgcrypt20-dev
|
||||||
- libgnutls28-dev
|
- libgnutls28-dev
|
||||||
@ -137,7 +138,6 @@ jobs:
|
|||||||
- liblttng-ust-dev
|
- liblttng-ust-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libnfs-dev
|
- libnfs-dev
|
||||||
- libnss3-dev
|
|
||||||
- libpixman-1-dev
|
- libpixman-1-dev
|
||||||
- libpng-dev
|
- libpng-dev
|
||||||
- librados-dev
|
- librados-dev
|
||||||
@ -163,6 +163,7 @@ jobs:
|
|||||||
- libaio-dev
|
- libaio-dev
|
||||||
- libattr1-dev
|
- libattr1-dev
|
||||||
- libbrlapi-dev
|
- libbrlapi-dev
|
||||||
|
- libcacard-dev
|
||||||
- libcap-ng-dev
|
- libcap-ng-dev
|
||||||
- libgcrypt20-dev
|
- libgcrypt20-dev
|
||||||
- libgnutls28-dev
|
- libgnutls28-dev
|
||||||
@ -171,7 +172,6 @@ jobs:
|
|||||||
- liblttng-ust-dev
|
- liblttng-ust-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libnfs-dev
|
- libnfs-dev
|
||||||
- libnss3-dev
|
|
||||||
- libpixman-1-dev
|
- libpixman-1-dev
|
||||||
- libpng-dev
|
- libpng-dev
|
||||||
- librados-dev
|
- librados-dev
|
||||||
@ -196,6 +196,7 @@ jobs:
|
|||||||
- libaio-dev
|
- libaio-dev
|
||||||
- libattr1-dev
|
- libattr1-dev
|
||||||
- libbrlapi-dev
|
- libbrlapi-dev
|
||||||
|
- libcacard-dev
|
||||||
- libcap-ng-dev
|
- libcap-ng-dev
|
||||||
- libgcrypt20-dev
|
- libgcrypt20-dev
|
||||||
- libgnutls28-dev
|
- libgnutls28-dev
|
||||||
@ -204,7 +205,6 @@ jobs:
|
|||||||
- liblttng-ust-dev
|
- liblttng-ust-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libnfs-dev
|
- libnfs-dev
|
||||||
- libnss3-dev
|
|
||||||
- libpixman-1-dev
|
- libpixman-1-dev
|
||||||
- libpng-dev
|
- libpng-dev
|
||||||
- librados-dev
|
- librados-dev
|
||||||
@ -238,6 +238,7 @@ jobs:
|
|||||||
apt_packages:
|
apt_packages:
|
||||||
- libaio-dev
|
- libaio-dev
|
||||||
- libattr1-dev
|
- libattr1-dev
|
||||||
|
- libcacard-dev
|
||||||
- libcap-ng-dev
|
- libcap-ng-dev
|
||||||
- libgnutls28-dev
|
- libgnutls28-dev
|
||||||
- libiscsi-dev
|
- libiscsi-dev
|
||||||
@ -245,7 +246,6 @@ jobs:
|
|||||||
- liblzo2-dev
|
- liblzo2-dev
|
||||||
- libncurses-dev
|
- libncurses-dev
|
||||||
- libnfs-dev
|
- libnfs-dev
|
||||||
- libnss3-dev
|
|
||||||
- libpixman-1-dev
|
- libpixman-1-dev
|
||||||
- libsdl2-dev
|
- libsdl2-dev
|
||||||
- libsdl2-image-dev
|
- libsdl2-image-dev
|
||||||
@ -281,6 +281,7 @@ jobs:
|
|||||||
- libaio-dev
|
- libaio-dev
|
||||||
- libattr1-dev
|
- libattr1-dev
|
||||||
- libbrlapi-dev
|
- libbrlapi-dev
|
||||||
|
- libcacard-dev
|
||||||
- libcap-ng-dev
|
- libcap-ng-dev
|
||||||
- libgcrypt20-dev
|
- libgcrypt20-dev
|
||||||
- libgnutls28-dev
|
- libgnutls28-dev
|
||||||
@ -289,7 +290,6 @@ jobs:
|
|||||||
- liblttng-ust-dev
|
- liblttng-ust-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libnfs-dev
|
- libnfs-dev
|
||||||
- libnss3-dev
|
|
||||||
- libpixman-1-dev
|
- libpixman-1-dev
|
||||||
- libpng-dev
|
- libpng-dev
|
||||||
- librados-dev
|
- librados-dev
|
||||||
|
@ -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.
|
The cryptographic functions and access to the physical card is done via the
|
||||||
|
libcacard library, whose development package must be installed prior to
|
||||||
Installing NSS:
|
building QEMU:
|
||||||
|
|
||||||
In redhat/fedora:
|
In redhat/fedora:
|
||||||
yum install nss-devel
|
yum install libcacard-devel
|
||||||
In ubuntu/debian:
|
In ubuntu:
|
||||||
apt-get install libnss3-dev
|
apt-get install libcacard-dev
|
||||||
(not tested on ubuntu)
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
@ -93,7 +93,6 @@ ENV PACKAGES \
|
|||||||
mingw64-SDL2 \
|
mingw64-SDL2 \
|
||||||
ncurses-devel \
|
ncurses-devel \
|
||||||
nettle-devel \
|
nettle-devel \
|
||||||
nss-devel \
|
|
||||||
numactl-devel \
|
numactl-devel \
|
||||||
perl \
|
perl \
|
||||||
perl-Test-Harness \
|
perl-Test-Harness \
|
||||||
|
@ -28,6 +28,7 @@ ENV PACKAGES \
|
|||||||
libasan \
|
libasan \
|
||||||
libattr-devel \
|
libattr-devel \
|
||||||
libblockdev-mpath-devel \
|
libblockdev-mpath-devel \
|
||||||
|
libcacard-devel \
|
||||||
libcap-ng-devel \
|
libcap-ng-devel \
|
||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
libepoxy-devel \
|
libepoxy-devel \
|
||||||
@ -82,7 +83,6 @@ ENV PACKAGES \
|
|||||||
ncurses-devel \
|
ncurses-devel \
|
||||||
nettle-devel \
|
nettle-devel \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
nss-devel \
|
|
||||||
numactl-devel \
|
numactl-devel \
|
||||||
perl \
|
perl \
|
||||||
perl-Test-Harness \
|
perl-Test-Harness \
|
||||||
|
@ -40,7 +40,6 @@ ENV PACKAGES \
|
|||||||
libncurses5-dev \
|
libncurses5-dev \
|
||||||
libncursesw5-dev \
|
libncursesw5-dev \
|
||||||
libnfs-dev \
|
libnfs-dev \
|
||||||
libnss3-dev \
|
|
||||||
libnuma-dev \
|
libnuma-dev \
|
||||||
libpixman-1-dev \
|
libpixman-1-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
|
@ -27,7 +27,6 @@ ENV PACKAGES \
|
|||||||
libncurses5-dev \
|
libncurses5-dev \
|
||||||
libncursesw5-dev \
|
libncursesw5-dev \
|
||||||
libnfs-dev \
|
libnfs-dev \
|
||||||
libnss3-dev \
|
|
||||||
libnuma-dev \
|
libnuma-dev \
|
||||||
libpixman-1-dev \
|
libpixman-1-dev \
|
||||||
librados-dev \
|
librados-dev \
|
||||||
|
@ -31,7 +31,6 @@ ENV PACKAGES flex bison \
|
|||||||
libncurses5-dev \
|
libncurses5-dev \
|
||||||
libncursesw5-dev \
|
libncursesw5-dev \
|
||||||
libnfs-dev \
|
libnfs-dev \
|
||||||
libnss3-dev \
|
|
||||||
libnuma-dev \
|
libnuma-dev \
|
||||||
libpixman-1-dev \
|
libpixman-1-dev \
|
||||||
librados-dev \
|
librados-dev \
|
||||||
|
Loading…
Reference in New Issue
Block a user