1
0
mirror of https://github.com/covidpass-org/covidpass.git synced 2025-02-22 14:37:51 +01:00

387 Commits

Author SHA1 Message Date
Ryan Slobojan
e3ab251aa5 Deleted unintentional add of Norwegian translation from EU upstream
* Also fixed log message which logged too much
2021-10-15 08:53:47 -04:00
Billy Lo
0a02bf5798 updated FAQ, added DOB and vacc name/date back onto Apple Wallet pass 2021-10-15 01:17:14 -04:00
Billy Lo
d1f70167b6 deployed version - 1.10.0 after merge and a few fixes 2021-10-14 23:07:52 -04:00
Billy Lo
84c1a91da2
Merge pull request #40 from billylo1/shc-refactoring
Add full SHC card generation support to the app
2021-10-14 22:27:58 -04:00
Billy Lo
b738349330
Merge branch 'main' into shc-refactoring 2021-10-14 22:25:45 -04:00
Billy Lo
e79213d76f Merge branch 'shc-refactoring' of https://github.com/billylo1/covidpass into shc-refactoring 2021-10-14 20:19:07 -04:00
Billy Lo
7170372afa fix for Apple Pass on new SHC receipts 2021-10-14 20:19:04 -04:00
Ryan Slobojan
7e31cd0235 Another copy/paste fix - apparently I was typing too fast when the ON keys were discovered :| 2021-10-14 19:25:01 -04:00
Ryan Slobojan
e2eca84972 Added second QC Key ID
* Apparently QC has been changing things around a bit:
https://github.com/fproulx/shc-covid19-decoder/issues/12#issuecomment-932668689
2021-10-14 16:45:35 -04:00
Ryan Slobojan
ef62f6d97e Update Yukon issuer data to match latest info from https://pvc.service.yukon.ca/issuer/.well-known/jwks.json 2021-10-14 16:38:58 -04:00
Ryan Slobojan
6d47367c40 Fix hasty copy/paste error :| 2021-10-14 16:33:35 -04:00
Ryan Slobojan
9f96e5953b Added docs comment re: ON accepted SHC issuers 2021-10-14 16:28:45 -04:00
Ryan Slobojan
bd2ec1a38d Added Ontario public key (thanks Andrew!) 2021-10-14 16:24:26 -04:00
Ryan Slobojan
5d13a6f1ad Completed list of CVX codes to include all known COVID vaccine codes to date 2021-10-14 12:17:08 -04:00
Ryan Slobojan
b4f42f946b Remove duplicated comment 2021-10-14 11:52:07 -04:00
Ryan Slobojan
b6bad308fd Logging cleanup 2021-10-14 10:39:31 -04:00
Ryan Slobojan
e2b0dcf694 Completed SHC implementation
* We now register SHCs using a different format than old-style ON cards
* server-side register function has been updated to split out old-style and
  SHC registrations and put them into different collections so we can easily
  delete old-style data when the code path is turned off
* Record SHCs (minus PII) from unexpected issuers so that we can
  proactively learn about and react to new SHC issuers or format changes
* Load API config exactly once and reuse it rather than reloading on every
  card generation
2021-10-14 10:32:02 -04:00
Ryan Slobojan
88e6af64b4 Merge branch 'shc-refactoring' of github.com:billylo1/covidpass into shc-refactoring
* 'shc-refactoring' of github.com:billylo1/covidpass:
  Add example of decoded Nova Scotia SHC
  Add Nova Scotia's public key
2021-10-13 17:47:25 -04:00
Ryan Slobojan
79150bc3ee Implemented SHC-specific Wallet cards
* Photos and Wallet cards have white background and black text
  to make them instantly visually differentiable from current pass
* Not possible to accurately determine vaccinated or not between
  provinces, so no decoration is added to the card
* Name only on card, to encourage scanning of proof-of-vaccination
  which leads to less fake documents (if people look at what's on
  the card and don't bother scanning, then if the QR code is garbage
  they will never know; field experience indicates scanning is rare)
* This is now ready for review, final testing, and deployment
* TBD: Add new datastore for tracking observed SHC issuers and
  vaccine data, to faciliate troubleshooting
2021-10-13 17:47:06 -04:00
Ryan Slobojan
23ba296531
Merge pull request #39 from corrmaan/shc-refactoring
Add example of decoded Nova Scotia SHC
2021-10-13 09:35:42 -04:00
Cory Marshall
6a57d537a0 Add example of decoded Nova Scotia SHC 2021-10-12 12:50:18 -03:00
Ryan Slobojan
f2fcac8372
Merge pull request #38 from corrmaan/shc-refactoring
Add Nova Scotia's public key
2021-10-12 11:31:22 -04:00
Ryan Slobojan
1b9d592d25
Merge branch 'shc-refactoring' into shc-refactoring 2021-10-12 11:31:11 -04:00
Ryan Slobojan
cb16adefc1 Added issuer display names, and NS issuer info (Thanks @corrmaan!)
* All issuers now have display names which will go onto generated cards
* Some other minor cleanup as part of a pending code change for SHC
  receipt support
2021-10-12 11:29:43 -04:00
Cory Marshall
8d3176bd92 Add Nova Scotia's public key 2021-10-12 11:56:50 -03:00
Ryan Slobojan
8376ea6bb0 Merge remote-tracking branch 'origin/main' into shc-refactoring
* origin/main:
  add reference to setup.md
  Add Alberta's public key
2021-10-10 19:06:41 -04:00
Ryan Slobojan
bdc3a052a0 Further SHC refactoring
* Standardized handling of SHC data to generate receipt objects
* Added examples of decoded SHC data for ease of reference and for knowledge-sharing
* Refactored decoder to make logic more standardized for cross-region decoding, and
   eliminated most special-case handling
* Added rejection of non-verified SHC issuers for card generation
* Added rejection of non-COVID SHC cards for card generation
2021-10-10 19:05:54 -04:00
Billy Lo
7da3e297a2 build3 script 2021-10-10 14:14:42 -04:00
Billy Lo
e904ec9dde minor fixes to make it easier 2021-10-10 14:08:49 -04:00
Ryan Slobojan
1ecb61f2ca Added documentation around what code to delete Oct. 22nd to turn off old-style QR code generation 2021-10-10 11:51:27 -04:00
Billy Lo
03c49f3be9
add reference to setup.md 2021-10-09 08:45:24 -04:00
Billy Lo
c5d455dfab scaffolding is all working - need to format stuff a bit before beta release 2021-10-09 08:39:17 -04:00
Marvin Sextro
4f749442d6
Merge pull request #110 from covidpass-org/localization
Norwegian Translation
v0.4.7
2021-10-09 14:10:05 +02:00
Marvin Sextro
c8897532da
Merge pull request #82 from unk1nd/main
Norwegian Translation
2021-10-09 14:02:42 +02:00
Ryan Slobojan
d24e218f8c WIP: SHC code handling refactoring
* QR code rendering for SHCs fixed for images - had to use
  Nuintun QRcode lib and render in 2 chunks (byte and numeric),
  was not possible to do this with zxing
* Add support for image file processing (Thanks upstream!)
* Added support for scanning all pages in a PDF for SHC codes
* Simplified ON receipt detection algorithm (well-known PDF info)
* Re-hide render canvas at bottom of page
* Minor README updates
* TBD: Handle multi-jurisdiction SHCs cleanly (not all data is being
  properly passed along at the moment leading to missing card data)
* TBD: blow up if invalid issuer detected in SHC (currently allows
  card creation even with invalid issuer)
