So I thought it would be cool to have a messaging service where there is kind of a decentralized server and where the message data cannot be decrypted by the server. It's kind of like a private messaging service for your family that only family members can be a part of.
I know I know, never implement your own crypto, but I had a lot of fun with this, and I think its pretty secure if you keep it running on your Local Area Network. Also, I know this is mostly a software hack, but I'm thinking in the future it could be cool to parse messages sent to the server that blinks a LED or something.
The code although functional is still being improved. There are prebuilt arm binaries to make it a little less painful to get going.
Anyway, blah blah, have fun!
Step 1Setup Server on CHIP or Raspberry PI in HOME directory or your choice:
git clone https://bobburns@gitlab.com/bobburns/fam-server-bin.git
Create server key and add users. How-to.
Step 2Setup Clients on pocketCHIP:
git clone https://bobburns@gitlab.com/bobburns/fam-client-bin.git
Create keys and RSA key pair. How-to.
Step 3Exchange keys. Server needs a copy of clients public key. Client needs a copy of server public key. Do this with USB or SCP.
Step 4Start up server listening on port 16538:
./server &
Connect to Server from pocketChip:
./clientView <ip of server>:16538
username:
password:blabla
Key commands found here
UpdateIn fam-client-bin or fam-server-bin path:
git pull origin master
Code repositories:Packages if you want to build from source:
You will also need tncardoso/gocurses that requires ncurses libraries:
Comments