-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#31 POC for Anjuna CCP based enclave(SGX) written in Golang to be use…
…d by host corda node.
- Loading branch information
1 parent
7f03b81
commit 36f12af
Showing
9 changed files
with
407 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"io/ioutil" | ||
) | ||
|
||
func main() { | ||
data, err := ioutil.ReadFile("/home/azureuser/anjuna-poc-host/greetings.txt.sealed") | ||
if err != nil { | ||
fmt.Println("File reading error", err) | ||
return | ||
} | ||
fmt.Println("Contents of file:", string(data)) | ||
//fmt.Println("!... Hello World ...!") | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
environment: | ||
- name: LD_LIBRARY_PATH | ||
value: Runtime | ||
command: /home/azureuser/anjuna-poc-host/pocEnclave | ||
enclave_size: 2147483648 | ||
num_threads: 64 | ||
num_switchless_workers: 1 | ||
isv_prod_id: 0 | ||
isv_svn: 0 | ||
trusted_hashes: | ||
- path: /home/azureuser/anjuna-poc-host/pocEnclave | ||
hash: 66a88071b0e4cdb5af1b383663741011011f9a03f7fba8b5b8bfc871f25e67c8 | ||
disable_switchless: false | ||
ignore_map_shared: false | ||
ignore_vfork: false | ||
is_production: false | ||
keys: | ||
- id: encryption | ||
source: enclave_generated | ||
encrypted_files: | ||
- path: /home/azureuser/anjuna-poc-host/greetings.txt.sealed | ||
key: encryption |
357 changes: 357 additions & 0 deletions
357
protocolAggregator/anjunaEnclave/pocEnclave.manifest.template.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEA4HVvbcRfM/kB1nuBnHVQ | ||
Go9EnjsmK1wtxG9M8Qjnay3ahVwiNeHy/6hZ8NL0XPlXifWPE5AnFDhnjpEHDZwl | ||
iwqxZvUVRaG4ehayg65IjNLTHzsWOG68sKbW/cXkVEWqs2ilkEg9OkWpQKd14MbW | ||
dNzDs/di6j5cUyvwNNGDQl63xZZRuHOP/GwoxRng6jp/5xxUie0oPze6WK1fESyG | ||
EviTplrl4bDIJVmLh/tj/JdxctR5cHflkEs+pJvmj3j1TuGQJxh0cZWKBljALwe1 | ||
oANvPaA4OMkIXs9dF3k5coJVmiHyycyJbgrkf4H4f09kNkaOfqV8q66bDc99pUw+ | ||
gQIBAw== | ||
-----END PUBLIC KEY----- |
Binary file not shown.