billylo1 / covidpass

Web app for adding Ontario vaccination records to Apple Wallet (forked from covidpass in EU)
https://grassroots.vaccine-ontario.ca
MIT License
79 stars 12 forks source link

Add example of decoded Nova Scotia SHC #39

Closed corrmaan closed 2 years ago

corrmaan commented 2 years ago

Generated with https://github.com/obrassard/shc-extractor, but this example is just the "payload" object. There were also "header" and "verirfications" objects that I didn't see in the other examples, and I excluded them assuming that they're ignored somewhere in this project. e.g.:

{
    "header": {
        "zip": "DEF",
        "alg": "ES256",
        "kid": "UJrT9jU8vOCUl4xsI1RZjOPP8hFUv7n9mhVtolqH9qw"
    },
    "payload": {
        ...
    },
    "verifications": {
        "trustable": true,
        "verifiedBy": "UJrT9jU8vOCUl4xsI1RZjOPP8hFUv7n9mhVtolqH9qw",
        "origin": "https://pvc.novascotia.ca/issuer"
    }
}
straxus commented 2 years ago

Thank you very much for this - very helpful!