Giter VIP home page Giter VIP logo

Comments (5)

damianofalcioni avatar damianofalcioni commented on June 1, 2024

Hi,
by default, the application is able to automatically identified in your system the presence of the following PKCS11 libraries (in windows): "incryptoki2.dll", "bit4ipki.dll", "bit4opki.dll", "bit4xpki.dll", "OCSCryptoki.dll", "asepkcs.dll", "SI_PKCS11.dll", "cmP11.dll", "cmP11_M4.dll", "IpmPki32.dll", "IPMpkiLC.dll", "IpmPkiLU.dll", "bit4cpki.dll", "bit4p11.dll", "asepkcs.dll", "PKCS11.dll", "eTPKCS11.dll", "SSC_PKCS11.dll", "inp11lib.dll", "opensc-pkcs11.dll".
Probably the "safenet ikey 2032" use its own PKCS11 dll. If you know the dll name (and installation path) you can add it via javascript using the following method before the signature:

websocket_smartcard_signer.addDll("your_dll_path");

Best regards,
Damiano

from websocket-smart-card-signer.

rajathirajan avatar rajathirajan commented on June 1, 2024

Thank you for your prompt reply. The Error was at line number 55 of SmartCardAccessJnaImpl.java

long[] mechLst = CE.GetMechanismList(slot);

It returns CKR exception from jacknji11 library

from websocket-smart-card-signer.

damianofalcioni avatar damianofalcioni commented on June 1, 2024

Did you loaded the correct DLL before?

What is the message in the exception?

from websocket-smart-card-signer.

rajathirajan avatar rajathirajan commented on June 1, 2024

Yes, I loaded the correct DLL (dkck201.dll).

The error message from signer was "No smartcards found supporting signing with mechanism RSA_PKCS using library"

CKRException 0xffffffff0000002 unknown CKR constant from jacknji11

from websocket-smart-card-signer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.