0.0.2 • Published 3 years ago
pttp v0.0.2
PTTP
Peer Talks To Peer, based on IPFS, CLI tool. It's a PoC of the p2p-secure chat, what we do is the following stuffs: 1. Deffie-Hellman exchange the session key 2. Using session key do the AES-192-CBC encrypt for the message text 3. Enjoy the non-censored & secure chat room.
Note
Currently it's un-stable, and only test in MDNS mode, and the relay mode is under developing --relayCircuit
, so you guys can try to use it when you have a public IP.
Install
$ npm install pttp -g
Usage
Create room
$ pttp create
# Run the above command in other machine:
# $ pttp join hDQzUKiovU/K4Weixl0EeLupJpN2U5tb
Join room
$ pttp join hDQzUKiovU/K4Weixl0EeLupJpN2U5tb