GreenPassApp / greenpass-app

https://greenpassapp.eu
GNU General Public License v3.0
97 stars 7 forks source link

Using logic from eu-digital-green-certificates to validate QR-Codes #18

Closed SandroBerger closed 2 years ago

SandroBerger commented 3 years ago

Just as an idea, wouldn't it be better to validate QR-Codes with the logic from https://github.com/eu-digital-green-certificates as it is a service provided by the EU and therefore (hopefully) always has the latest regulations configured for every country? By doing so the validation would not rely on a static configuration like https://github.com/GreenPassApp/greenpass-app/blob/cb7ba30cfd0bcb8fc90e38b31fde634a702266c7/lib/local_storage/country_regulations/regulations_provider.dart#L15 where the duration is maintained manually in the JSON file for every country.

The issue can be closed; Just wanted to mention it as an idea. :smiley:

JakobStadlhuber commented 2 years ago

Unfortunately, only entry information are in this database.