Bootstrapping Remote Secure Key Infrastructure in Python
For a more detailed description of this project, please refer to the corresponding paper 10.5281/zenodo.13934557.
To install the BRSKI Python Implementation, follow these steps:
-
Clone the repository:
git clone https://github.com/dermrvn-code/BRSKI-PY
-
Navigate to the project directory:
cd BRSKI-PY
-
Install the required dependencies:
py install.py
Now everything is successfully installed and the BRSKI Python Implementation can be used.
To use the BRSKI Python Implementation, follow these steps:
-
Start the environment:
In every new terminal session, you need to start the environment by running the following command:
start_env.bat
-
Adjust the configuration
It might be necessary to adjust some configurations in the config.ini file.
-
Open the config.ini file
-
Revise the configurations, especially the ports of the different servers
-
Check if the preset ports are already in use on your machine
-
Adjust the ports if necessary
-
Save the file
-
-
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:- Run the script to generate all the necessary keys and certificates:
py brski-py/Certificates/generate_certificates.py
-
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
-
-
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
To generate a sphinx documentation for the BRSKI Python Implementation, follow these steps:
-
Start the virtual environment:
start_env.bat
-
Navigate to the docs directory:
cd docs
-
Build the documentation:
build_docs.bat
-
If the documentation was successfully built, you can find the HTML files in the
docs/build/html
directory.