Closed sergione78 closed 8 months ago
I apologize in advance if I don't use code tags correctly. I'm a noob.
You have to use an equivalent of convert-ak.exe
on your powermac G5.
Either you find the source code of convert-ak.exe
or you reverse engineer the program.
Maybe the program is simple enough and does just send one or two commands to the device to switch it. You can use wireshark to spy/capture the USB bus.
Or maybe it is possible to permanently switch the device to CCID mode.
ok, I tried to follow your suggestion. Since there is no equivalent of convert-ak for the ppc64 architecture I tried using wireshark software to sniff USB traffic. Well, it seems to have registered some activity, but for me it's still rocket science. Maybe you can interpret what's happening?
the only clue I can give about the convert.64.exe file is that it is an executable written in Qt. I don't have the skills needed to reverse engineer it.
I can help you. Contact me by email. See https://blog.apdu.fr/articles/about_me/
@sergione78 I did not received an email from you. Closing now.
Hello and forgive my lack of technicality. I'll explain the problem briefly. At work I have an old powermac G5, on which I installed debian sid 12. Everything works great except my smartcard. I would like to point out that I have installed all the software from synaptic, which is also present for the powerpc platform, and in fact the smartcard (ak910 usb stick) is seen in lsusb as AK910 Hkey (2021:0002). Unfortunately it's not what I need to work. I need the key in CCID mode (2021:0001), which happens automatically under Windows, while not under Linux. And in fact, in Linux (Intel architectures) I have to manually open a terminal and run a little program (in my case it's convert.64.exe) which carries out some operations and switches the stick to CCID mode (2021:0001). Below I report the procedure performed on an x64 machine with Ubuntu 22.04 LTS.
Now, the million dollar question is: is it possible to do the same thing without having to run that proprietary software that only works with Intel processors? Before posting here I searched everywhere on the net. ah, I forgot! If I run pcsc_scan on the G5 it doesn't find any readers, exactly like here if I don't follow the procedure described above. I hope you can help me Sergio