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

Optional exp field to be honoured by verifiers #213

Open
pvillela opened this issue Dec 2, 2021 · 2 comments
Open

Optional exp field to be honoured by verifiers #213

pvillela opened this issue Dec 2, 2021 · 2 comments

Comments

@pvillela
Copy link
Contributor

pvillela commented Dec 2, 2021

Following is a use case for issuing SHCs that have an expiration date. Country X needs to issue SHC vaccination certificates (visitor vaccination passes) to foreign visitors for their use while in the country. The visitor vaccination certificate is issued based on document(s) from the visitor's country of residence presented by the visitor to Country X. While there may be reasonable protocols for verification of the authenticity of the source information, Country X may not want to vouch for the validity of the information on the visitor pass for an unlimited period of time. For example, if at some point after the visitor has left Country X, there is reason for questioning or revoking the document that was used as the source for the visitor pass, then it could be very hard for Country X to learn about the problem and/or revoke the visitor pass. As a result, the visitor pass based on questionable information would continue to be valid.

An optional exp field to designate the expiration date for an SHC would address the above use case. Verifiers would be required to honour the expiration date and reject SHCs with an exp value before the current date-time.

@jmandel
Copy link
Member

jmandel commented Dec 2, 2021

Agree that documenting an optional field would be useful, along with commentary that we don't expect it to be routinely used when clinical data SHCs are issued by an authoritative source. Any chance you want to draft a PR @pvillela ?

@pvillela
Copy link
Contributor Author

pvillela commented Dec 3, 2021

I have created PR $214.

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

No branches or pull requests

2 participants