Skip to content

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

License

Notifications You must be signed in to change notification settings

manekinekko/digital-covid-certificate-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project