Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedevminertv/crypchat
CrypChat is a distributed and end-to-end encrypted chat platform.
https://github.com/thedevminertv/crypchat
Last synced: about 1 month ago
JSON representation
CrypChat is a distributed and end-to-end encrypted chat platform.
- Host: GitHub
- URL: https://github.com/thedevminertv/crypchat
- Owner: TheDevMinerTV
- Created: 2021-01-21T10:05:39.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:14:09.000Z (11 months ago)
- Last Synced: 2023-12-15T06:29:31.252Z (11 months ago)
- Language: TypeScript
- Size: 41 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CrypChat
CrypChat is a distributed and end-to-end encrypted chat platform.
## Security
This is a project I whipped up for school in about four days, do not expect it to be actually secure.
## Configuring
Create a file named `config.json` with the following content in it (you may change the values):
Explanation of the configuration:
- `peerName`: This is the name of your client
- `host`: This is the IP where the WebSocket server should listen on
- `port`: This is the port where the WebSocket server should listen on
- `seedPeers`: These are all other peers the you want to recieve more peers from```json
{
"peerName": "Alice","host": "0.0.0.0",
"port": 8009,"seedPeers": ["ws://127.0.0.1:8010"]
}
```## TODO
- [ ] PeerManager
- [ ] Proxy sent messages to all other peers
- [ ] CryptoClient
- [x] Generate IV
- [ ] Use ECIES
- [ ] CLI
- [ ] Send chat messages
- [ ] Manually connect to peers
- [ ] Disconnect peers## Possible exploits
- MITM the handshake process
- capture the public keys of both parties and "intercept-decrypt-dump-encrypt-send" the packets between the peers