r/coolgithubprojects • • 18m ago

xchange - a cli base tool for message/file transfer using strong encryption and authentication

https://github.com/user66352/xchange

A few month ago i was looking for an easy to setup terminal based alternative to quickly send a message from my notebook to my main system.

Sure scp/ssh exists but for just a quick message or file forwarding that felt a bit excessive.

So i started digging into socket programming and quickly got a very simple client/server setup.

Over time more and more options got added.

It is now at a level where i consider all basic functionalities implemented:

- end-to-end-encrypted

- clients can be authenticated based on symmetric or public keys

- strong and well researched encryption algorithms (ChaCha, XChaCha, AES, Twofish)

- all encryption methods using message authentication

- authenticated key exchange to achieve forward secrecy

- a GNU-like command line interface for simple script integration

- no passwords, only pre-shared keys, so after launching the client no further interaction is required

A few more features are planned. Like:

- IPv6

- quotas on the server

I post this to seek some feedback on what other functions might be useful to integrate.

But i also want to highlight this project has a very narrow scope.

It has only one purpose, to provide a quick and easy way to send messages or files from system A to system B through a secure channel in a potentially untrustworthy network with as little effort as possible.

1 Upvotes

0 comments sorted by