You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install openct-0.6.20 on CENTOS 7 following these instructions.
On the ./configure step I get this output:
`OpenCT has been configured with the following options:
Version: 0.6.20
Libraries: /usr/lib
doc support: no
api doc support: no usb support: no
pcsc support: no
non-privileged support: #
I'm concerned about the usb support because I need to initialize and use a Nitrokey HSM, which is a USB device.
I set the environment variables LIBUSB_CFLAGS and LIBUSB_LIBS manually, since pkg-config didn't find libusb... In /usr/lib I have libusb-1.0.so.0.1.0 (and a link to this library called libusb-1.0.so.0) and in /usr/include I have usb.h. Any ideas on what could be wrong?
I already installed OpenSC, but it is not recognizing the Nitrokey, I think that is what I need OpenCT for, right?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
As far as I remember libusb is not mandatory in latest versions of openct.
You should use openct-tool to list detected devices, make sure it is
that this device is actually supported... I do not see a reference in
openct, however, I do see reference in pcsc-lite which is more
supported these days.
Alon
Not to disagree with Alon (everything he says is true), but I also wanted to tell you why configure is not detecting your libusb. openct expects libusb 0.x, which is not common in distributions anymore.
Nitrokey seems to be a CCID device. There are instructions at nitrokey.com for configuring the pcsc libccid driver for nitrokey.
I'm trying to install openct-0.6.20 on CENTOS 7 following these instructions.
On the ./configure step I get this output:
`OpenCT has been configured with the following options:
Version: 0.6.20
Libraries: /usr/lib
doc support: no
api doc support: no
usb support: no
pcsc support: no
non-privileged support: #
Host: x86_64-unknown-linux-gnu
Compiler: gcc
Preprocessor flags: -DOPENCT_CONF_PATH=""$(sysconfdir)/openct.conf"" -DOPENCT_SOCKET_PATH=""$(OPENCT_SOCKET_PATH)"" -DOPENCT_MODULES_PATH=""$(ifddir)"" -DOPENCT_IFDHANDLER_PATH=""$(sbindir)/ifdhandler""
Compiler flags: -g -O2
Linker flags:
Libraries:
LIBUSB_CFLAGS: -I/usr/include
LIBUSB_LIBS: -L/usr/lib -lusb
PCSC_CFLAGS:
PCSC_LIBS:
bundledir:
ifddir: ${libdir}/ifd
udevdir:
hotplugdir:
daemon user: openctd
daemon groups: usb
`
I'm concerned about the usb support because I need to initialize and use a Nitrokey HSM, which is a USB device.
I set the environment variables LIBUSB_CFLAGS and LIBUSB_LIBS manually, since pkg-config didn't find libusb... In /usr/lib I have libusb-1.0.so.0.1.0 (and a link to this library called libusb-1.0.so.0) and in /usr/include I have usb.h. Any ideas on what could be wrong?
I already installed OpenSC, but it is not recognizing the Nitrokey, I think that is what I need OpenCT for, right?
Thanks in advance!
The text was updated successfully, but these errors were encountered: