graphene icon indicating copy to clipboard operation
graphene copied to clipboard

A simple layer for interacting with PKCS #11 / PKCS11 / CryptoKI for Node in TypeScript. (Keywords: Javascript, PKCS#11, Crypto, Smart Card, HSM)

Results 42 graphene issues
Sort by recently updated
recently updated
newest added

Hi, I am a newbie to SoftHSM/PKCS 11. I am trying to: Step 1 1. Initialize the SoftHSM module 2. Login to access the token/slot 3. Obtain the `session` 4....

Hello, I'd like to use this lib to first generate a Ed25519 keypair on HSM. I know that OpenSSL currently supports Ed25519, but i can't find it in the list...

```js let { soPin, newPin } = req.body /** * @desc — USING FIRST SLOT * */ mode = mod var slot = mode.getSlots(0) /** * * @desc — PREPARE...

I have PrivateKey PublicKey and Certificate in HSM I can get Certificate with no problem. Next I need to get private key here this is my code =========================== const fetchedPrivateKey...

Hi. Can you please provide GOST signing / hashing / encryption exaples?

help wanted

I'm trying to get deriveKey working with AES_CBC_ENCRYPT_DATA set as the mechansim. I noticed that your AesCbc params are missing type and data in the toCKI method. When i tried...

I'm struggling with Yubikey 4 PIV slots, and trying to find specific slot Subject/Issuer value. Trying something code like : ```` const graphene = require('graphene-pk11'); // pkcs11.load("./lib/libykcs11.dylib"); const mod =...

help wanted

I have some errors with library loader/path when using my Yubikey 4 with Electron (main process). ```` graphene-module: function Module(lib) { var _this = _super.call(this, lib) || this; _this.libFile =...

```js const graphene = require("graphene-pk11"); const mod = graphene.Module.load("/usr/local/Cellar/nss/3.31/lib/libsoftokn3.dylib", "NSS"); mod.initialize(); try { const slots = mod.getSlots(); console.log(slots); } catch (e) { console.error(e); } mod.finalize(); ``` Throws error ``` Error:...

bug