Peter Popovec

Results 60 comments of Peter Popovec

I looked at the `src/libopensc/card-sc-hsm.c` code, wrap/unwrap is supported here using the `sc_card_ctl()` call. Calling this code is not possible in the normal way from `pkcs11-tool`, but a specific call...

This question/issue interested me only for one reason, the only pkcs#11 implementation that supports unwrap/wrap in opensc is in card-myeid.c. What `card-sc-hsm.c` supports is a proprietary call that is not...

I assume that the manufacturer has again changed the procedure for "token erase" .. and OpenSC is unable to really erase the token. `P:38606; T:0x126356886358912 10:09:59.586 [pkcs15-init] card-epass2003.c:258:epass2003_check_sw: Conditions of...

> The issue appears to be how a case 1 APDU (non Lc and no Le) is handled with SMThe issue appears to be how a case 1 APDU (non...

8cf68bc introduced the use of '--id' as information under which ACL the key should be created. This breaks the normal way where ACLs are specified in the profile file. Let's...

The user can set his own profile when generating/importing the key: ````` cp /usr/share/opensc/pkcs15.profile . cp /usr/share/opensc/myeid.profile myeid_local.profile echo -e "app default {\n profile_dir = .\n}\n "> opensc_test.conf ````` Edit...

Your token uses AES_CMAC for MAC in SM mode (TAG 0x87 in response to capabilities) ````` 00 CA 01 86 00 ..... Incoming APDU (37 bytes): 80 01 01 81...

Is there a proprietary pkcs11 module for epass2003 (Windows or Linux)? Can you test something like that with your token? I wonder if the signing/decrypting operation works with this (if...

Does `pkcs15-init -E -T ` run correctly? Several times I ran into a situation where epass2003 reported `Failed to create meta structure PKCS #15: Not allowed', but using `pkcs15-init -E...

I am afraid that only its supplier can help with this (new) token. It will be necessary to fix several operations, unfortunately it will not work without documentation. @FeitianSmartcardReader ?