Skip to content

[2023/2024] Information Security: Lab assignment I - Onion Routing

License

Notifications You must be signed in to change notification settings

danielfeitopin/MUNICS-SI-Lab1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MUNICS SI Lab1

Information Security: Lab assignment I - Onion Routing

Python License: MIT GitHub issues GitHub stars

Table of Contents

Configuration

Configure Files

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 Keys

Add the private and public ssh-rsa keys to the src folder.

Set up the virtual environment

A Pipfile is provided to create a virtual environment.

cd src
pipenv install

Usage

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.

Contributing

Contributions are welcome! If you have improvements, bug fixes, or new modules to add, feel free to submit a pull request.

License

The content of this repository is licensed under the MIT License.

Contact

Feel free to get in touch with me!

GitHub LinkedIn

About

[2023/2024] Information Security: Lab assignment I - Onion Routing

Topics

Resources

License

Stars

Watchers

Forks

Languages