Giter VIP home page Giter VIP logo

Comments (4)

ftbarata avatar ftbarata commented on June 13, 2024

@danni , I guess the problem is not python version. I've installed the pytho 3.5.4 and I'm getting the same problem TokenNotRecognized exception. It was working before. I tried to run it in a vbox debian stretch , to make this enviroment as identical as possible to the physical host running debian stretch,wich is working.
If I run pkcs11-tool --module /usr/lib/libaetpkcss.so.3 -T I get:

Slot 0 (0xcd01): SafeNet eToken 5100 [Main Interface] 00 00
     (token not recognized)

Any ideas?

from python-pkcs11.

danni avatar danni commented on June 13, 2024

Yep, that seems like an issue in SafeNet. Is the token initialised?

from python-pkcs11.

ftbarata avatar ftbarata commented on June 13, 2024

Hi @danni ,
I did:
pkcs11-tool -l --module /usr/lib/libaetpkcss.so.3 -T and before it asks for the pin, I get:

Available slots:
Slot 0(0xcd01): AKS ifdh [Main Interface] 00 00
  (token not recognized)
error: PKCS11 function C_OpenSession failed: rv = CKR_SLOT_ID_INVALID(0x3)

Aborting

What do you suggest? I'm running it in a virtualbox on a Windows host. (don't know if it makes any difference)

from python-pkcs11.

danni avatar danni commented on June 13, 2024

I don't know, but it's certainly belong the scope of python-pkcs11. You should take the problems up with your PKCS#11 vendor.

from python-pkcs11.

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.