Skip to main content

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 is given encrypted.

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


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.9.0-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page