Giter Club home page Giter Club logo

Comments (5)

Jakuje avatar Jakuje commented on July 18, 2024 1

Recent NSS softokn fortunately supports also the environment variable NSS_LIB_PARAMS that can be used instead of the C_Initialize arguments:

nss-dev/nss@c0bbdc4

Unfortunately, this is not much documented otherwise than in the code, but if you will need some help setting this up, please let me know:

https://github.com/nss-dev/nss/blob/master/lib/softoken/pkcs11.c#L3344

I think it should be in version since NSS 3.95.

from opensc.

space88man avatar space88man commented on July 18, 2024 1

https://github.com/nss-dev/nss/blob/master/lib/softoken/pkcs11.c#L3344

I think it should be in version since NSS 3.95.

Thank you! That works for me on Fedora 39.

from opensc.

space88man avatar space88man commented on July 18, 2024 1

Would be great to document it somewhere. Every time I have to search for the code when somebody asks. If you have some code or test scripts you can share, or use in OpenSC tests or elsewhere, it would be great to have it at least as code example ...

Works via p11-kit: pkcs11-tool -> p11-kit -> nss-softokn as p11-kit supports

module: /usr/lib64/libsoftokn3.so

x-init-reserved: configDir='some/path/to/tokens'

The x-init-reserved is mentioned as support for softoken.

from opensc.

frankmorgner avatar frankmorgner commented on July 18, 2024

This would not be standard compliant with 3.0, which means it would be an exception purely for the NSS module:

pReserved reserved for future use. Should be NULL_PTR for this version of Cryptoki

from opensc.

Jakuje avatar Jakuje commented on July 18, 2024

Would be great to document it somewhere. Every time I have to search for the code when somebody asks. If you have some code or test scripts you can share, or use in OpenSC tests or elsewhere, it would be great to have it at least as code example ...

from opensc.

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.