Hi all,

I am currently trying to use smartcard with cryptlib using OpenSC on Linux.
pkcs11 OpenSC library is working OK (from openssl, gnutls, xca or
mozilla-nss and so on ...)

Object library are at /usr/lib/opensc-pkcs11.la and
/usr/lib/opensc-pkcs11.so from rpm opensc-0.12.2-8.1.1.i586, but
corresponding header are missing ...

In cryptklib, PKCS11 support is auto-detected like this in  tools/ccopts.sh :

        if [ -f /usr/include/pkcs11.h -o -f /usr/include/security/pkcs11.h -o \
                 -f /usr/include/opensc/pkcs11.h -o -f
/usr/local/include/pkcs11.h ] ; then

I have tried to bind cryptlib to openSC pkcs11 support on some linux
distros line Debian Squeeze, OpenSuze 12.1, 12.2 & 12.3, as well as
CentOS 6.2 & 6.3, but none of this distributions have pkcs11.h present
as tested above ...

I also have tried to rebuild all OpenSC environment from last sources
on those plateform, but I still don't find how to have PKCS11 support
autodetected by cryptlib tools/ccopts.sh

As a sample, here follows file list of a working OpenSC installation
on OpenSuze 12.3 (distro's RPM based install) :

I don't understand if this is a issue related to distros package
management where xyz-devel package including OpenSC pkcs11.h header is
missing or something else ...

Can you help ?

Best regards,
Fred MAISON

Attachment: OpenSC-OpenSuze.out
Description: Binary data

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com

Reply via email to