Hi, > Try the following command: > C0 A4 00 00 02 3F 00
> If I am not wrong, the package was tested with a Cyberflex card, which is an ISO >7816 part 5 card, while the Cryptoflex is an ISO 7816 part 4 card and they are not >(completely) compatible. If the above command works for you, then you have to check >the other commands to make sure they are Cryptoflex compatible. I can send you my >version of netaccountadd, however it may not be completely correct; I got stuck >during login while trying to encrypt with the private key. It was indeed written for Cyberflex - Mario Strasser, one of the authors, replied and confirmed this. I've started to add Cryptoflex support by comparing with the earlier C source of smartcard_login, which supports both cards. Your command works, returning 61 14 (hex). However netaccountadd expects the second byte (length) from a Cyberflex to be 17 for the MF, and 0F for all other files. Do you know if this is important - I'm ignoring it since I don't yet understand this discrepancy. I'd like to see your version for inspiration. Did you get stuck at the ACL stage? That's the only command I can see that can't be directly translated for the Cyberflex, so I'm going to try the alternative used in makecard.c. Thanks, Sean Atkinson. -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
