Questions tagged [sgx]

Intel SGX is a set of CPU instruction extensions that allows application developers to create applications that retain the confidentiality and integrity of select data and code using Secure Enclaves.

Intel SGX is a set of CPU instruction extensions that allows application developers to create applications that retain the confidentiality and integrity of select data and code using secure Enclaves.

Enclaves are protected areas of execution. Application code can be put into an enclave via special instructions and software made available to developers via the Intel SGX SDK. The SDK and documentation are available at:

Requirements

SGX requires 6th Generation Intel Core Processors (Skylake) or later.

The Windows SDK requires a 64-bit version of Windows 7 or above, and the Microsoft Universal C Runtime.

The Linux SDK requires Ubuntu Desktop-16.04-LTS 64-bit.

175 questions
0
votes
2 answers

Can SGX prove two enclaves are on different computers?

Picture a cloud provider renting two VMs to a customer. Suppose the customer wants to check the two VMs are running on different physical computers, despite the cloud provider perhaps trying to trick the customer. Both machines provide SGX and have…
0
votes
1 answer

When Corda starts using SGX on the Notary, why bother decentralizing the Notary into a Notary cluster?

When Corda Notaries start processing transactions inside the Intel SGX enclave, it appears that even the owner/admin of the server hosting the Notary node has no control over the execution of the smart contract or read access to transaction data.…
BrianRice
  • 81
  • 4
0
votes
2 answers

SGX Local Attestation sample returning 0x3002 in simulator

I cannot for the life of me get the LocalAttestation sample to run correctly on a fresh Linux install, following the instructions successfully. Given this is being built in simulation mode, I would have thought there were no additional…
henry
  • 1,716
  • 3
  • 15
  • 27
0
votes
1 answer

When Corda fully implements SGX will it solve the following potential data privacy and confidentiality leaks?

Can someone confirm that SGX will solve the following and if SGX is functionality is being rolled out in Corda incrementally, when each is expected to be solved? Non-validating Notaries get to see who the parties transacting are, without seeing the…
BrianRice
  • 81
  • 4
0
votes
2 answers

Using Chaiscript without dynamically loaded libraries

I'm working with Intel SGX and would like to use Chaiscript inside an enclave. SGX forbids the use of dynamically loaded libraries inside an enclave. Is there any way to use Chaiscript in such ways (I cannot compile using the "-ldl" parameter)?
0
votes
1 answer

Adding OpenCV libraries in SGX-Enclave Project

I am trying to add OpenCV in my enclave project. I can run the OpenCV project as a standalone win32 console application in visual studio 2015. But when I started doing that in my enclave project I am getting errors. I tried to add the following…
faysal
  • 162
  • 2
  • 14
0
votes
1 answer

I want to know which Elliptical Curve used in SGX's function like sgx_ecc256_compute_shared_dhkey()?

I tried to use openssl to exchange a key with SGX by ecc, but I don't know which Elliptical Curve is used in SGX, so I can't set the parameters for openssl.
Bean
  • 3
  • 3
0
votes
1 answer

How to return a pointer of unknown size in an sgx ecall?

How can I return a pointer of an unknown size in an ecall using [out]? The current method I know requires that the size of the pointer is set when calling the ecall, e.g.: [out, size=len] int *p, size_t len Is there another way, where I don't have…
savx2
  • 1,011
  • 2
  • 10
  • 28
0
votes
0 answers

Unable to install SGX driver to intel i3 6100 CentOS 7 machine

I am trying to install the Intel SGX driver at Intel I3 6100 based CPU and I am not able to launch the enclave. I am suspecting that it is happening due to my processor (i.e. Intel core i3). Same steps I perform at my another machine that came with…
shivam garg
  • 547
  • 4
  • 7
0
votes
1 answer

Apparent Incompatibility between sgx_tcrypto and OpenSSL libcrypt

I'm trying to load a public key that I've gotten from an SGX enclave into an OpenSSL Elliptic Curve Public Key object. The crypto library built into the SGX SDK uses points on SECP256R1 for public keys, and represents them as an (x,y) pair. So I…
Arya Pourtabatabaie
  • 705
  • 2
  • 7
  • 22
0
votes
1 answer

SGX DH key exchange

I'm trying to create a key exchange app using intel's sgx technology. I used this - https://software.intel.com/en-us/node/709011 page as guidance ,I send all the messages as this site shows but I don't know how to get the key!. In the end of DH key…
Yedidya kfir
  • 1,419
  • 3
  • 17
  • 32
0
votes
1 answer

Is it possible to walk through the transaction chain when SGX is enabled?

If I build a CorDapp in Corda open source that walks through all transaction chain to collect some data, I suppose that when SGX is enabled in Enterprise version it won't be possible, right?
Maka
  • 357
  • 1
  • 11
0
votes
1 answer

Intel SGX Error: What does the 8207 error mean when I cannot load the enclave correct

I have made the following enclave & app loading the enclave: https://github.com/pc-magas/myFirstEnclave/tree/run_fail As you can see I load the wrong path of the enclave therefore the app fails to run as expected, when that happens in the example it…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
0
votes
1 answer

SGX Sign enclave cannot attestate the built enclave: Key file format is not correct

I managed to generate my Enclave (https://github.com/pc-magas/myFirstEnclave) but as far as I know I need to generate an rsa key in order to sign it. So I run: openssl genrsa -out $(KEY_FILE) 2048 And then I run the following command to sign…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
0
votes
2 answers

SGX Enclave: Where the actual function that does the procession goes and how it gets compiled

After reading lots of documentation i did the first simple enclave function: enclave { //Include files //Import other edl files //Data structure declarations to be used as parameters of the //function prototypes in edl …
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
1 2 3
11
12