- Getting started with Self Sovereign Identity SSI
- Create an OIDC credential Issuer with MATTR and ASP.NET Core
- Present and Verify Verifiable Credentials in ASP.NET Core using Decentralized Identities and MATTR
- Verify vaccination data using Zero Knowledge Proofs with ASP.NET Core and MATTR
- Challenges to Self Sovereign Identity
- Implement Compound Proof BBS+ verifiable credentials using ASP.NET Core and MATTR
- Get an account from MATTR (see MATTR docs)
- Add the secrets to your configuration
- Initialize your database
- Install a MATTR Wallet on your phone
- start application
- Install ngrok for the verifier application (npm)
- Add the secrets to your configuration
- Initialize your database
- Start application using for example http://localhost:5000
- Start ngrok using ngrok http http://localhost:5000 (like above)
- Copy the DID for the OIDC Issuer Credentials from the VaccineCredentialsIssuer UI
- Create a presentation template in the VaccineVerify (Use copied DID)
- Verify using the wallet and the application
{
// use user secrets
"ConnectionStrings": {
"DefaultConnection": "--your-connection-string--"
},
"MattrConfiguration": {
"Audience": "https://vii.mattr.global",
"ClientId": "--your-client-id--",
"ClientSecret": "--your-client-secret--",
"TenantId": "--your-tenant--",
"TenantSubdomain": "--your-tenant-sub-domain--",
"Url": "http://mattr-prod.au.auth0.com/oauth/token"
},
"Auth0": {
"Domain": "--your-auth0-domain",
"ClientId": "--your--auth0-client-id--",
"ClientSecret": "--your-auth0-client-secret--",
}
"Auth0Wallet": {
"Domain": "--your-auth0-wallet-domain",
"ClientId": "--your--auth0-wallet-client-id--",
"ClientSecret": "--your-auth0-wallet-client-secret--",
}
}
"family_name": "",
"given_name": "",
"date_of_birth": "",
// Pfizer/BioNTech Comirnaty EU/1/20/1528 , COVID-19 Vaccine Moderna EU/1/20/1507, Sputnik-V
"medicinal_product_code": "Pfizer/BioNTech Comirnaty EU/1/20/1528",
"number_of_doses": "2",
"total_number_of_doses": "2",
"vaccination_date": "2021-05-12",
"country_of_vaccination": "CH",
2021-12-07 Updated MATTR verify API
2021-12-04 Updated .NET 6
2021-09-25 Updated packages
2021-05-09 Updated packages, code clean up, improved random
dotnet ef migrations add vaccine_vc_issuer_init
Add-Migration "vaccine_vc_issuer_init"
dotnet restore
dotnet ef database update --context VaccineCredentialsIssuerMattrContext
Update-Database
https://w3c.github.io/json-ld-framing/
https://github.com/admin-ch/CovidCertificate-Apidoc
https://mattr.global/get-started/
https://www.youtube.com/watch?v=2_TDN-81ytM
https://learn.mattr.global/tutorials/dids/did-key
https://gunnarpeipman.com/httpclient-remove-charset/
https://www.lfph.io/wp-content/uploads/2021/02/Verifiable-Credentials-Flavors-Explained.pdf
https://www.xtseminars.co.uk/post/introduction-to-the-future-of-identity-dids-vcs
https://medium.com/decentralized-identity/where-to-begin-with-oidc-and-siop-7dd186c89796
https://www.evernym.com/blog/zero-knowledge-proofs/
https://www.lfph.io/wp-content/uploads/2021/02/Verifiable-Credentials-Flavors-Explained.pdf
https://anonyome.com/2020/06/decentralized-identity-key-concepts-explained/
In order to obtain a Credential on the mobile wallet you will need to use the OIDC Bridge, so try following this tutorial.
https://learn.mattr.global/tutorials/issue/oidc-bridge/issue-oidc
At the end of the tutorial you will have a client-bound Credential stored on the mobile wallet. You can then move to Verify a Credential tutorials, first setup a Presentation Template:
https://learn.mattr.global/tutorials/verify/presentation-request-template
Then you can setup your tenant to run the Verify flow, a quick way of doing that is to use a Sample App to orchestrate a number of steps:
https://learn.mattr.global/tutorials/verify/using-callback/callback-intro
Note: because you just have the 1 sandbox tenant, you will be issuing credentials and verifying them through the same instance, but Issuer and Verifier could easily be separate tenants on our platform or indeed any other interoperable platform.
https://learn.mattr.global/tutorials/verify/using-callback/callback-local
ngrok http http://localhost:5000
https://learn.mattr.global/tutorials/verify/using-callback/callback-e-to-e