-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with the driver #9
Comments
Hello Ctibor, From my side, we could figure out now, what happened. OpenSC [3F00/4100]> pin_info CHV129 So, it looks like opensc-explorer is buggy or I used it in a wrong way? Using this changed my User pin: If You are still there, then we can go through the remaining: Well, to summarize, IMHO Your issue title should better read: Problems with using OpenSC tools. You can reopen this whenever You like, but I tend to close after some time of no reaction |
Hi,
thank you for your effort! I dug out my CryptoMate64 and tried to get it work with your driver. I have successfully built it on Gentoo Linux and configured opensc v0.22.0 to use libacos5.so and libacos5_pkcs15.so. I have also initialized the card with your scripts card_initialization.scriptor and V2_00_TokenInfo_file_customization.scriptor.
The files are installed like this:
opensc-tool -n shows:
So I think it should work with your driver, but I unable to change the pin or generate certificates on the card per your instructions.
When I try to change the user PIN with opensc-explorer I get "Unable to change PIN code: Invalid arguments"
Using pkcs15-tool --change-pin allows me to enter old and new PIN but ends with "PIN code change failed: Invalid arguments."
Opensc log while running opensc-explorer: opensc-debug.txt
Trying pkcs15-init --generate-key rsa/4096 --auth-id 01 --id 01 --label github_key --key-usage sign
fails with malloc(): unaligned tcache chunk detected and SIGABRT
Opensc log while running pkcs15-init: opensc-debug.txt
I tried opensc v0.21.0 too with the same results. Older versions are not available on my distro.
dmesg shows:
opensc-explorer[14473]: segfault at 7fde00000082 ip 00007fde00000082 sp 00007ffe289b5218 error 14 in locale-archive[7fdec4851000+6d4000]
pkcs15-init[17118]: segfault at 560ecb770 ip 00007f67662be348 sp 00007fffe9d75450 error 4 in libc-2.33.so[7f6766258000+148000]
The text was updated successfully, but these errors were encountered: