Re: PKCS11 & cryptlib 3.3.3

Lloyd Parkes <[email protected]> Thu, 14 Feb 2013 20:44:58 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
On 14/02/2013, at 1:17 PM, Peter Gutmann <[email protected]> wrote:
> Fred <[email protected]> writes:
> 
>> Q2 : It seems there is no cryptlib function to enumerate pkcs11 devices.
> 
> There's no standard way to do this, you'll have to use the opensc tools to do
> it.
> 
>> Does strings like token label value returned by pkcs11-tool --module
>> /usr/lib/opensc-pkcs11.so
>> -L can be passed to cryptDeviceOpen ?
> 
> Yes, that should do it.

IIRC I was able to use "[Autodetect]" as a reliable device name while testing with OpenSC. 

Cheers,
Lloyd


_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.