NFCPassportReader icon indicating copy to clipboard operation
NFCPassportReader copied to clipboard

Error identifying Active Authentication Hash Algorithm - Chinese ePassport

Open rbrouwer opened this issue 9 months ago • 20 comments

The solution of #194 broke AA for recent Chinese passports.

Those will return 0 bytes when giving them an Expected Response Length of 65536. When undoing the changes to secure messaging and setting the Expected Response Length to 256. Those work just fine again.

I guess behaviour such as in JMRTD' AAAPDUSender is wanted; Guessing the correct length and even retrying with 65536 when 256 did not make sense.

rbrouwer avatar May 23 '24 10:05 rbrouwer