From: Alon Bar-L. <alo...@gm...> - 2013-03-28 14:08:58
|
pkcs11 headers are specification. you can either use rsa security headers or the scute free alternative. On Thu, Mar 28, 2013 at 3:58 PM, Fred <fre...@gm...> wrote: > 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 > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > |