Questa web app offre la possibilità di aggiungere i vostri certificati di vaccinazione digitale Covid dell'UE come pass nelle vostre app preferite di wallet su iOS/watchOS o Android/wearOS.
Go to file
Marvin Sextro 68387b1eae
Merge pull request #157 from covidpass-org/dev
Romanian translation and minor fixes
2022-01-10 04:38:42 +01:00
.github Create FUNDING.yml 2021-07-26 00:53:58 +02:00
components Try to fix buttons 2022-01-10 04:04:29 +01:00
pages Increase timeout 2022-01-10 04:29:20 +01:00
public Integrate Romanian translation 2022-01-10 03:24:34 +01:00
src Improve QR code viewer and try to fix buttons 2022-01-10 03:10:40 +01:00
.dockerignore Initial commit 2021-06-25 12:18:25 +02:00
.gitignore Transition to typescript 2021-07-01 00:49:05 +02:00
Dockerfile Use Node.js 16 in Dockerfile 2021-12-25 21:07:45 +01:00
LICENSE Add license 2021-06-26 15:39:04 +02:00
README.md Improve readme 2021-07-01 16:44:54 +02:00
next-env.d.ts Downgrade Next.js 2021-12-25 19:24:23 +01:00
next-i18next.config.js Integrate Romanian translation 2022-01-10 03:24:34 +01:00
next-seo.config.js Remove extra icon from config 2021-06-30 12:14:40 +02:00
next.config.js Improve QR code viewer and try to fix buttons 2022-01-10 03:10:40 +01:00
package.json Added QR code viewer and fixed button behavior 2021-12-27 19:06:31 +01:00
postcss.config.js Initial commit 2021-06-25 12:18:25 +02:00
tailwind.config.js New color selector 2021-07-28 14:28:45 +02:00
tsconfig.json Upgrade to next.js 12 2021-11-11 23:26:17 +01:00
yarn.lock Added QR code viewer and fixed button behavior 2021-12-27 19:06:31 +01:00

README.md

CovidPass

This web app offers the ability to add your EU Digital Covid Vaccination Certificates as a pass into your favorite wallet apps on iOS/watchOS or Android/wearOS. CovidPass accomplishes this without sending your data to a server and instead only uses a hashed representation for the signing step.

Getting started

If you want to add your vaccination certificate into your wallet with CovidPass, there are two main options.

  • Use the CovidPass web app hosted by us
  • Use your own Apple Developer Certificate to generate a pass

Note that the latter option requires you to have an Apple Developer Account and is a more complicated process.

Quick start

Using our service

Running it yourself

Note that the following options do not have support for actually converting your certificates as they lack the API connection for the signing step. You can read about how you can use your own Apple Developer Certificate in the chapter below.

Debug the web app

yarn install
yarn dev

Run the Docker container

docker build . -t covidpass
docker run -t -i -p 3000:3000 covidpass

Deploy on your own server

We have a separate repository containing a docker-compose file which you can use for your own deployment of CovidPass.

FAQ

I do not want to trust a third party with my vaccination data, what makes this a secure option?

Processing of your data happens entirely in your browser and only a hashed representation is sent to the server for the signing step.

How do I make sure that nobody can access my vaccination pass from the lock screen (iOS)?

Navigate to the "TouchID & Code" or "FaceID & Code" or just "Code" section in the Settings and switch the toggle to off for Wallet in the section "Allow access from the lock screen". Also see this official guide from Apple.

Why don't the official apps offer this feature?

The official apps like Corona-Warn-App have decided against this feature due to security concerns. For example, this was discussed here or here.

Why is my certificate not recognized?

We are in an early development stage and actively working on improving support for all EU countries. Feel free to create an issue describing the problem you faced.

Using your own Apple Developer Certificate

Get your certificate

  • Sign into your Apple Developer Account

  • Go to Certificates, Identifiers and Profiles

  • Register a new Pass Type Identifier under the Identifiers tab

  • Create a new Pass Type ID Certificate under the Certificates tab

  • Select your previously created Pass Type Identifier in the process

  • Move your new certificate to the My Certificates tab in the keychain

  • Export your certificate as a .p12 file

  • Install node.js and download the passkit-keys script

  • Create a keys folder and put the .p12 file inside

  • Run ./passkit-keys <path to your keys folder>

  • You may have to type in the passphrase you defined during the export step

  • Base64 encode the contents of the newly generated .pem file inside the keys folder

Run the API locally

A description of how you can use your certificate locally with the API will be provided in the readme of the CovidPass API. To connect the web app to your local server, you have to set the API_BASE_URL environment variable accordingly.

Explanation of the process

The whole process of generating the pass file happens locally in your browser. For the signing step, only a hashed representation of your data is sent to the server.

First, the following steps happen locally in your browser:

  • Recognizing and extracting the QR code data from your selected certificate
  • Decoding your personal and health-related data from the QR code payload
  • Assembling an incomplete pass file out of your data
  • Generating a file containing hashes of the data stored in the pass file
  • Sending only the file containing the hashes to the server

Second, the following steps happen on the server:

  • Receiving and checking the hashes which were generated locally
  • Signing the file containing the hashes
  • Sending the signature back

Finally, the following steps happen locally in your browser:

  • Assembling the signed pass file out of the incomplete file generated locally and the signature
  • Saving the file on your device

Privacy policy of our service

You can find the full privacy policy of our service here.

Credits

The idea for this web app originated from the solution of an Austrian web developer, which only works for Austrian certificates at the moment.

Contribute

Any contribution to this project is welcome. Feel free to leave your suggestions, issues or pull requests. We are also looking for people to translate this web app for all EU countries.