Skip to main content

SGX structures parsing wrapper library for the Decentriq platform.

Project description

sgx-ias-structs

Constants and structures related to the Intel SGX ISA extension.

Getting started

JavaScript / TypeScript

Add the package from folder js/pkg as dependency to the package.json in your project:

  "dependencies": {
    "sgx-ias-structs": "file:sgx-ias-structs-[version].tgz"
  }

Python

Install the wheel from folder py/pkg by running pip3 install sgx_ias_structs.whl and then just import sgx_ias_structs at the top of your python script

🎁 Build & Package

JavaScript / TypeScript

To build the wasm code and the js/ts binding run in the js folder:

  • npm run build-node for nodejs
  • npm run build-bundler for browser / webpack
  • npm run build for one compatible with both

Then package the dependency by running npm pack in the corresponding pkg dir.

Python

To build the python bindings you'll need maturin. Run in the py folder:

  • pip3 install maturin to install maturin
  • ./build.sh to build the wheel for the current platform in the pkg folder

🛠️ Test

We have four different test stages.

Rust

Regular tests written in Rust. Just call cargo test.

WASM

Some test can be specified to run in the node wasm interpreter. They are defined using the [wasm_bindgen_test] attribute. In order to run them go execute the following command in the js folder:

npm run wasm-test

JavaScript / TypeScript

There also are some tests for the JavaScript bindings using mocha and chai.
They are defined in the folder js/tests and can be run using the following command:

npm run test

Python

There also are some tests for the Python bindings using tox.
They are defined in the folder py/tests and can be run using the following command:

tox

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 Distributions

sgx_ias_structs-0.1.9-cp312-none-win_amd64.whl (135.1 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

sgx_ias_structs-0.1.9-cp312-none-win32.whl (129.8 kB view hashes)

Uploaded CPython 3.12 Windows x86

sgx_ias_structs-0.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (638.8 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

sgx_ias_structs-0.1.9-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl (733.0 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ s390x

sgx_ias_structs-0.1.9-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (644.2 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ppc64le

sgx_ias_structs-0.1.9-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (640.7 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARMv7l

sgx_ias_structs-0.1.9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (638.9 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

sgx_ias_structs-0.1.9-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl (662.1 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.5+ i686

sgx_ias_structs-0.1.9-cp312-cp312-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (489.9 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

sgx_ias_structs-0.1.9-cp312-cp312-macosx_10_7_x86_64.whl (248.6 kB view hashes)

Uploaded CPython 3.12 macOS 10.7+ x86-64

sgx_ias_structs-0.1.9-cp311-none-win_amd64.whl (134.9 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

sgx_ias_structs-0.1.9-cp311-none-win32.whl (130.0 kB view hashes)

Uploaded CPython 3.11 Windows x86

sgx_ias_structs-0.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

sgx_ias_structs-0.1.9-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl (749.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ s390x

sgx_ias_structs-0.1.9-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (645.0 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

sgx_ias_structs-0.1.9-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (642.3 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARMv7l

sgx_ias_structs-0.1.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (639.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

sgx_ias_structs-0.1.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl (663.5 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.5+ i686

sgx_ias_structs-0.1.9-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (492.1 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

sgx_ias_structs-0.1.9-cp311-cp311-macosx_10_7_x86_64.whl (249.8 kB view hashes)

Uploaded CPython 3.11 macOS 10.7+ x86-64

sgx_ias_structs-0.1.9-cp310-none-win_amd64.whl (135.1 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

sgx_ias_structs-0.1.9-cp310-none-win32.whl (130.0 kB view hashes)

Uploaded CPython 3.10 Windows x86

sgx_ias_structs-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

sgx_ias_structs-0.1.9-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (749.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

sgx_ias_structs-0.1.9-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (645.0 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

sgx_ias_structs-0.1.9-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (643.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARMv7l

sgx_ias_structs-0.1.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (639.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

sgx_ias_structs-0.1.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl (663.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ i686

sgx_ias_structs-0.1.9-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (492.1 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

sgx_ias_structs-0.1.9-cp310-cp310-macosx_10_7_x86_64.whl (249.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.7+ x86-64

sgx_ias_structs-0.1.9-cp39-none-win_amd64.whl (135.6 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

sgx_ias_structs-0.1.9-cp39-none-win32.whl (130.3 kB view hashes)

Uploaded CPython 3.9 Windows x86

sgx_ias_structs-0.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

sgx_ias_structs-0.1.9-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (750.0 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

sgx_ias_structs-0.1.9-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (645.7 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

sgx_ias_structs-0.1.9-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (643.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARMv7l

sgx_ias_structs-0.1.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (640.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

sgx_ias_structs-0.1.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (664.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

sgx_ias_structs-0.1.9-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (492.9 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

sgx_ias_structs-0.1.9-cp39-cp39-macosx_10_7_x86_64.whl (250.2 kB view hashes)

Uploaded CPython 3.9 macOS 10.7+ x86-64

sgx_ias_structs-0.1.9-cp38-none-win_amd64.whl (134.7 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

sgx_ias_structs-0.1.9-cp38-none-win32.whl (129.5 kB view hashes)

Uploaded CPython 3.8 Windows x86

sgx_ias_structs-0.1.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

sgx_ias_structs-0.1.9-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (749.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ s390x

sgx_ias_structs-0.1.9-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (645.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

sgx_ias_structs-0.1.9-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (641.8 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARMv7l

sgx_ias_structs-0.1.9-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (639.8 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

sgx_ias_structs-0.1.9-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl (664.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ i686

sgx_ias_structs-0.1.9-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (491.3 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

sgx_ias_structs-0.1.9-cp38-cp38-macosx_10_7_x86_64.whl (249.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.7+ x86-64

sgx_ias_structs-0.1.9-cp37-none-win_amd64.whl (134.6 kB view hashes)

Uploaded CPython 3.7 Windows x86-64

sgx_ias_structs-0.1.9-cp37-none-win32.whl (129.5 kB view hashes)

Uploaded CPython 3.7 Windows x86

sgx_ias_structs-0.1.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (639.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

sgx_ias_structs-0.1.9-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl (749.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ s390x

sgx_ias_structs-0.1.9-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (645.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ppc64le

sgx_ias_structs-0.1.9-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (641.8 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARMv7l

sgx_ias_structs-0.1.9-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (639.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

sgx_ias_structs-0.1.9-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl (664.2 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ i686

sgx_ias_structs-0.1.9-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (491.2 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

sgx_ias_structs-0.1.9-cp37-cp37m-macosx_10_7_x86_64.whl (249.5 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

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