ImportError: cannot import name 'get_tbssigstruct' from 'graminelibos' (/usr/local/lib/python3.8/dist-packages/graminelibos/__init__.py)

4 views
Skip to first unread message

wmcdyx2021

unread,
Apr 24, 2022, 3:42:52 AMApr 24
to us...@gramineproject.io

When I build gramine like:
cd ~/gramine/CI-Examples/bash
make SGX=1

It will get this error:
root@xxx:~/gramine/CI-Examples/bash# make SGX=1
gramine-sgx-sign
--key ../../Pal/src/host/Linux-SGX/signer/enclave-key.pem
--manifest bash.manifest
--output bash.manifest.sgx
Traceback (most recent call last):
File "/usr/local/bin/gramine-sgx-sign", line 10, in
from graminelibos import Manifest, get_tbssigstruct, sign_with_local_key
ImportError: cannot import name 'get_tbssigstruct' from 'graminelibos' (/usr/local/lib/python3.8/dist-packages/graminelibos/init.py)
make: *** [Makefile:26: bash.manifest.sgx] Error 1

How should I solve this problem?
Could you help me?
Thanks a lot in advance!



 

Reply all
Reply to author
Forward
0 new messages