Giter VIP home page Giter VIP logo

Comments (12)

AndyQ avatar AndyQ commented on August 11, 2024

Not sure what this error means - I think it could possibly be a verify failed - but exactly what - I'm not sure.
Do you have any more detail on what was happening?

from nfcpassportreader.

AndyQ avatar AndyQ commented on August 11, 2024

This should be fixed (I hope). If you are still having issues please re-open.

from nfcpassportreader.

advatar avatar advatar commented on August 11, 2024

@AndyQ What did you change to fix this issue? I am getting it for Argentinian passports and my code is a bit out of sync with master so I need to merge manually.

from nfcpassportreader.

AndyQ avatar AndyQ commented on August 11, 2024

I think this was either the change to drop the data read amount down to 0xA0 (160), or possibly the padding around the MRZ Passport number (if its less than 9 chars, it needs to be padded with <)

from nfcpassportreader.

advatar avatar advatar commented on August 11, 2024

Thanks, I am already doing the padding. Will try 0xa0 as the starting point.

from nfcpassportreader.

advatar avatar advatar commented on August 11, 2024

@brqgoo Is this working for you now?

from nfcpassportreader.

advatar avatar advatar commented on August 11, 2024

@AndyQ thanks for the project. I am using much of it for https://svipe.com

from nfcpassportreader.

brqgoo-zz avatar brqgoo-zz commented on August 11, 2024

@brqgoo Is this working for you now?

Unfortunately, I don't have access to a Chinese passport atm. I can give an update when I have a chance to test it.

from nfcpassportreader.

advatar avatar advatar commented on August 11, 2024

I changed to 160 and still get the same problem

Image from iOS

Any ideas what to do next?

from nfcpassportreader.

advatar avatar advatar commented on August 11, 2024

Turns out that https://github.com/Mattijah/QKMRZParser converts dates to Date with a particular TZ so when computing the MRZ for BAC dates are off by one if you are west of GMT...

from nfcpassportreader.

AndyQ avatar AndyQ commented on August 11, 2024

This should be fixed in the current version

from nfcpassportreader.

smlu avatar smlu commented on August 11, 2024

Just some info on sw1=0x63. According to ISO 7816-4 this is a warning. You can get sw=63CX when initiating BAC session and performing external authentication command. In this case the warning could mean that the authentication failed. Probably the reason for this is that provided MRZ data is wrong (assuming the implementation is correct) and 'X' in sw2 denotes max number of allowed retries (though some passports always return sw2=CF).

from nfcpassportreader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.