{"id":41432009,"url":"https://github.com/webshield-dev/dhc-common","last_synced_at":"2026-01-23T14:32:29.121Z","repository":{"id":45442688,"uuid":"420205270","full_name":"webshield-dev/dhc-common","owner":"webshield-dev","description":"Contains code that is common across digital health cards (vc and eu dgc)","archived":false,"fork":false,"pushed_at":"2021-12-13T19:55:16.000Z","size":46,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-07-27T22:47:33.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webshield-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-22T18:35:02.000Z","updated_at":"2021-12-13T19:55:20.000Z","dependencies_parsed_at":"2022-09-19T05:51:06.209Z","dependency_job_id":null,"html_url":"https://github.com/webshield-dev/dhc-common","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/webshield-dev/dhc-common","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webshield-dev%2Fdhc-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webshield-dev%2Fdhc-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webshield-dev%2Fdhc-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webshield-dev%2Fdhc-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webshield-dev","download_url":"https://codeload.github.com/webshield-dev/dhc-common/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webshield-dev%2Fdhc-common/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-23T14:32:29.050Z","updated_at":"2026-01-23T14:32:29.108Z","avatar_url":"https://github.com/webshield-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dhc-common\nContains code that is common across digital health cards (vc and eu dgc)\n\n# Card Verifications\n\nVerification covers:\n1. Identity level\n    1. For v1, SafetyPASS just show the person's picture does NOT name check\n2. Vaccination Credential Level\n    1. Cards signature verifications\n        1. Get issuers public key - passed/failed\n        2. Verify card signature with issuers public key - passed/failed/not-checked\n    2. Card expired\n       1. Verify card not expired using exp - passed/failed/one\n    3. The issuer verifications\n        1. The issuer is on the CommonTrust or EP3 networks whitelist - passed/failed\n    4. The immunization requirements\n        1. Is a trusted vaccine - may vary by country - passed/failed\n        2. Vaccine specific\n            1. The required number of shots have been had\n            2. The time between doses was not exceeded, for example 17-92 days\n            3. At least some number of days (typically 14) has elapsed since last dose\n            4. future - Booster shots TDB how to handle\n\nThe card states are as follows, the order is ranked so check in that order\n\n1. **UnKnown** no verifications have been performed\n2. **Valid** (Green) \n   1. The card structure verifications have passed \n   2. The card has not expired\n   3. The issuer is trusted \n   4. The immunization requirements have been met\n3. **Corrupted Card** (Red)\n   1. Fetched issuer key and the signature is bad no other checks made\n      1. Note invalid cards cannot be loaded, but maybe something happened since loaded, or issuer key changed\n4. **UnVerified** (Orange) if cannot check signature then all else is untrusted\n   - get key failed so cannot check signature\n5. **Safety Criteria Not Met** (Orange) if safety criteria are not met does not matter if issuer is unknown or expired\n   - vaccine on whitelist: passed/failed\n   - required number shots have been met: passed/failed\n   - The time between doses was not exceeded, for example 17-92 days: passed/failed\n   - At least some number of days (typically 14) has elapsed since last dose: passed/failed\n6. **Issuer Unknown** -(Orange)  if issuer unknown then cannot trust\n   - issuer trusted - failed\n7. **Expired** - (Orange) if expired but trusted issuer and safety checks made it may be ok\n   - card expired","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebshield-dev%2Fdhc-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebshield-dev%2Fdhc-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebshield-dev%2Fdhc-common/lists"}