Closed hamidullo7 closed 11 months ago
It is Uzbekistan passport which has BAC protocol
Does passport supports PACE? Have you tried commenting out the line that line?
Nope, passport doesn't support PACE, only BAC. Which line do you mean. This error occurs in this line: final cardAccess = await passport.readEfCardAccess();
Do you mean this line?
Yes, line final cardAccess = await passport.readEfCardAccess();
should be commented out.
Note, that file EF.CardAccess
is only available when PACE protocol is supported by the passport.
Woow, fantastic! It worked, thanks man!
Here is my code to read passport data using NFC:
final nfc = NfcProvider(); try { await nfc.connect(iosAlertMessage: "Hold your iPhone near Passport"); final passport = Passport(nfc);
This line: final cardAccess = await passport.readEfCardAccess(); Gives this error in catch: Security status not satisfied