OpenU course 20940 final project, kerberos
Architecture:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -U pytest
then to run tests:
cd ./tests
pytest
- Auth Server
- Client
- Messaging Server
Client --> Auth Server: IDs, Nonce
Auth Server --> Client: EKc(Kc,s, Nonce), Ticket
Client -->Msg Server: Ticket, Authenticator
Msg Server -->Client: KeyAck
Client --> Msg Server: EKc,s(Message)
Msg Server -->Client: MsgAck
port.info
-> saves the port number (example: 1234)clients.info
-> clients data file with structure:ID:Name:PasswordHash:LastSeen:
servers.info
-> servers data file with structure:ID:Name:AESKey:
me.info
-> client data, see below for more detailsmsg.info
-> messaging server data, see belowsrv.info
-> servers addresses and ports
IP:PORT
NAME
UUID (HASH)
PORT
NAME
UUID (HASH)
Key (base64)