rust-italia / dgc

A parser and validator for the EU Digital Green Certificate (dgc) a.k.a. greenpass
https://github.com/rust-italia/dgc
MIT License
26 stars 11 forks source link

Support tests ES/2DCode/raw/100[123].json #18

Closed dodomorandi closed 2 years ago

dodomorandi commented 2 years ago

There are some tests (at least ES/2DCode/raw/1001.json, ES/2DCode/raw/1002.json and ES/2DCode/raw/1003.json) that fail the signature validity. These tests were previously related to a missing support for floating points for two fields in DgcCertContainer (#3), maybe the failure is related to that in some way?

dodomorandi commented 2 years ago

Duplication of #2