-
Notifications
You must be signed in to change notification settings - Fork 51
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
: net.sf.scuba.smartcards.CardServiceException: File not found, CAPDU exception #6
Comments
I think MRZ scanning is the problem. Sure it reads MRZ but extracted one of the passportNumber, birthDate and expirationDate values could be wrong. Could you please control these three values with writing log? EPassportNFCReader/app/src/main/java/com/alimert/passportreader/ui/MainActivity.java Line 211 in b7828a2
|
I have the same issue, the problem isnt the MRZ, i am sure. |
Hello, @alimertozdemir, @Redd1ntong, did you eventually find the reason of the issue? Am facing it too and I'm already out of ideas. |
Any solution? |
@alimertozdemir This is not a MRZ issue. It looks like the app is trying to read EF 011D which corresponds to EF.CardSecurity, and it fails with 6A82 (File not found). Not all chips come with EF.CardSecurity, it is only mandatory if the chip supports PACE-CAM. The only EF that is mandatory for PACE is EF.CardAccess, which the app is not even using. The code in question is the following: EPassportNFCReader/app/src/main/java/com/alimert/passportreader/ui/MainActivity.java Lines 248 to 261 in f9bbbc4
I think that adding the code to read EF.CardAccess will solve the issue. |
Did you find a solution to the problem?? I replaced this line with real data but still the same problem BACKeySpec bacKey = new BACKey("U2426****", "010***", "260***"); @alimertozdemir @alimertozdemir @jonneymendoza @YesidMarin @Redd1ntong please if you have any idea or solution share with me |
Hello , Am having the same probleme , am scanning NFC of ID CARD and Passport very well , but withe Driver Licence its not working at all here is the error log : Error reading from card :
|
i made some progress , i created a class Called DriverLicnceService , its the same as PassportService but i only changed this : protected val APPLET_AID: ByteArray = byteArrayOf(0xA0.toByte(), 0x00, 0x00, 0x02, 0x48, 0x02, 0x00) , now i can read the card , but the data seems a bit corrupted , some values are aempty , some fields looks they have some weird characters |
Hi i grabbed your project an ran it on my Samsung S8 device and i get an exception when i try to do the NFC conact part on the app using my british passport.
the MRZ scanning seems to work but not the NFC
Full stacktrace below
The text was updated successfully, but these errors were encountered: