Decode your Ontario COVID-19 Vaccination QR Code.
Demo: https://olivercardoza.com/shc-decode/
The following links provided reference implementations for various pieces of this project:
- High-Level Code: https://github.com/tahnok/ont_shc_decode/blob/main/ont_shc_decode.py
- DEF JWT Header: https://github.com/jpadilla/pyjwt/pull/666/files
- Basic SHC conversions: https://marcan2020.medium.com/reversing-smart-health-cards-e765157fae9
- b64 decode: https://github.com/auth0/jwt-decode/blob/master/lib/base64_url_decode.js
- b64 decode: https://github.com/danguer/blog-examples/blob/master/js/base64-binary.js
The following dependencies have been copied into this repository:
- pako: for zlib inflation
- MDN - Base64: for UTF-8 conversion
- Water.css: for styling