authenticated-pipe

1.0.2 • Public • Published

authenticated-pipe

Make sure you receive data from the right person. Goes hand in hand with airpaste (to magically send your data through the local network) and private-pipe (to encrypt the data during transport).

Note: This library has not been cryptographically audited. Use it with a grain of salt.

npm version build status ISC-licensed support me via GitHub Sponsors chat with me on Twitter

Installation

npm install authenticated-pipe -g

Or run it directly using npx.

Usage

Sign & send data:
	auth-pipe send
Receive data:
	auth-pipe receive [peer-public-key]

As an example, we're going to send secret message via airpaste, encrypted via private-pipe and authenticated via auth-pipe:

# machine A
echo 'secret message' | auth-pipe send | private-pipe 'secret password' | airpaste
# Your identity: 😄📊👉💧🙏💬

# machine B
airpaste | private-pipe 'secret password' | auth-pipe receive 😄📊👉💧🙏💬
# Sender identity 😄📊👉💧🙏💬 matches.
# secret message

Contributing

If you have a question or need support using authenticated-pipe, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

Package Sidebar

Install

npm i authenticated-pipe

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • derhuerst