origami-name-registry

0.3.4 • Public • Published

Origami name registry

Purpose

To authenticate then other party through challenge messages. The name registry itself provides the mechanism for verifying the challenge.

Requirements

  • privateKey: a private key in an acceptable format for crypto-utils. That format is currently PKCS1-PEM.

Usage

var NameRegistry = require('origami-name-registry');

var myRegistry = new NameRegistry(privateKey);

myRegistry
.authorizeNamespace(
  'OtherSide',
  publicKey1
);

myRegistry
.addPublicNamespace(
  'PublicConnections'
);

Readme

Keywords

none

Package Sidebar

Install

npm i origami-name-registry

Weekly Downloads

8

Version

0.3.4

License

ISC

Last publish

Collaborators

  • eazel7