Miroshin Stepan

Results 356 comments of Miroshin Stepan

Could you print private data from you token, signature value and list of supported algorithms? You need to update generation template too ```js // generate RSA key pair var keys...

I've got SafeNet iKey 2032. It works for me too ![image](https://user-images.githubusercontent.com/7333669/30434538-3d2354b2-9970-11e7-9883-43a5a0de8026.png)

Could you make a log for incoming data and get `data.length`, `this.blockSize` and mechanism you use, if it's possible

Here is my example ### Key generation ```js const label = "test_key"; const softHsm = graphene.Module.load("/usr/local/lib/softhsm/libsofthsm2.so"); softHsm.initialize(); try { const slot = softHsm.getSlots(0); const session = slot.open(graphene.SessionFlag.RW_SESSION | graphene.SessionFlag.SERIAL_SESSION); session.login("12345",...

`graphene` allows using vendor mechanisms. There can be a problem with crypto mechanism parameters only. @anubnair Do you have PKCS#11 specification of those mechanisms using?

@jahluwalia I have added `AesCbcEncryptDataParams` class and [test](https://github.com/PeculiarVentures/graphene/blob/master/test/aes.ts#L96-L119) for SoftHSM AES key derivation new version of the `[email protected]` is available

@netmiller I use graphene with electron. This is error from https://github.com/PeculiarVentures/pkcs11js/blob/master/src/pkcs11/pkcs11.cpp#L131 It cannot find pkcs#11 lib by path Do you use `.npmrc` for electron project? ### .npmrc ``` runtime =...

You need create `.npmrc` file in the root of your electron project and call `npm rebuild`

I use `path` for relative libs ```js const path = require("path"); const lib = path.join(__dirname, "..", "lib", "libykcs11.dylib"); const mod = Module.load(lib, "libName"); ``` P.S. I'll try to create simple...

Do you use graphene from main.js or from HTML window?