Secure P2P communication, via public key exchange and multiple cyphers.
This project is our BMA and a collaboartion betwean andrashorber and me.
The program is executed on the pocket calculators that we already need for class at our School, the TI-Nspire CX CAS.
The programming language we will use is what the TI-Nspire supports, i.e. python 3.4.0
.
- clone the repo
- install dependencies
pip install -r requirements.txt
- create a virtual environment
python -m venv .venv
- activate the virtual environment
- Windows:
.venv\Scripts\activate
- Linux:
source ./.venv/bin/activate
To deactivate the venv type
deactivate
- update pip
python -m pip install --upgrade pip
- install the dev dependencies
pip install -r requirements-dev.txt
- add the env variables to your environment
export $(xargs < .env)
- Use pyenv to manage your python versions
If you can't install Python version 3.4.0 you probably need to install a older version of libssl. This isssue is currently tracked in here.
- Because this is a
MicroPython
implementation, it doesn't have a true source of random, likerandom.SystemRandom()
.