Join GitHub today
CardOS API A way to uninstall CardOS API from your computer This page contains complete information on how to remove CardOS API for Windows. It is produced by Siemens. Take a look here where you can read more on Siemens.
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHave 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
Comments
commented Aug 2, 2017 • edited by ghost
edited by ghost
Hello everyone, Today I tried initializing a brand new Atos CardOS 5.3 smartcard without success. As I saw that 5.3 is still fresh on the repo, I'm proposing my help. SpecsGentoo Linux (Linux 4.9.34-gentoo) Actual behaviour
Expected behaviour
Steps to reproduce1- Plug a uninitialized (Current life cycle: 52 (manufacturing)) CardOS V5.3 chip into a reader Logsopensc-tool --reader 1 --atr cardos-tool -vv -i -r 1 InformationsI am at your disposal for testing as well as brute-forcing apdu commands into my chip. References#947 Edit 1: Forgot my manners :) |
commented Aug 2, 2017
After bypassing the version info check ( Line 565 in 428b134
|
commented Aug 2, 2017
@Jakuje? |
commented Aug 3, 2017
Atos Cardos Api Windows 10 64
That would be one of the thing I would like to have a look at some point, but currently I don't have any uninitialized CardOS 5 card I could play with nor I have a lot of time to do that. It is hard with these closed-specification cards. |
commented Aug 3, 2017
If you want, I can plug the card into a server at home and let you play with it inside a virtual machine. I mean, it's not that I can use it right now so... :) I edited the title to match what this ticket is about, new code for improved compatibility. |
commented Aug 3, 2017
As I was browsing the web for informations, I stumbled upon #768. My problem is somewhat related to this issue. |
commented Aug 3, 2017
The problem that the card management of CardOS 5 should be substantially different from the 4.x versions, according to the #283. I recommend reading also that PR, which also discuss some of the issues with 5.x and might give you some hints what is missing. Unfortunately, the code as a whole is not available and therefore ready for re-implementation, which is huge task without any substantial knowledge about the card. |
commented Aug 3, 2017
The only thing I'm able to do is to try to initialize the card with the CardOS API Driver on a Windows VM and sniff the USB data to reverse engineer the apdu codes sent to it. But I have one shot, unless I order more chips. The code itself is a whole new problem as I am no developer. Also, would you be kind to confirm that an initialized 5.3 card works with OpenSC ? |
commented Aug 3, 2017
Yes, the initialized CardOS 5.3 cards work with OpenSC, at least to the extend of |
commented Aug 4, 2017
I tried to initialise the chip with the CardOS API Windows app but it didn't ask for a custom SO PIN. The card is now in operational status but cannot talk with OpenSC. I dumped the CCID commands with Wireshark and usbmon. If you want the dump file, just ask for it, i'm not sure if I can share it publicly (cause of NDAs and whatnot). The card is working fine with Windows Crypto API but is unreadable by pcks15-tool on Linux. Also, pkcs11-tool --test is segfaulting. |
commented Nov 6, 2017
@Jakuje @NainKult what's the status of this issue, did you resolve it? |
commented Nov 6, 2017
No. I don't have any update. The |
commented Nov 6, 2017
I was planning to purchase more CardOS 5.x chips to improve support but because of the Infineon chips thingy, I changed my mind. All my chips are in Operative Mode as of now and I have no way to test pkcs11-tool on a uninitialised chip (Manufacturing). I can however confirm that #1134 solved the segfault on an initialized chip. Statement from my card provider:
|
commented Nov 6, 2017
Thank you for confirmation. The uninitialized chips are not supposed to work with I see that CardOS is clearly using Infineon chips and potentially their Fastprime library, but I did not find any official announcement about this issue from Atos confirming or declining what everything is affected in their case. You can always test the public keys on your own with the following tool: https://keychest.net/roca |
Atos Cardos Api Windows 10 2017
commented Nov 6, 2017 • edited by ghost
edited by ghost
Here is the complete and official Atos statement sent to their customers (me included). This document has been approved for public distribution. According to your link, and for a 2048 RSA Key generated on one of my chips:
Wiiiiiiill dooooo ! (in Meeseeks voice) |
commented Nov 9, 2017
I was able to use my Atos card, but only with Firefox and loading the module directly. Tokend/Safari/Chrome not working. Not sure about initializing a card. |
commented Jan 9, 2018
Atos Cardos Api Windows 10 Update
@sgtstadanko Can you please elaborate how you achieved this? Thanks in advance |