1.0.2 • Published 5 years ago
authenticated-pipe v1.0.2
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.
Installation
npm install authenticated-pipe -gOr 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 messageContributing
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.