Skip to content

Commit

Permalink
update links
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasten committed Feb 5, 2024
1 parent d591f7c commit d85e0ea
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ sudo mkdir -p /etc/apt/keyrings
wget -qO- https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo tee /etc/apt/keyrings/intel-sgx-keyring.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/intel-sgx-keyring.asc arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo apt update
EGO_DEB=ego_1.4.1_amd64_ubuntu-$(lsb_release -rs).deb
wget https://github.com/edgelesssys/ego/releases/download/v1.4.1/$EGO_DEB
EGO_DEB=ego_1.4.2_amd64_ubuntu-$(lsb_release -rs).deb
wget https://github.com/edgelesssys/ego/releases/download/v1.4.2/$EGO_DEB
sudo apt install ./$EGO_DEB build-essential libssl-dev
```

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/getting-started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ sudo mkdir -p /etc/apt/keyrings
wget -qO- https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo tee /etc/apt/keyrings/intel-sgx-keyring.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/intel-sgx-keyring.asc arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo apt update
EGO_DEB=ego_1.4.1_amd64_ubuntu-$(lsb_release -rs).deb
wget https://github.com/edgelesssys/ego/releases/download/v1.4.1/$EGO_DEB
EGO_DEB=ego_1.4.2_amd64_ubuntu-$(lsb_release -rs).deb
wget https://github.com/edgelesssys/ego/releases/download/v1.4.2/$EGO_DEB
sudo apt install ./$EGO_DEB build-essential libssl-dev
```

Expand Down
1 change: 0 additions & 1 deletion samples/wasmer/c.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package main

/*
int __longjmp_chk() { return 0; }
int __res_init() { return -1; }
int __sigsetjmp() { return 0; }
*/
import "C"
9 changes: 0 additions & 9 deletions samples/wasmtime/c.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,5 @@ package main
#cgo LDFLAGS: -static-libgcc
int gnu_get_libc_version() { return 0; }
int __register_atfork() { return 0; }
int __res_init() { return -1; }
// TODO remove with next EGo release that supports this syscall
#include <time.h>
int clock_getres(int clockid, struct timespec* res) {
res->tv_sec = 0;
res->tv_nsec = 4000000;
return 0;
}
*/
import "C"
6 changes: 3 additions & 3 deletions src/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ego-dev
base: core20
version: "1.4.1"
version: "1.4.2"
summary: EGo lets you build, debug und run Go apps on Intel SGX!
description: EGo is a framework for building confidential apps in Go. Confidential apps run in always-encrypted and verifiable enclaves on Intel SGX-enabled hardware.

Expand All @@ -26,8 +26,8 @@ apps:

parts:
ego:
source: https://github.com/edgelesssys/ego/releases/download/v1.4.1/ego_1.4.1_amd64_ubuntu-20.04.deb
source-checksum: "sha256/e71045e2a08e3b191625e9f89cfe4135e2f99aa5b25d982f71bf2a2434c0f6c9"
source: https://github.com/edgelesssys/ego/releases/download/v1.4.2/ego_1.4.2_amd64_ubuntu-20.04.deb
source-checksum: "sha256/c5962bc98eeb1f2433863e4515a69c0bcaab97e43d98143f02eff63520afee42"
source-type: deb
plugin: dump
build-attributes: [no-patchelf] # needed otherwise Snap breaks the go binary, causing it to segfault on launch
Expand Down

0 comments on commit d85e0ea

Please sign in to comment.