Giter Site home page Giter Site logo

manekinekko / digital-covid-certificate-decoder Goto Github PK

View Code? Open in Web Editor NEW
30.0 4.0 5.0 20 KB

An attempt to decode the Digital Covid Certificate (signed by the french app TousAntiCovid) - For Educational Purposes Only

License: MIT License

JavaScript 100.00%
covid covid-19 qr-code certificate cobr cose hacktoberfest

digital-covid-certificate-decoder's Introduction

Digital Covid Certificate Decoder

An attempt to decode the Digital Covid Certificate (signed by the french app TousAntiCovid)

How to use

If you want to try this yourself:

In order to run this code, you will need Node.js 16+ and NPM.

  1. Use a scanner app on your phone to scan your OWN 2D-QR code
  2. Copy the 2D-QR code from the scanner app. It should look like this: HC1:6BFO...
  3. Create a file called pass.js with the following content:
    export const PASS = `REPLACE THIS WITH YOUR DATA`
  4. Run npm install
  5. Run npm start
  6. The decoded data should be printed:
Map(4) {
  1 => 'CNAM',
  4 => 1600000000,
  6 => 1600000000,
  -260 => Map(1) {
    1 => {
      v: [
        {
          ci: 'urn:uvci:01:FR:XXXXXXXXXXXX#Y',
          co: 'FR',
          dn: 2,
          dt: '2021-XX-XX',
          is: 'CNAM',
          ma: 'ORG-10003XXXX',
          mp: 'EU/1/XX/XXXX',
          sd: 2,
          tg: '840539XXX',
          vp: 'J0XXXXX'
        },
        [length]: 1
      ],
      dob: 'XXXX-05-03',
      nam: { fn: 'CHEGHAM', gn: 'WASSIM', fnt: 'CHEGHAM', gnt: 'WASSIM' },
      ver: '1.3.0'
    }
  }
}

Disclaimers

This repository is for research purposes only, the use of this code is your responsibility.

I take NO responsibility and/or liability for how you choose to use any of the source code available here. By using any of the files available in this repository, you understand that you are AGREEING TO USE AT YOUR OWN RISK. Once again, ALL files available here are for EDUCATION and/or RESEARCH purposes ONLY.

digital-covid-certificate-decoder's People

Contributors

manekinekko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

digital-covid-certificate-decoder's Issues

BUG

image
Impossible de décodé

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.