diff --git a/README.md b/README.md index 57be6487..8f5a00b3 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/docs/docs/getting-started/install.md b/docs/docs/getting-started/install.md index 94388083..c4aaa507 100644 --- a/docs/docs/getting-started/install.md +++ b/docs/docs/getting-started/install.md @@ -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 ``` diff --git a/samples/wasmer/c.go b/samples/wasmer/c.go index f73b526d..7c1236bb 100644 --- a/samples/wasmer/c.go +++ b/samples/wasmer/c.go @@ -4,7 +4,6 @@ package main /* int __longjmp_chk() { return 0; } -int __res_init() { return -1; } int __sigsetjmp() { return 0; } */ import "C" diff --git a/samples/wasmtime/c.go b/samples/wasmtime/c.go index d7f8ff1f..bf21dfca 100644 --- a/samples/wasmtime/c.go +++ b/samples/wasmtime/c.go @@ -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 -int clock_getres(int clockid, struct timespec* res) { - res->tv_sec = 0; - res->tv_nsec = 4000000; - return 0; -} */ import "C" diff --git a/src/snapcraft.yaml b/src/snapcraft.yaml index 0faea007..6c8945a0 100644 --- a/src/snapcraft.yaml +++ b/src/snapcraft.yaml @@ -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. @@ -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