c4dt / eid-demo

Diploma issuance using the Swiss Governments Public Sandbox Test Infrastructure
0 stars 0 forks source link

[Optional] Feat: adds credential expiration #4

Open lanterno opened 7 months ago

lanterno commented 7 months ago

This PR adds a dateOfExpiry field with a validation on that Date.

The validation is done using Zero Knowledge Proofs. As of now, the Esatus app crashes when this code is deployed so I don't plan on merging this PR, but we can update the PR later to do expiry validation in client side.