Requirements:
golang v1.22
- Run
redis
on Docker:
docker run -d -p 6379:6379 redis/redis-stack-server:latest
- Run the server:
go run cmd/server/main.go
- Run the client with a username (like
alice
):
go run cmd/client/main.go alice
If the username does not exist yet, new keys will be created for this user and stored in secrets/.env.<username>
.
Alice
is the message senderBob
is the message receivercrypto/
contains the cryptographic utilitiesprotocol/
contains the Signal protocol implementation