And again some more information about our problem

Clemens Gruber clemens_gruber at gmx.at
Sat Jul 12 17:02:30 UTC 2008


Hello,

now we wrote some more debug-printf's in the librfid- and the 
libmrtd-code, especially in rfid_proto_tcl.c from librfid.

We got the following output when trying to access an austrian epassport:

in tcl_transceive()
in tcl_transceive(): l2 transceive finished

in tcl_transceive(): I-Block:
in tcl_transceive(): 0 bytes
in tcl_transceive(): function finished rx_len=0, returning 0
error (in libmrtd.c): iso7816_select_application failed
error: read_mrtd failed!


Sometimes we get also:

in tcl_transceive()
in tcl_transceive(): l2 transceive finished

in tcl_transceive(): I-Block:
in tcl_transceive(): response with wrong toggle bit
in tcl_transceive(): function finished rx_len=0, returning 0
error (in libmrtd.c): iso7816_select_application failed
error: read_mrtd failed!


Why do we get an I(nformation)-Block but net_payload_len=0 (0 bytes read?)

It's all before the check of the mrz2 (argv[1]).. so we actually don't 
know how to proceed..


Best regards,
Clemens





More information about the openpcd-devel mailing list