Simple Shared Key Mutual Authentication allows secure communication between two parties, like Alice and Bob, who share a secret key.
- Alice initiates by sending a random challenge.
- Bob encrypts this challenge with the shared key and sends it back.
- Alice decrypts it with the same key.
- If successful, she knows Bob has the key.
- Then, Alice sends her own challenge, and Bob repeats the process.
This confirms both parties' identities and allows them to communicate securely.
- Clone the repository to a local folder.
- CD into the folder.
- Run the following to create a virtual environment:
python3 -m venv env
- Activate the virtual environment (Ubuntu/Linux):
source env/bin/active
- Run the program:
python3 sskma.py
- Follow the prompts!