Unable to run encrypted filesystem example #1495
Unanswered
lokesh2019
asked this question in
Q&A
Replies: 3 comments 5 replies
-
And same error with log level set to
And
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @lokesh2019! Woud you pls try to run
Thanks! |
Beta Was this translation helpful? Give feedback.
5 replies
-
The only weird thing to me is this snippet:
I don't know if this is normal to mix v3 and v4 requests to the same PCCS server. Maybe @ScottR-Intel knows? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to run a simplified version of Pytorch example (https://gramine.readthedocs.io/en/stable/tutorials/pytorch/index.html) to learn attestation and provisioning basics. I am pretty sure I am missing some basic configuration/setup step. I am finding the intel documentation rather confusing to follow. I'd be grateful for a link showing how to setup a dcap server on a localhost.
I have followed these instructions:
https://www.intel.com/content/www/us/en/developer/articles/guide/intel-software-guard-extensions-data-center-attestation-primitives-quick-install-guide.html
I have set up both PCCS on
localhost
and the provisioned machine on the same host, and without reinstalling everything. It doesn't seem mandatory. Also it fails to installsgx_linux_x64_driver_1.36.2.bin
file but I guess Kernel 6.1.0-11-amd64 comes with built in sgx drivers so that's ok too.My setup:
Baremetal Debian 12 host with Intel I7-10th Gen processor.
I can run helloworld example, so SGX is working fine.
My encrypted file example code:
The
file-encrypted.txt
is the encrypted file (as the name implies) following the pytorch instructions.And the template file:
The same example works fine on SGX if I read a plaintext file.
I have the dcap server compiled and running fine as per the instructions:
But when I run the C binary, I get this error (same if I run the command with
sudo
, so not a user privilege issue):Could someone point me to the documentation to correctly set up a local DCAP server please. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions