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

Signing EarthState Artifact Using DIDKit e.g. hydroelec.project1.json #1

Open
wip-abramson opened this issue Feb 18, 2022 · 0 comments

Comments

@wip-abramson
Copy link
Member

I tried to sign this earthstate artifact - https://github.com/LegReq/artifacts/blob/main/rec/hydroelec.project1.json

Couple of things I noticed.

  • It isn't currently conformant
    -- Missing the credentialSubject & issuanceDate fields
    -- I think type should be ["VerifiableCredential", "REC2022/Proposal"]
    -- I also wondered if all the extra fields e.g. geographicLocation should be within a credentialSubject object

  • To sign with the didkit-cli we have to have defined the contexts that describe the schema of the VC.
    -- Can do this directly in the context e.g. ["https://www.w3.org/2018/credentials/v1",{"givenName": "schema:givenName"}],
    -- Or with a resolvable url e.g. https://www.w3.org/2018/credentials/examples/v1

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

1 participant