Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manekinekko/digital-covid-certificate-decoder
An attempt to decode the Digital Covid Certificate (signed by the french app TousAntiCovid) - For Educational Purposes Only
https://github.com/manekinekko/digital-covid-certificate-decoder
certificate cobr cose covid covid-19 hacktoberfest qr-code
Last synced: 5 days ago
JSON representation
An attempt to decode the Digital Covid Certificate (signed by the french app TousAntiCovid) - For Educational Purposes Only
- Host: GitHub
- URL: https://github.com/manekinekko/digital-covid-certificate-decoder
- Owner: manekinekko
- License: mit
- Created: 2021-07-21T08:56:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T13:35:06.000Z (almost 3 years ago)
- Last Synced: 2024-10-05T11:37:25.396Z (about 1 month ago)
- Topics: certificate, cobr, cose, covid, covid-19, hacktoberfest, qr-code
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 30
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
## 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](https://nodejs.org/en/download/).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:
```javascript
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.