Open Lan5alot opened 1 month ago
Hi, I just tested the key import and it seems to work for me. Can you provide exact reproduction steps and an OPENSC log? The log might contain sensitive data, your PIN etc.
Did you init the card with pkcs15-init --create-pkcs15?
I've been trying to import a private key to the card, enabling import by setting the "DEF_PRIVATE_KEY_IMPORT_ALLOWED" on the master branch & building it using ant with openjdk-17-jdk-headless but I keep getting "Failed to store private key: Card does not support the requested operation". The command ran is:
I've tried AcosJ 95K, J3H145 and J3R180 cards, but keep getting the same error. I get the feeling I'm missing something, why doesn't this just work, does these cards really all not support private key import?