Open Parzivalxx opened 1 week ago
Hi, I am getting the following error when reading PACE-enabled Greek passport:
PACE <ECDH> key establishment failed: PACE <ECDH> (4); Failed: ICC Error: General authentication template (step 4) failed sw=6300
I have narrowed it down to this function: https://github.com/ZeroPass/dmrtd/blob/8ced7600fb9fd84f0824bfaddc2fcc7bff655a7f/lib/src/proto/iso7816/icc.dart#L118 it seems the rapdu status is 6300 when it needs to be 9000 when reading in PACE mode.
This error only happens for the Greek passport. It succeeds when reading PACE-enabled Singapore passport. I have checked the input fields such as the mrtdNumber, date of birth and date of expiry and they are correct.
Are there any additional error/warning entries in the log? Which algorithm is used to establish PACE session?
Hi, I am getting the following error when reading PACE-enabled Greek passport:
I have narrowed it down to this function: https://github.com/ZeroPass/dmrtd/blob/8ced7600fb9fd84f0824bfaddc2fcc7bff655a7f/lib/src/proto/iso7816/icc.dart#L118 it seems the rapdu status is 6300 when it needs to be 9000 when reading in PACE mode.
This error only happens for the Greek passport. It succeeds when reading PACE-enabled Singapore passport. I have checked the input fields such as the mrtdNumber, date of birth and date of expiry and they are correct.