Complete the config.py file with the required configuration.
ID = # TODO My MQTT User
PASSWORD = # TODO Password to read the private key (or None)
# MQTT Conexion Configuration
MQTT_USER_NAME = # TODO
MQTT_PASSWORD = # TODO
MQTT_IP = # TODO
MQTT_PORT = # TODO
MQTT_KEEPALIVE = # TODO
Add the public keys to the pubkey_dictionary
dictionary inside pubkeys.py.
pubkey_dictionary = {
# TODO
}
Add the private and public ssh-rsa
keys to the src
folder.
A Pipfile is provided to create a virtual environment.
cd src
pipenv install
Use the python package with the desired option (a help menu is provided):
pipenv run python -m tor
Usage: python -m tor (activate | encrypt | send):
activate Activates tor node.
encrypt Prints output of nest encryption.
send Sends message using nest encryption.
Contributions are welcome! If you have improvements, bug fixes, or new modules to add, feel free to submit a pull request.
The content of this repository is licensed under the MIT License.
Feel free to get in touch with me!