-
Notifications
You must be signed in to change notification settings - Fork 76
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
kmstool_enclave_cli throws error #117
Comments
I have the same issue. Followed the same steps and "successfully" compiled kmstool_enclave_cli. But when calling this binary file by server.py I get the same error: |
First of all, Second, the exec format error is because you are building the binary on local machine, which may have different architecture from the enclave, so the enclave cannot run it. You can try adding |
Following a focused discussion between myself and @dpdornseifer, we have deemed it necessary to migrate this particular issue to a new thread on Samples GitHub Repo: aws-samples/aws-nitro-enclave-blockchain-wallet#12 Consequently, we can consider the current thread closed. Thank you @richardfan1126 🙏 for the support provided. I also think it's platform-related. Cheers |
@florianpreusner Thanks for your action. I didn't foresee a wide-range usage when I was building the CLI 3 years ago, so I didn't take different CPU architectures into account. I will also do the testing on my end and see if there is any other issue regarding CPU architecture. I think this issue can be open for now because the missing flag of the build script is in this repository and hasn't been fixed yet. |
version: 0.3.1 and 0.3.2
Following this official Nitro Enclaves guide, calling the provided lambda function with
"operation": "sign_transaction"
the successive call ofkmstool_enclave_cli decrypt
leads to error"exception happened calling kms binary: [Errno 8] Exec format error: '/app/kmstool_enclave_cli'"
Trying to invoke the
kmstool_enclave_cli
directly from within the docker container gives following exception:The text was updated successfully, but these errors were encountered: