Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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