Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 884 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 884 Bytes

ValidationCore

Core functionality for validating EHN health certificates from QR codes. Suitable QR codes can be generated using https://dgc.a-sit.at/ehn/

Implements a very basic validation chain:

  1. Decode Base45-encoded QR code
  2. Remove scheme prefix
  3. Decompress with ZLib
  4. Verify COSE signature

Demo Application Code

A demo application using this package can be found at hcert-app-swift

Dependencies

The core functionality depends on https://github.com/ehn-dcc-development/base45-swift, https://github.com/unrelentingtech/SwiftCBOR and https://github.com/1024jp/GzipSwift. All dependencies are resolved as Swift Packages.