Skip to content
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

Create attestations #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Create attestations #3

wants to merge 3 commits into from

Conversation

marcinczenko
Copy link
Member

@marcinczenko marcinczenko commented May 3, 2020

This PR enables care professionals to create COVID attestations for the registered users.

How attestations will be verified?

When the user logs into his hospital account, he will see if there are any attestations available.
If the user is already logged in with Identity Box, then the user can directly scan the attestation QRCode and have the attestation bound to the currently used DID. Otherwise, the user needs to first select the DID he wants to use for the attestation with his Identity App, connect with his Identity App to the browser and then the attestation will be bound to this DID and transferred to the user's device. In other words, only one scanning of the QR code is required.

Because the attestation is kept on the user's mobile, the user can present the attestation as a QR-Code to the verifier. The verifier can verify the attestation by simply scanning the presented code with the Identity App.

For the service providers, the user would first connect to the service provider web app in the browser and then the service provider my request a specific attestation. The user then select the attestation that he wants to share with the service provider and this attestation is then securely transferred to the service provider web app, where it can be verified used the service provider's Identity Box by acquiring the public key of the attestation issuer and verifying the signature.

Regenerating attestations

This is a working name and perhaps it will be covered by another PR. An interesting case is when the user has an attestation with multiple attributes. For instance, an attestation from the state my include your age, address, tax number, etc. Sometimes you only want to share a subset of the attributes or even you may like to generate an on the fly attestation containing only a subset of the attributes and bound to another DID of yours. How are we going to solve this? Do we want it to be solved?

@vercel
Copy link

vercel bot commented May 3, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/identity-box/covid-19/kkf8r17y3
✅ Preview: https://covid-19-git-create-attestations.identity-box.now.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant