This is a C# Console App which converts files from the dgc-testdata official repository to the trustlist format used in lpisano's Green Pass Validator.
First, clone this repository
git clone https://github.com/Mrizzi-96/dgc-testdata-trustlist.git
Then, initialize submodules in the assets folder in order to use the official testdata repository
git submodule init
git submodule update
Lastly, Start the console app. You will find your formatted trustlist in a file called cached_trust_list.json
.
Remember that validation using dgc-testdata's certificates needs to be done at the moment which is written in the TESTCTX.VALIDATIONCLOCK
JSON property. See their README file for clarification.
See LICENSE.txt.