Open RomainL972 opened 4 years ago
As soon as I have some free time I will take a look, thanks
Hello,
I noticed that this problem happens with my french passport issued in 2019 but not with those issued in 2016. It seems that chipAuthenticationInfo
isn't available in newer french passports. That's why in my app, I had to guess what algorithm should be used, with ChipAuthenticationPublicKeyInfo.ID_CA_ECDH_AES_CBC_CMAC_256
I look to the specification and unless that the french passports are no longer following the standard (Using another one) I dont know why that Chip authentication is not there
Documentation
5.2.2 Security Infos for Chip Authentication To indicate support for Chip Authenticiation SecurityInfos may contain the following entries: • At least one ChipAuthenticationInfo and the corresponding ChipAuthenticationPublicKeyInfo using explicit domain parameters MUST be present.
hi guys, any solution about this error? some card field "activeAuthentication": false (func verifyAA()) @RomainL972 thank SO much!
Hello, I cloned your project and ran it on my phone. Everything seems to work except the Chip Authentication that fails. When I use other passport readers, it tells me my Chip Authentication succeeded. I saw this in your code:
But isn't
protocolOIDString
a human-readable representation ofobjectIdentifier
? If yes then aren't you giving twice the same thing to the function? In my app when I do the following it worksThanks for your help.