Library for Cosmian MSE to bootstrap Flask application
Project description
MSE Lib SGX
MSE lib SGX is basically the library responsible to start the mse app.
Its work can be broken down into two parts:
- Start a configuration server in order to enable the app owner to send some private data required to make the app working
- Start the app server containing only the app owner code. This server is started when the previous one is stopped.
The app server has three connection modes:
- SSL using a certificate provided by the app owner
- SSL using a self signed certificate generated by the enclave itself. In that case, the certificate contains all the information needed to verify the code and the enclave trustworthiness
- No SSL: http only
The app owner code can be given encrypted or in plaintext.
Therefore, the configuration server enables the app owner to share these private data:
- The symetric key to decrypt the code and make the lib possible to start the app
- The private key of the SSL certificate if the SSL certificate is managed by the app owner
Installation
$ pip install -r requirements.txt
$ pip install .
Usage
$ mse-run --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
mse_lib_sgx-0.8-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file mse_lib_sgx-0.8-py3-none-any.whl
.
File metadata
- Download URL: mse_lib_sgx-0.8-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ccadbff61396b368ff4215ba988fabcbe5b607af7c43030b5ecd25425d81144 |
|
MD5 | 862771b50213fd5d4eccf199b06e24ab |
|
BLAKE2b-256 | dfc319788e5582da06fa13d1731f74c8ac02584490093921fe695ff60f91605d |