Closed typelogic closed 3 years ago
Fix attempt to try each possible algorithm until doEACCA
succeeds. JMRTD library does an infer of this missing value and chooses only 1. And so does the IOS implementation. Without information of this algorithm value, we can either pick one or try each possible value.
Log result excerpt:
04-05 16:20:02.405 18820 19373 I PassportNFC: doEACCA entry
04-05 16:20:02.405 18820 19373 I PassportNFC: doEACCA: found ChipAuthenticationPublicKeyInfo
04-05 16:20:02.405 18820 19373 I PassportNFC: Trying id-CA-ECDH-3DES-CBC-CBC
04-05 16:20:02.699 18820 19373 I PassportNFC: Success id-CA-ECDH-3DES-CBC-CBC
04-05 16:20:02.699 18820 19373 I PassportNFC: doEACCA exit
Current Behaviour
Use smartscanner to scan your passport/ID. If your passport/ID has
Chip Auth
feature, thenChip Authentication
is performed and it should pass.Background info:
PH
passports have noChip Auth
feature. Ken's passport haveChip Auth
feature.Expected Behaviour
In the
Authentication
section of smartscanner's result page, theChip
should have a checked marked if the passport/ID being scanned hasChip Auth
feature. Otherwise, theChip
should not appear in cases whereChip Auth
feature is not supported.Steps to Reproduce the Problem
x
mark inChip
.Context
The same smartscanner app is able to verify Ken's passport which has a
Chip Auth
feature as shown here