Socket
Book a DemoInstallSign in
Socket

harcon-ecdsa-warper

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harcon-ecdsa-warper

ECDSA-based warper entity for harcon for inter-service security

latest
Source
npmnpm
Version
2.2.34
Version published
Maintainers
1
Created
Source

Harcon-ecdsa-warper is a Warper entity for harcon-based microservices architectures allowing one to provide a strong inter-service security layer.

Quick setup

$ npm install harcon-ecdsa-warper

add add it to your harcon configuration:

let message = '' // a 32 char length word, maybe by clerobee or crypto.randomBytes
let harcon = new Harcon( {
	...
	barrel: { Warper: Warper, warper: { message: Buffer.from( message, 'utf8' ).toString('hex') } },
	...
} )

That will inject the Harcon-ecdsa-warper entity into the harcon to sign all outgoing messages and validate all incoming ones using the strong ECDSA algorithm.

Such security measurement is desired in a distributed environment facilitated by a proper transport layer ("Barrel") solution, like harcon-amqp or harcon-nats.

Keywords

ECDSA

FAQs

Package last updated on 03 Dec 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