-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: JWT claims would overwrite the issuer object in the credential. …
…Disable Factom tests
- Loading branch information
Showing
5 changed files
with
74 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
packages/ssi-types/__tests__/vc_vp_examples/vc/vc_edu-plugfest-diwala.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"@context": [ | ||
"https://www.w3.org/2018/credentials/v1", | ||
"https://purl.imsglobal.org/spec/ob/v3p0/context.json" | ||
], | ||
"id": "urn:uuid:4f090e16-2d5f-49c7-bf0a-6db89d5637ff", | ||
"type": [ | ||
"VerifiableCredential", | ||
"OpenBadgeCredential" | ||
], | ||
"name": "JFF x vc-edu PlugFest 2 Interoperability", | ||
"issuer": { | ||
"type": [ | ||
"Profile" | ||
], | ||
"id": "did:key:z6MkrzXCdarP1kaZcJb3pmNi295wfxerDrmTqPv5c6MkP2r9", | ||
"name": "Jobs for the Future (JFF)", | ||
"url": "https://www.jff.org/", | ||
"image": "https://w3c-ccg.github.io/vc-ed/plugfest-1-2022/images/JFF_LogoLockup.png" | ||
}, | ||
"issuanceDate": "2022-11-04T12:32:03Z", | ||
"credentialSubject": { | ||
"type": [ | ||
"AchievementSubject" | ||
], | ||
"id": "did:key:z6MkmhiKsUB95WnSaV3YT8UqqmBMRDjXGHprrRXWbS94U26f", | ||
"achievement": { | ||
"id": "urn:uuid:04047d6a-a20e-4d58-847d-dbf13d22c2aa", | ||
"type": [ | ||
"Achievement" | ||
], | ||
"name": "JFF x vc-edu PlugFest 2 Interoperability", | ||
"description": "This credential solution supports the use of OBv3 and w3c Verifiable Credentials and is interoperable with at least two other solutions. This was demonstrated successfully during JFF x vc-edu PlugFest 2.", | ||
"criteria": { | ||
"narrative": "Solutions providers earned this badge by demonstrating interoperability between multiple providers based on the OBv3 candidate final standard, with some additional required fields. Credential issuers earning this badge successfully issued a credential into at least two wallets. Wallet implementers earning this badge successfully displayed credentials issued by at least two different credential issuers." | ||
}, | ||
"image": { | ||
"id": "https://w3c-ccg.github.io/vc-ed/plugfest-2-2022/images/JFF-VC-EDU-PLUGFEST2-badge-image.png", | ||
"type": "Image" | ||
} | ||
} | ||
}, | ||
"proof": { | ||
"type": "Ed25519Signature2018", | ||
"created": "2022-11-04T12:32:04Z", | ||
"verificationMethod": "did:key:z6MkrzXCdarP1kaZcJb3pmNi295wfxerDrmTqPv5c6MkP2r9#z6MkrzXCdarP1kaZcJb3pmNi295wfxerDrmTqPv5c6MkP2r9", | ||
"proofPurpose": "assertionMethod", | ||
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..fq3x2YvRtwxF4pGJQPvKLr31LPIUEfVLQg1sJ7b8ZuESFptVQDWi_wAzpSO5HIz4AdQx0omgjHpQYgvX_NaKCQ" | ||
} | ||
} | ||
|
1 change: 1 addition & 0 deletions
1
packages/ssi-types/__tests__/vc_vp_examples/vc/vc_edu-plugfest-velocity.jwt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NksiLCJraWQiOiJkaWQ6dmVsb2NpdHk6djI6MHhjMTY3MTUxNmMyMTQ1ZDcwYjM0MGY1NjBhYjFjYjU4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R0ZITUZJMFNYaHpJaXdpZVNJNklqRXROSGhMWjBwUGRGVnJiM1puUmpWcWNVYzFObUp4YW1sblQwSlRNV0ZPT0VkQk4xRXlhRGxSUm1zaWZRIiwiaWF0IjoxNjY3ODU2NTY5fQ.-SiM5d7UrYn1gdj2hU5T5LnLQzhIklOtoexbyebLMeha0K89vkujsbFN4HNFP2TSfRYFt0-jXwDaZ8RNKESwFA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters