~yujiri/sufec-server

Proof of concept Sufec server
sort messages properly
protocol update: bring back sender-side timestamps
commit Cargo.lock

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~yujiri/sufec-server
read/write
git@git.sr.ht:~yujiri/sufec-server

You can also use your local clone with git send-email.

Reference server implementation for the Sufec messaging protocol.

Each user has an inbox folder under inboxes named their base64-encoded ID, and a file under keys named the same that stores their public ephemeral key.

To bootstrap, just create ./inboxes/ and ./keys/.

To add a user account, just create their inbox folder and then connect once with a client to publish an ephemeral key.

The address to listen on is the first argument or [::].