How to verify an application is indeed running inside an SGX enclave #1435
Replies: 1 comment 3 replies
-
How exactly do you use Anyway, the Next, your Now the third copy that you see in So you're having plaintext as input to I would recommend to use an encrypted file ( In this case, you'll have a clean experiment, and |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have made a simple integer addition program in C to learn Gramin. I have modified the helloworld example's template file and it runs fine with both
gramin-direct
andgramin-sgx
.I am then trying to dump the process memory in both cases using
gcore
, and grepping for a known string to verify it is indeed encrypted ingramin-sgx
. The output isn't what I'd expect. Please advise what I am doing wrong here.With
gramin-direct
, I get three instances of the same string in the process dump:And with
gramin-sgx
, I get two instances of the same string:I was expecting just one instance with
gramin-direct
and zero instances withgramin-sgx
.Below is the code I am using for this.
calculator.c
calculator.manifest.template
Beta Was this translation helpful? Give feedback.
All reactions