Skip to content

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

License

Notifications You must be signed in to change notification settings

imrefazekas/harcon-ecdsa-warper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published