# Where is the SGX Service Provider source code?

**URL:** https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337
**Category:** Developer Help
**Created:** [September 10, 2018, 1:45pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337 "2018-09-10T13:45:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.scrt.network/u/david)
#### Post date: [September 10, 2018, 1:45pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/1 "2018-09-10T13:45:24Z")

</div>

Hello

I wanted to know where is the code of the service provider if there is any ?

the one that connects to [sgx.enigma.co](http://sgx.enigma.co) ?

Cheers

David

---

<div class="post-metadata">

### Author: ![victor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/victor/32/91_2.png) [@victor](https://forum.scrt.network/u/victor)
#### Post date: [September 10, 2018, 4:05pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/2 "2018-09-10T16:05:02Z")

</div>

Hi @david,

It’s all documented at [https://enigma.co/protocol/](https://enigma.co/protocol/)

In terms of code, I suggest you start here: [https://github.com/enigmampc/enigma-docker-network](https://github.com/enigmampc/enigma-docker-network)

Best,  
Victor

---

<div class="post-metadata">

### Author: ![can](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/can/32/596_2.png) [@can](https://forum.scrt.network/u/can)
#### Post date: [September 12, 2018, 8:21pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/3 "2018-09-12T20:21:26Z")

</div>

Also, here’s a post about getting started using the simulation mode (which means you don’t need an SGX enabled device to get started)

---

<div class="post-metadata">

### Author: ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.scrt.network/u/david)
#### Post date: [September 12, 2018, 8:32pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/4 "2018-09-12T20:32:52Z")

</div>

I could not find the “Remote Attestation” Service Provider source code unfortunately. The one that is used in order to do the quotation with IAS.

---

<div class="post-metadata">

### Author: ![victor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/victor/32/91_2.png) [@victor](https://forum.scrt.network/u/victor)
#### Post date: [September 12, 2018, 9:24pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/5 "2018-09-12T21:24:56Z")

</div>

Hi @david, I misunderstood your initial question. You are correct, the Remote Attestation code is not public currently.

---

<div class="post-metadata">

### Author: ![EnigmaamginE](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@EnigmaamginE](https://forum.scrt.network/u/EnigmaamginE)
#### Post date: [September 13, 2018, 5:17pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/6 "2018-09-13T17:17:50Z")

</div>

What is the purpose of remote attestation with Intel?

Is this a potential point of failure and centralization?

---

<div class="post-metadata">

### Author: ![victor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/victor/32/91_2.png) [@victor](https://forum.scrt.network/u/victor)
#### Post date: [September 13, 2018, 10:11pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/7 "2018-09-13T22:11:56Z")

</div>

@EnigmaamginE,

As per Intel’s definition: _Attestation is the process of demonstrating that a software executable has been properly instantiated on a platform_, or put it in other words, it is a way to prove that a claimed enclave is indeed running inside a genuine SGX hardware and not some malicious or adversary-controlled SGX simulator.

Answering your second question, potentially yes. This is a current tradeoff that will be further researched and reviewed in the future.

---

<div class="post-metadata">

### Author: ![victor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/victor/32/91_2.png) [@victor](https://forum.scrt.network/u/victor)
#### Post date: [September 14, 2018, 5:43pm UTC](https://forum.scrt.network/t/where-is-the-sgx-service-provider-source-code/337/8 "2018-09-14T17:43:38Z")

</div>

FYI, more documentation on the attestation of the current release can be found here:

[https://enigma.co/protocol/AboutThisRelease.html#assumptions-made-in-this-testnet-release](https://enigma.co/protocol/AboutThisRelease.html#assumptions-made-in-this-testnet-release)  
Item #6
