Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@interop/did-web-resolver

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interop/did-web-resolver

A did:web method Decentralized Identifier (DID) resolver for the did-io library.

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

did:web Resolver Driver (did-web-driver)

Build Status NPM Version

A did:web method Decentralized Identifier (DID) resolver for the did-io library.

Table of Contents

Security

TBD

Background

A did:web method driver for use with in-browser and server-side on Node.js with the did-io resolver library.

Draft spec (W3C CCG Work Item):

did:web Decentralized Identifier Method Specification

Other implementations:

Usage

import { CryptoLD } from 'crypto-ld'
import Ed25519KeyPair from 'ed25519-key-pair'

const cryptoLd = new CryptoLD()
cryptoLd.use(Ed25519KeyPair)

import { DidWebResolver } from '@interop/did-web-resolver'
const keyMap = { // default
  capabilityInvocation: 'ed25519',
  authentication: 'ed25519',
  assertionMethod: 'ed25519',
  capabilityDelegation: 'ed25519',
  // keyAgreement: 'x25519'  // <- not yet supported
}

const didWeb = new DidWebResolver({ cryptoLd, keyMap })

// Optionally use it with `did-io`
import { DidResolver } from 'did-io'
const didIo = new DidResolver()

didIo.use(didWeb)

Install

git clone https://github.com/interop-alliance/did-web-driver.git
cd did-web-driver
npm install

Contribute

PRs accepted.

License

The MIT License © Interop Alliance and Dmitri Zagidulin

FAQs

Package last updated on 02 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc