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

Verify JSON-LD signatures embedded in Covid19 Certificate #2

Open
sikaili99 opened this issue Jul 19, 2022 · 2 comments
Open

Verify JSON-LD signatures embedded in Covid19 Certificate #2

sikaili99 opened this issue Jul 19, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@sikaili99
Copy link

sikaili99 commented Jul 19, 2022

Hi @georgepadayatti,

Have you tried a work round on verify JSON-LD signatures embedded in Covid19 Certificate todo task as mention in the readme? I came across this repo here that is close to https://www.npmjs.com/package/jsonld-signatures used by COWIN but I was unable to verify a COWIN certificate with this library.

I also found this function could be useful aries-cloudagent-python

I would appreciate any guidance to achieve this, thank you.

@georgepadayatti
Copy link
Member

@Mathewsmusukuma Unfortunately documentation has only vaguely mentioned the below,

Json-ld signature will be verified against the public key that is issued by the issuing authority.
(Step 6 - https://divoc.digit.org/platform/divocs-verifiable-certificate-features/verifying-a-divoc-certificate#offline-verification)

I did try to verify the signature using "Verify hash algorithm - Data Integrity 1.0 (W3C)", but during canonicalization, came to realise that the context (https://cowin.gov.in/credentials/vaccination/v1) provided in the VC is not valid.

I will keep this issue open, if you do find a solution, please feel free to raise a PR.

@georgepadayatti georgepadayatti self-assigned this Jul 19, 2022
@georgepadayatti georgepadayatti added enhancement New feature or request good first issue Good for newcomers labels Jul 19, 2022
@sikaili99
Copy link
Author

@georgepadayatti alright, I hope I find a solution to this. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants