-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cert type (vaccination, test, recovery) #23
Comments
You want to have a look at this: https://github.com/ehn-dcc-development/ehn-dcc-schema |
:-( I have read all files you have shared with me, but i do not understand which parameters i have to check... |
Line 2449 in 2d29bbe
The format of the date is described in the link in my last comment, and e.g. information about the Austrian verification rules can be found here: https://github.com/Federal-Ministry-of-Health-AT/green-pass-overview#business-rules-validation (No idea about other countries.) I.e. you would need to download the CertLogic rules from the link provided by the Austrian government and apply those rules using a CertLogic engine onto the ehc payload. (I think it will then answer with True or False , not with why it's True or False .)
I had no time or energy to code all that myself and it would be country specific anyway. |
Sorry Panzi, i cannot find in verify_ehc the kind of document to determine local rules.
Could you help me please?
days_exp = 365 #for example if the certificate is 2nd injection
expires_at = issued_at + timedelta(days=days_exp)
I would add if statement for 3 conditions (molecular test, 1st or 2nd injection)
Thank you very much.
The text was updated successfully, but these errors were encountered: