Hi all!

I'm trying to do an EXTERNAL AUTHENTICATE against a CardOS 4.01 card.

Requesting the challenge is easy. But how do I calculate the response?

Here's an example that I captured with an USB-sniffer:

APDU 1: 00840000 08, Response 584eb56f6d9f13c5 9000
APDU 2: 00820081 08 cdddb92642a38d3b, Response 9000

Does anybody know how response cdddb92642a38d3b was calculated
from challenge 584eb56f6d9f13c5 using PIN 123456.

I have already tried stuff like

echo -en '\x58\x4e\xb5\x6f\x6d\x9f\x13\xc5' |\
  openssl enc -des-ede3-ofb -K 313233343536 -iv 0 |\
  od -tx1

with different cyphers. Unfortunately I don't know what IV-value
must be used. Any ideas?

Peter
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

_______________________________________________
opensc-devel mailing list
[EMAIL PROTECTED]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to