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

Invalid base context in example-016-jwt.jwt #103

Open
kdimak opened this issue Dec 20, 2019 · 1 comment
Open

Invalid base context in example-016-jwt.jwt #103

kdimak opened this issue Dec 20, 2019 · 1 comment

Comments

@kdimak
Copy link

kdimak commented Dec 20, 2019

When decoded, VC inside JWS (example-016-jwt.jwt) is incorrect:

{
  "@context": [
    "https://w3.org/2018/credentials/v1",
    "https://example.com/examples/v1"
  ],
  "credentialSubject": {
    "degree": {
      "name": "Bachelor of Science in Mechanical Engineering",
      "type": "BachelorDegree"
    }
  },
  "expirationDate": "2019-11-06T08:42:03Z",
  "id": "http://example.edu/credentials/3732",
  "issuanceDate": "2018-11-06T08:42:04Z",
  "issuer": "did:example:abfe13f712120431c276e12ecab",
  "type": [
    "VerifiableCredential",
    "UniversityDegreeCredential"
  ]
}

as the first context must be https://www.w3.org/2018/credentials/v1 (according to https://w3c.github.io/vc-data-model/#contexts).
And here www is missing (currently the context is https://w3.org/2018/credentials/v1).

@kdimak
Copy link
Author

kdimak commented Dec 20, 2019

@awoie Can we apply #102 where the @context has the correct value?

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