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


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

Uploaded Python 3

File details

Details for the file mse_lib_sgx-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: mse_lib_sgx-0.9.0-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

Hashes for mse_lib_sgx-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7546550a213ff6f27d0ec5d352155a2eeb41b198db299886fd6be2590dc8f248
MD5 62497646ac86970f8f9759fff05ee1da
BLAKE2b-256 9c49ab2d5e072e16efba947ade875b2ea2c84da9795670aab9cab631fc2c4b07

See more details on using hashes here.

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