[gnutls-help] Getting Object Type From Usb Token

Mandar Joshi emailmandar at gmail.com
Wed Feb 1 10:41:50 CET 2017


>
> This is an opaque pointer, you don't have direct access to it. You can
> access it via functions like gnutls_pkcs11_obj_get_type().
>

Thanks. That's what I was looking for.

I have everything working with GnuTLS under Linux (Fedora 25 x86_64).

Is it possible to use GnuTLS with USB Tokens under Windows ?

I have OpenSC and GnuTLS installed under Windows 7. With OpenSC
installed, I can see my ePass2003 USB Token with "pkcs11-tool.exe -L"

But p11tool doesn't find them.
---------------------------------------------------------------------------------------------------------
C:\Downloads\gnutls-3.4.9-w32\bin>p11tool.exe --list-all
warning: no token URL was provided for this operation; the available tokens are
---------------------------------------------------------------------------------------------------------

I tried setting the provider option to opensc-pkcs11.dll but that gave
me this error

--------------------------------------------------------------------------------------------------------------
C:\Downloads\gnutls-3.4.9-w32\bin>p11tool.exe
--provider=opensc-pkcs11.dll --list-all
p11-kit: couldn't load module: /home/nmav/cvs/gnutls/win32/win32/lib/pkcs11\open
sc-pkcs11.dll: The specified module could not be found.
--------------------------------------------------------------------------------------------------------------

Is there some config file I am missing?

Thanks

Mandar Joshi



More information about the Gnutls-help mailing list