Comments (9)
Could you please try the latest version (currently 1.0.10) - There were some fixes in 1.0.9 that may well have fixed this.
from nfcpassportreader.
Could you please try the latest version (currently 1.0.10) - There were some fixes in 1.0.9 that may well have fixed this.
Yes, I have also tested 1.0.10, with the same result, and then I gradually went down from that version and the last one that works is 1.0.7
from nfcpassportreader.
OK, could you please test the following - let me know if that works:
V1.0.10 - TagReader.swift line 294 - change:
expectedResponseLength : 256
to:
expectedResponseLength : Int(readAmount)
I have a horrible feeling that your passport doesn't handle the unknown amount of data to be read command (256) but could you confirm that that change fixes the issue?
from nfcpassportreader.
expectedResponseLength : Int(readAmount)
I can confirm that this fixed the problem
from nfcpassportreader.
@douglasg I've created a branch - eofreached with a potential fix. Basically I'm first trying to read an arbitary amount of data (which should fail with your passport). At this point, I drop down to reading smaller chunks.
So you should see the first SOD read fail, it will then redo BAC and retry again which hopefulyl will work.
Could you please test and let me know?
from nfcpassportreader.
expectedResponseLength : Int(readAmount)
I can confirm that this fixed the problem
I also had such problem. Int(Amount) fixed it.
from nfcpassportreader.
Branch - eofreached also works good.
from nfcpassportreader.
@AndyQ Sorry for the late feedback but I have now tested the branch eofreached and it works
from nfcpassportreader.
@douglasg, @SaliienkoAleksandr - Thanks for testing this! I'll merge it into master and it will be in the next release
from nfcpassportreader.
Related Issues (20)
- sometime MRZ was detect is last line instead first line. HOT 2
- Change in APDU data & instructions due to some passports are giving error while scanning HOT 6
- tagReaderSession:failed to connect to tag - Tag response error / no response HOT 4
- Failure to read a Hungarian passport HOT 2
- (Vietnamese ID Card) Error reading tag: sw1 - 0x69, sw2 - 0x82 HOT 15
- do PACE with CAN not support HOT 1
- Unable to read Belarusian Id Card with BAC. HOT 2
- the extract.py has a problem can not get the pem file HOT 2
- Passive Authentication not working with generated PEM file HOT 2
- if there were no tags display error message
- Error identifying Active Authentication Hash Algorithm - Australian ePassport HOT 28
- This isn't working on either pod or spm, tried both! Please fix!
- German passport BAC failed. Referenced data not found HOT 4
- Show Veteran Title in mID full share HOT 1
- Verification failure with .pem list HOT 4
- rsassaPss/SHA512 signature verification error
- Fails on chinese passport HOT 4
- extract.py: Fails for `.ml` files HOT 4
- Exclude OpenSSL HOT 1
- File not found ID Card HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfcpassportreader.