Giter VIP home page Giter VIP logo

Comments (12)

Sikerdebaard avatar Sikerdebaard commented on May 25, 2024

What would be the expected result? This seems to be a null-char, is that correct?

from coronacheck-tools.

GieltjE avatar GieltjE commented on May 25, 2024

It looks like a null byte, isn't it supposed to contain a 1-12 number?

from coronacheck-tools.

GieltjE avatar GieltjE commented on May 25, 2024

You should have an email.

from coronacheck-tools.

Sikerdebaard avatar Sikerdebaard commented on May 25, 2024

Is this a QR code of a negative test result? I haven't parsed that one through my tool until now. It looks like the data was deserialized properly. The app QR code after vaccination usually contains the birthMonth and not the birthDay field. Looks like it's the other way around for this particular QR.

from coronacheck-tools.

GieltjE avatar GieltjE commented on May 25, 2024

This is a coronacheck app result after 2 vacinations, the birthDay field is correct but somehow the month is omitted.

from coronacheck-tools.

Sikerdebaard avatar Sikerdebaard commented on May 25, 2024

There really isn't any other data in that particular field for this QR. I guess they generate the QR with birthDay left out and somtimes with birthMonth left out. Mine has birthDay left out for example.

You can verify this by going to your coronacheck app and pressing the ? icon on the top right while displaying the Dutch QR code. Under 'your details' It'll show the data inside the QR. In your case it probably has an underscore instead of a month but your birthDay should be filled in. As well as your firstName and lastName initials.

from coronacheck-tools.

GieltjE avatar GieltjE commented on May 25, 2024

You are correct, sorry for the inconveinience.

from coronacheck-tools.

Sikerdebaard avatar Sikerdebaard commented on May 25, 2024

No problem. Good luck with your project. ;)

from coronacheck-tools.

GieltjE avatar GieltjE commented on May 25, 2024

Thanks, do you by any chance have a clue on how to validate the other data against the governments certificates?

from coronacheck-tools.

Sikerdebaard avatar Sikerdebaard commented on May 25, 2024

What do you mean with other data?

This tool can verify a QR code either through the CLI tool or through the Python API if thats what you mean. It uses a thin wrapper around the governments mobilecore verifier. Similar to the coronacheck scanner app. The QR that you supplied is considered invalid.

CLI tool: https://github.com/Sikerdebaard/coronacheck-tools#verify

Python API example: https://github.com/Sikerdebaard/coronacheck-tools/blob/main/examples/qr_validator.py

Your particular QR result:

coronacheck-tools verify qr ./QR.jpg 
This is an unofficial tool that is in no way affiliated with CoronaCheck.nl or the Ministry of VWS
Code is invalid Could not verify domestic QR code: The credential has been generated too long ago, or clock skew is too large

from coronacheck-tools.

GieltjE avatar GieltjE commented on May 25, 2024

That indeed validates them, but their lifespan is pretty short (which is good I guess), many thanks!

from coronacheck-tools.

Sikerdebaard avatar Sikerdebaard commented on May 25, 2024

Try the paper one. That one skips the time based challenge. Last time I checked it was valid for a year.

https://coronacheck.nl/nl/print/

from coronacheck-tools.

Related Issues (15)

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.