dgc
dgc copied to clipboard
A parser and validator for the EU Digital Green Certificate (dgc) a.k.a. greenpass
Inserire all'interno delle richieste verso le API l'apposito header User-Agent nella forma ``` User-Agent: -/ ``` È possibile omettere `-` se la tecnologia è già specificata nel nome (ad esempio...
To start discussing on the API itself: - Function signatures `dgc_{struct}_{action}(s: *mut Struct, args..., out: *mut *mut Out) -> *const ErrorType` - All the structs are opaque and they get...
- [ ] Make sure the current API is set (pending @dodomorandi rework) - [ ] Write a `capi` guarded module. - [ ] Add `cbindgen.conf` with the minimal features...
We should use [dcc-quality-assurance](https://github.com/eu-digital-green-certificates/dcc-quality-assurance) for our tests. See the python script to [parse the PNGs files](https://github.com/eu-digital-green-certificates/dcc-quality-assurance/blob/main/generate_qa_json.py)
In order to make the crate fully usable in Italy, we need to add support for: - [ ] [Digital Green Certificate Revocation List (DRL)](https://github.com/ministero-salute/it-dgc-documentation/blob/master/DRL.md) - [ ] Strengthened mode...
Once [this PR](https://github.com/enarx/ciborium/pull/34) is landed, we can remove our extension trait and directly use `Value::into_` methods. Blocked by https://github.com/enarx/ciborium/pull/34
There are a few json files that fails for strange reasons. For instance, as discussed in #33, there are some public keys that use ECDSA-P384 signing algorithm, even if the...
If we aim to get _formal approval_ from Italian authorities as a good library to use for DGC parsing and validation I think it could make sense to implement functionality...
It would be nice to be able to do something like this: ```rust let cert_data = "HC1:NCFOXNEG2NBJ5*H:QO-.OMBN+XQ99N*6RFS5YUCH%BM*4ODMT0NSRHAL9.4I92P*AVAN9I6T5XH4PIQJAZGA2:UG%U:PI/E2$4JY/KB1TFTJ:0EPLNJ58G/1W-26ALD-I2$VFVVE.80Z0 /KY.SKZC*0K5AFP7T/MV*MNY$N.R6 7P45AHJSP$I/XK$M8TH1PZB*L8/G9YPDN*I4OIMEDTJCJKDLEDL9CZTAKBI/8D:8DKTDL+S/15A+2XEN QT QTHC31M3+E3+T4D-4HRVUMNMD3323623423.LJX/KQ968X2+36/-KKTC 509UE1YH/T1NTICZUI 16PPT1M:YUKQU7/EAFQ+JU2+PFQ51C5EWAC1ASBE/V9.Q5F$PYBEO.0:E5 96KA7N95ZTM L7HHP4F5G+P%YQ+GONPPCHPMR73SOM352Q4FIR L7 SP5.PDSOSNQKIR%*O* OUKRTSOL0PNLE.$FW2I9R7P3LEERQ2Q$CS8-QL4W.X0WB0/89-M7O9F:4AV0OGXP7MEKC53WRXY41A1/:R/J9URTB%LKXAD-OAZ0GA5%UCI/I910G-8H3"; let cwt:...
Right now the library only validates a certificate based ONLY on the status of the signature. In reality a certificate can be considered invalid even if the signature is validated...