Skip to content

A "Bootstrapping Remote Secure Key Infrastructure" (BRSKI) Demonstrator in Python

License

Notifications You must be signed in to change notification settings

dermrvn-code/BRSKI-PY

Repository files navigation



Bootstrapping Remote Secure Key Infrastructure in Python

Information

For a more detailed description of this project, please refer to the corresponding paper 10.5281/zenodo.13934557.

Table of Contents

Installation

To install the BRSKI Python Implementation, follow these steps:

  1. Clone the repository:

    git clone https://github.com/dermrvn-code/BRSKI-PY
  2. Navigate to the project directory:

    cd BRSKI-PY
  3. Install the required dependencies:

    py install.py

Now everything is successfully installed and the BRSKI Python Implementation can be used.

Usage

To use the BRSKI Python Implementation, follow these steps:

  1. Start the environment:

    In every new terminal session, you need to start the environment by running the following command:

    start_env.bat
  2. Adjust the configuration

    It might be necessary to adjust some configurations in the config.ini file.

    1. Open the config.ini file

    2. Revise the configurations, especially the ports of the different servers

    3. Check if the preset ports are already in use on your machine

    4. Adjust the ports if necessary

    5. Save the file

  3. Generate the necessary certificates:

    Be sure to set the correct ports beforehand, as some certificates get embedded URLs, with the ports specified in the config.ini.

    When starting the demonstrator for the first time, you need to generate all the necessary keys and certificates.
    To do so, follow these steps:

    1. Run the script to generate all the necessary keys and certificates:
    py brski-py/Certificates/generate_certificates.py
  4. Start the demonstrator:

    • Call the start_all.py script if already in environment:

      py start_all.py
    • Or start the demonstrator by just opening the start.bat file:

      start.bat
  5. Reset the demonstrator:

    If you want to reset the demonstrators logs and saved statuses, you can do so by running the brski-py/reset_process.py script:

    py brski-py/reset_process.py

Generate Docs

To generate a sphinx documentation for the BRSKI Python Implementation, follow these steps:

  1. Start the virtual environment:

    start_env.bat
  2. Navigate to the docs directory:

    cd docs
  3. Build the documentation:

    build_docs.bat
  4. If the documentation was successfully built, you can find the HTML files in the docs/build/html directory.

(Back to top)

About

A "Bootstrapping Remote Secure Key Infrastructure" (BRSKI) Demonstrator in Python

Topics

Resources

License

Stars

Watchers

Forks