diff --git a/DockerfileBase b/DockerfileBase index a0088df6..60a88d11 100644 --- a/DockerfileBase +++ b/DockerfileBase @@ -28,7 +28,6 @@ RUN apt-get update && apt-get install software-properties-common -y && \ lsb-release \ libsystemd0 - RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb && \ dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb diff --git a/DockerfileRelease b/DockerfileRelease index e78a8df7..4b498435 100644 --- a/DockerfileRelease +++ b/DockerfileRelease @@ -8,7 +8,6 @@ RUN apt update && apt install -y curl secure-delete python3-pip RUN pip3 install --upgrade pip RUN pip3 install requests torpy - RUN touch /var/hwmode RUN ./autoconf.bash RUN ./configure --with-sgx-build=release diff --git a/DockerfileSimulation b/DockerfileSimulation index 33109841..e80ddc14 100644 --- a/DockerfileSimulation +++ b/DockerfileSimulation @@ -1,11 +1,9 @@ FROM skalenetwork/sgxwallet_base:latest - RUN apt update && apt install -y curl secure-delete python3-pip RUN pip3 install --upgrade pip RUN pip3 install requests torpy - RUN ccache -sz COPY . /usr/src/sdk diff --git a/README.md b/README.md index 89296f0f..422e003b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ leave the enclave unencrypted. The server provides an initial registration service to issue client certificates to the clients. The administrator manually approves each registration. -**sgxwallet** has been tested on **Ubuntu Linux 18.04**. +**sgxwallet** has been tested on **Ubuntu Linux 20.04**. ## An important note about production readiness diff --git a/docs/enabling-sgx.md b/docs/enabling-sgx.md index 7b326c88..5a9bb29b 100644 --- a/docs/enabling-sgx.md +++ b/docs/enabling-sgx.md @@ -26,7 +26,7 @@ This repo includes the **_sgx_enable_** utility. To enable SGX run: sudo ./sgx_enable ``` -Note: if you are not using Ubuntu 18.04 (Not recommended!), you may need +Note: if you are not using Ubuntu 20.04 (Not recommended!), you may need to rebuild the sgx-software-enable utility before use by typing: ```bash @@ -39,7 +39,7 @@ make Install make and gcc if you do not have it: ```bash -apt-get install build-essential +apt-get install build-essential ``` Run the following command: @@ -51,7 +51,7 @@ cd scripts; sudo ./sgx_linux_x64_driver_2.11.b6f5b4a.bin; cd .. Alternatively, other driver versions may be downloaded from Intel. Please note that version `2.11.b6f5b4a` is what is currently supported. -Reboot you machine after driver install. Do `ls /dev/isgx` to check that `isgx` device is properly installed. +Reboot you machine after driver install. Do `ls /dev/isgx` to check that `isgx` device is properly installed. If you do not see the `isgx` device, you need to troubleshoot your driver installation. If driver installation fails, you can also try installing driver from the @@ -65,7 +65,7 @@ And then follow instructions in README.md ## Troubleshooting Installation -- If the message `intel_sgx: SGX is not enabled` appears in `/var/log/syslog` +- If the message `intel_sgx: SGX is not enabled` appears in `/var/log/syslog` Intel SGX needs to be enabled in BIOS. - If you are running in Intel SGX hardware mode, make sure you have device