2021-10-08 23:05:58 -04:00
Ryan Slobojan
b5e09a7928
Merge pull request #36 from grepme/patch-1
Add Alberta's public key
2021-10-08 08:39:25 -04:00
Kyle Richelhoff
f4a9515803
Add Alberta's public key 2021-10-07 23:43:57 -06:00
Ryan Slobojan
06e360df87 Send Promise reject as an Error, not a string
* Also filter from Sentry reporting
2021-10-07 20:35:57 -04:00
Ryan Slobojan
384624605a Try to improve handling on image-only PDFs which are detected as QC SHC PDFs
* Also remove .png from select box since we don't actually support it right now
2021-10-06 22:05:29 -04:00
Ryan Slobojan
38a02e5d00 Add in the data we have so far on AB's SHC impl
* Their key will eventually show up at https://skphr.prd.telushealthspace.com/.well-known/jwks.json
   however they appear to have misconfigured CloudFlare and that URL redirects to /home, which
   means none of the SHCs issued by AB to date can be validated :(
2021-10-06 18:02:13 -04:00
Ryan Slobojan
d0eafe76c8 Added more Sentry message filtering, improved PDF metadata analysis 2021-10-06 18:00:56 -04:00
Ryan Slobojan
5fc81b82a8 More Sentry fixes and app error handling
* Bump lockfile ver of pdjjs-dist to match package.json definition
* Also added dev env wiring code for Vagrant VM
* Increment app version to 1.9.19
* Assorted logging cleanup and debugging addition around QC and BC SHC codes to help improve SHC code detection
2021-10-06 16:24:35 -04:00
Ryan Slobojan
99c66260a7 Lots of Sentry error handling cleanup (don't log known situations)
* Also fixed duplicated words on multi-dose selection
* Bump rev to 1.9.18
2021-10-06 13:10:36 -04:00
Ryan Slobojan
3ae22de2f1
Merge pull request #32 from billylo1/polyfill-starts-with
Add a polyfill for String.prototype.startsWith
2021-10-05 12:56:28 -04:00
Ryan Slobojan
33af99c529 Merge remote-tracking branch 'origin/main' into polyfill-starts-with
* origin/main: (23 commits)
  Fix typo in expiry date (10-23 -> 10-22), bump page rev
  name fix for photo receipts
  updated save photo headings and added expiry
  Fix for pdfjs type imports
  tuned the dates heading / details a bit.
  added expiry date to pass
  added expiration date and default to ON logic
  Fix input element not accepting PDFs on older iOS devices
  Fix Save Photo not working on iOS due to html-to-image error when handling   on that platform.
  cleaned up console logging to be ready for main branch merge
  pre-merge with main updates
  Added Saskatchewan SHC issuer info
  Stop splitting vaccinename so we can detect AZ correctly
  special handling of shc code from QC
  Failed to locate ByteRange is an expected error
  specify error correction level of QR code in photos to make it compatible with BC scanner app
  functional shc (including photo)
  add to wallet working now - working on photos portion
  verifyJWS working now... picked up latest issuer code
  SHC - Smart Health Card support. Parse QR code from PNG image and parse it into Payload
  ...
2021-10-05 12:34:35 -04:00
Ryan Slobojan
c608b2d6a6
Merge pull request #33 from billylo1/improve-logging-when-not-digitally-signed
Failed to locate ByteRange is an expected error
2021-10-05 12:33:13 -04:00
Ryan Slobojan
cdf3748317 Merge remote-tracking branch 'origin/main' into improve-logging-when-not-digitally-signed
* origin/main: (22 commits)
  Fix typo in expiry date (10-23 -> 10-22), bump page rev
  name fix for photo receipts
  updated save photo headings and added expiry
  Fix for pdfjs type imports
  tuned the dates heading / details a bit.
  added expiry date to pass
  added expiration date and default to ON logic
  Fix input element not accepting PDFs on older iOS devices
  Fix Save Photo not working on iOS due to html-to-image error when handling   on that platform.
  cleaned up console logging to be ready for main branch merge
  pre-merge with main updates
  Added Saskatchewan SHC issuer info
  Stop splitting vaccinename so we can detect AZ correctly
  special handling of shc code from QC
  specify error correction level of QR code in photos to make it compatible with BC scanner app
  functional shc (including photo)
  add to wallet working now - working on photos portion
  verifyJWS working now... picked up latest issuer code
  SHC - Smart Health Card support. Parse QR code from PNG image and parse it into Payload
  Add support for iPhone 6 iOS 12.5
  ...

# Conflicts:
#	src/process.ts
2021-10-05 12:32:53 -04:00
Ryan Slobojan
58739b8212 Fix typo in expiry date (10-23 -> 10-22), bump page rev 2021-10-05 12:12:42 -04:00
Jason Liu
26ce0bb965 Merge branch 'main' of https://github.com/billylo1/covidpass into main 2021-10-04 20:24:45 -04:00
Jason Liu
1f57403cd7 name fix for photo receipts 2021-10-04 20:23:43 -04:00