Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rapdu 6300 error when reading PACE-enabled Greek passport #33

Open
Parzivalxx opened this issue Jul 1, 2024 · 1 comment
Open

Rapdu 6300 error when reading PACE-enabled Greek passport #33

Parzivalxx opened this issue Jul 1, 2024 · 1 comment

Comments

@Parzivalxx
Copy link

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:

Future<Uint8List> generalAuthenticatePACEstep4({ required Uint8List data, int ne = 256, int cla = ISO7816_CLA.NO_SM }) async {

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.

@smlu
Copy link
Member

smlu commented Jul 4, 2024

Are there any additional error/warning entries in the log? Which algorithm is used to establish PACE session?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants