Skip to content
This repository was archived by the owner on Jun 23, 2021. It is now read-only.
This repository was archived by the owner on Jun 23, 2021. It is now read-only.

M1 Demo fails with core dumped at get_publickey on some non-sgx machines #12

@brenzi

Description

@brenzi

Running the demo on a non-SGX machine

Fails with:

$ docker run -v $(pwd):/substraTEE/backup -ti substratee
root@0f766141f754:/substraTEE# /substraTEE/substraTEE-node-master/target/release/substratee-node --dev > node.log 2>&1 &
[1] 15
root@0f766141f754:/substraTEE# cd /substraTEE/substraTEE-worker-master
root@0f766141f754:/substraTEE/substraTEE-worker-master# ./bin/app getpublickey
Intercating with port 9944

*** Get the public key from the TEE

*** Starting enclave
[+] Home dir is /root
[-] Open token file /root/./bin/enclave.token error! Will create one.
[+] Init Enclave Successful. EID = 206158430210!
Illegal instruction (core dumped)
root@0f766141f754:/substraTEE/substraTEE-worker-master# ./bin/app getsignkey
Intercating with port 9944

*** Get the signing key from the TEE

*** Starting enclave
[+] Home dir is /root
[-] Open token file /root/./bin/enclave.token error! Will create one.
[+] Init Enclave Successful. EID = 210453397506!
Illegal instruction (core dumped)
root@0f766141f754:/substraTEE/substraTEE-worker-master# 

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions