Giter VIP home page Giter VIP logo

Comments (4)

woodruffw avatar woodruffw commented on June 16, 2024 2

JFYI: I'm experimenting with this library on the Nitrokey HSM 2, which uses a CardConnect SmartCard-HSM internally.

I'll let you know if I run into any problems (and should be able to fix and upstream many of them myself 🙂).

from rust-pkcs11.

mheese avatar mheese commented on June 16, 2024

TL;DR: yes, just point to that module and you are good to go.

That is the general idea of course. SoftHSM is only used as a testing harness as it becomes very impractical/impossible for me to test against different hardware.

The team around SoftHSM has done a very good job to implement the PKCS#11 standard according to the required business logic and it goes far beyond simple mocking. So it is ideal to test this rust library.

In my experience developing in general against SoftHSM first gives you confidence into your own HSM dependant code, however, moving to a "real" HSM usually always requires additional considerations that one often does not think about. Nonetheless it is a good starting point.

Also, the behaviour between different HSMs is often very different and also depends on the configuration of the HSM itself.

To complicate things even further: not al HSMs have very "clean" implementations of pkcs11 themselves, so things that work and should work with one device, are not guaranteed to work on another and vice versa.

Does that answer your question?

from rust-pkcs11.

mheese avatar mheese commented on June 16, 2024

btw, if you are successful in using this HSM with this library, please shoot me a note. I'd like to start to keep a compatibility list.

from rust-pkcs11.

mheese avatar mheese commented on June 16, 2024

Closing this now. Please reopen if this did not answer your question.

from rust-pkcs11.

Related Issues (17)

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.