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
0 answers

intel sgx linux how are signals handled if being inside of the enclave

I'm fiddling around with intel sgx on linux and am wondering how signals are being handled when the process is inside the enclave. Are they simply ignored? (the only reference I found so far is this one, which simply writes Signals are not supported…
atticus
  • 138
  • 15
0
votes
0 answers

Porting LUA to SGX application

I want to use Luacpp in an SGX application. For example, in the SampleEnclave application, I want to send some Lua codes to be executed securely in SGX. I have updated the Enclave's MakeFile to make the SampleEnclave app Lua compatible. But getting…
taserghar
  • 340
  • 3
  • 15
0
votes
1 answer

While running sgx (software guarded extension) code than I got error as CPU not supported sgx

I have problem related sgx extension My Intel processor version is intel core i5-6300U CPU @2.40Ghz 2.50Ghz In Google when I search these above processor specification than in specs it shows that intel sgx is supported but while running…
Harsh
  • 1
  • 2
0
votes
1 answer

testing Intel SGX Remote Attestation

Is it possible to use a server with Intel SGX to test Remote attestation? Is it possible to use my own local machine (which I use to connect to the SGX server) as cache service? how can I do this?
sama
  • 333
  • 2
  • 11
0
votes
1 answer

How to configure the sgx environment on Aliyun g7t server

I want to run python code, so I think I need to use libos like occlum or graphene, and I want to know how to configure such an environment.
0
votes
2 answers

Integration of Intel SGX and MYsql server

I am quite new in using Intel SGX, I have a application which uses MySql Server. How can I integrate Intel SGX with Mysql server and how the architecture could be?
sama
  • 333
  • 2
  • 11
0
votes
2 answers

Sgx disable by bios Ubuntu acpi error 22.04 LTS

enter image description hereenter image description here Got error when booting up my laptop if any suggestions to remove these error glad to know
aryan
  • 11
  • 1
  • 1
0
votes
0 answers

How can I run apps inside an Intel SGX enclave on the Windows

everyone. I have created a DCsv3 virtual machine in Azure on Windows. How can I run the application from inside an Intel SGX enclave?
Nabi
  • 1
  • 3
0
votes
0 answers

What could Cause SegFaults after Successful native calls through JNI?

Context I am working on my Master Thesis using Intel SGX in order to use Enclave Code alongside a Java project. The project uses Gradle for installation, and I have added a .jar containing a Class containing Native calls and the .so file containing…
0
votes
1 answer

Can 2 processes run on same enclave in intel sgx?

I know intel sgx supports running multiple threads on one enclave. But I'curious that whether I can use fork to run 2 processes on one enclave?
hly19
  • 21
  • 4
0
votes
1 answer

No rule to make target 'SGX/linux-sgx-driver'. when installing Linux-SGX-Driver

When installing Intel-SGX-Driver(https://github.com/intel/linux-sgx-driver), I got this error: $ make make -C /lib/modules/5.4.0-107-generic/build M=/home/niujuxin/Intel SGX/linux-sgx-driver modules make[1]: Entering directory…
SouthStar
  • 3
  • 2
0
votes
2 answers

Run arbitrary app in a secure enclave (SGX)

I want my C++ application to launch an arbitrary app (let's say a python script through a python interpreter) inside a secure enclave (Intel SGX). Is that even possible? The steps are the following. My app initializes an enclave and performs its…
0
votes
0 answers

Intel SGX Public-Key Encryption returns a buffer populated with 0s

I am developing a simple C API to be called from Java which connects to an Intel SGX Enclave for security Primitives. I was able to create an RSA-Key Pair (I Think) successfully. However, now after generating a 128 bit AES key using sgx_read_rand(),…
0
votes
1 answer

How to encrypt java Strings in C considering their size difference?

Good evening, I am building a java project in which it communicates with an Intel SGX Enclave via JNI, and sees information it sends sealed by the enclave. However, decrypting information returns information I cannot understand, and at this point, I…
0
votes
1 answer

Starting up an Intel SGX Enclave from a Java application

Good evening, and thanks to everyone in advance. I am currently working on My MsC Thesis, and for the proposed solution so far, I am to use an existing Java application (BFT-SMART, built with gradle version 7.3.3) and add it a layer of…