Golang implementation of the covid certificates. At the moment it only includes DCC signed data decoding but I've planned to add a lot more of features related to certificates processing.
- Decode signed DCC (European QRCodes) data ✅
- Decode 2D-DOC data ✅
- Pretty-print decoded data as JSON ✅
- Download public-keys from european gateway ❌ (planned)
- Verify signature ❌ (planned)
go install github.com/alexpresso/gocovidcertificate@latest
gocovidcertificate <flags>
Flag | Type | Description | Required | Default value |
---|---|---|---|---|
-code | string | QRCode data to decode (put it between double-quotes "" ) |
true | none |
bool | Prints the QRCode data to console | false | true |
Example:
gocovidcertificate -code "HC1:..." -print
(API docs comming soon)
go get github.com/alexpresso/gocovidcertificate