Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Constants and structures related to the Intel SGX ISA extension.
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"
}
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
To build the wasm code and the js/ts binding run in the js
folder:
npm run build-node
for nodejsnpm run build-bundler
for browser / webpacknpm run build
for one compatible with bothThen package the dependency by running npm pack
in the corresponding pkg
dir.
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 folderWe have four different test stages.
Regular tests written in Rust. Just call cargo test
.
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
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
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
FAQs
SGX structures parsing wrapper library for the Decentriq platform.
We found that sgx-ias-structs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.