Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/transmute-industries/respec-vc-jwt
W3C Verifiable Credential Plugin
https://github.com/transmute-industries/respec-vc-jwt
decentralized-identifiers respec verifiable-credentials w3c
Last synced: about 1 month ago
JSON representation
W3C Verifiable Credential Plugin
- Host: GitHub
- URL: https://github.com/transmute-industries/respec-vc-jwt
- Owner: transmute-industries
- License: apache-2.0
- Created: 2023-05-24T20:56:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-26T18:28:07.000Z (9 months ago)
- Last Synced: 2024-05-21T11:44:10.274Z (8 months ago)
- Topics: decentralized-identifiers, respec, verifiable-credentials, w3c
- Language: JavaScript
- Homepage: https://transmute-industries.github.io/respec-vc-jwt/
- Size: 2.79 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Verifiable Credential Service Worker Plugin for ReSpec
- [demo](https://decentralgabe.github.io/respec-vc-jose-cose/)
But with support for v2, and no JSON-LD processing.
# Usage
See [index.html](./index.html)
To use this extension, add the `respec-plugins` directory to your spec,
then configure respect to use the worker to post process like so:```html
Respec Service Worker Plugin Test
var respecConfig = {
// ...
postProcess: [window.respecVcJoseCose.processVcJoseCose]
};
```
You can choose to display `COSE`, `JWT`, and `SD-JWT` examples together, or individually using the following tags:
- Together: `vc-jose-cose`
- COSE: `vc-jose-cose-cose`
- JWT: `vc-jose-cose-jwt`
- SD-JWT: `vc-jose-cose-sd-jwt`### Credits
Based on https://github.com/transmute-industries/respec-vc-jwt, which was based on the original plugin here https://github.com/digitalbazaar/respec-vc