Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: add support for transferring state #1

Closed

Conversation

gianlucascopelliti
Copy link

No description provided.

gianlu33 and others added 30 commits January 22, 2021 10:01
* load and dump functions are now in corresponding Module/Node classes

* absolute paths

* loader functions checks

* absolute paths sgx/native

* glob.py now has only general stuff for any type. build mode as cli arg

* sancus key length is fixed

* refactor "build-mode" cli arg to "mode"

* structured rule evaluation

* rules are now stored in yaml files

* fixes and implement rules for "default" folder

* fixes, check if node supports module

* fix build mode

* minor stuff

* update tutorial to add new archs

* documented base.py files and minor fixes

* established attribute in connections and periodicevents plus minor stuff

* add module_id in SGX and Native nodes to deployment descriptor

* store current connection id, 'folder' attribute for SGX and native

* now can accept and dump both JSON and YAML

* add a couple of rules

* fixess

* sancus nonce fix
…#5)

* use attester to do SGX attestation

* SGX: update key generation

* update closing after exception

* fix minor bug

* update Makefile

* add pull target

* fix key conversion SGX

* native,sgx: sleep after sending deploy command

* aesm_port as SGXNode field

* fix moduleid in SGXNode and NativeNode

* improve deployment when there are no connections

* sgx: sleep after remote_attestation to give time to change state
…rovements (#6)

* remove trigger remote attestation

* attest & connect command, `port` and `attested` fields in modules

* separate deploy,attest and connect to respective commands

* fix attest_fut sgx

* fix sgx minor bugs

* add checks on attest() and connect()

* fix deploy sgx/native, update rules, fix dump funcs

* option to deploy/attest/connect only one module/connection

* create all temp data in ./build

* SGX: generate sp keys only if really needed

* add register() command for periodic events
* implement attest() in sancus

* fix attest()

* fix deps versions

* fix

* remove tag check in set_key

* update rust-sgx-gen version
* add files for building docker image

* add first workflow
* Add two new classes: TrustZoneNode and TrustZoneModule

* Add basic examples under examples/example_trustzone

Co-authored-by: Sepideh Pouyanrad <[email protected]>
gianlu33 and others added 28 commits October 18, 2021 18:05
- update CI
- remove examples (not used anymore here, we have a separate repo for them)
- improve code using autopep8 and pylint
- update README
* integrating with tzcodegen

* upgrade version

* fix formatting warning

* minor changes

Co-authored-by: Gianluca Scopelliti <[email protected]>
* update attester call

* removed unused import
* print stderr if run_async_output fails

* fix sgx attestation
* add old_node parameter and clone function

* add rule for old_node

* build dir: use fixed file names, sancus: deploy multiple times from the same SM code

* write update logic and fix

* formatting

* formatting pt.2

* disable first, connect later

* recording time

* upgrade version

* fix code-check
@gianlucascopelliti
Copy link
Author

gianlucascopelliti commented Aug 30, 2022

sorry, wrong repo 😓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants