Re: How to build OpenSC/libp11 ?

Bernd Eckenfels <[email protected]>
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <HE1PR08MB27956281BF950E9BB80F2FA8FF9B0@HE1PR08MB2795.eurprd08.prod.outlook.com>
BTW, SafeNet offers their own PKCS#11 library, I am not sure why you would need the opensc version. Look for libCryptoki2_64.so

I would expect Opensc to only work with Aladin Tokens but not with (networked) HSMs.

Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
From: Jana Nguyen <[email protected]>
Sent: Friday, August 25, 2017 1:54:12 AM
To: Ben Cottrell
Cc: [email protected]
Subject: Re: [Opensc-devel] How to build OpenSC/libp11 ?

Hi Ben,

You're correct, it generated libp11.so but NOT libpkcs11.so under /usr/local/lib

drwxr-x--- 2 root root   4096 Aug 24 20:37 pkgconfig
-rwxr-xr-x 1 root root 290953 Aug 24 20:37 libp11.so.2.4.7
lrwxrwxrwx 1 root root     15 Aug 24 20:37 libp11.so.2 -> libp11.so.2.4.7
lrwxrwxrwx 1 root root     15 Aug 24 20:37 libp11.so -> libp11.so.2.4.7
-rwxr-xr-x 1 root root    938 Aug 24 20:37 libp11.la<http://libp11.la>
-rw-r--r-- 1 root root 552282 Aug 24 20:37 libp11.a

Ok, so my understanding is I should get OpenSSL engine?  If so, can you point me to the rpm or release?



On Thu, Aug 24, 2017 at 4:24 PM, Ben Cottrell <[email protected]<mailto:[email protected]>> wrote:
Hi Jana,

On Thu, 24 Aug 2017 16:11:24 -0700, Jana Nguyen wrote:
> It seems running ./configure && make && sudo make install
>
> Did not generate me the:
>
> opensc-pkcs11.so and libpkcs11.so

What *did* it generate? The openssl engine is called "pkcs11.so" when
I build on Linux. I'm guessing if you don't tell the configure script
any different, it'll end up in /usr/local/lib.

If you're wanting to use it with openssl, you don't want "libp11.so" or
"libpkcs11.so" -- those are lower level libraries that are part of the
OpenSC libp11 project, they're not the OpenSSL dynamically-loadable
engine. The OpenSSL engine is "pkcs11.so".

        ~Ben

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensc-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/opensc-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.