Browse Source

[Pal/Linux-SGX] Remove python-crypto package from dependencies

Li Lei 6 years ago
parent
commit
0f1e315cb9
4 changed files with 10 additions and 14 deletions
  1. 1 1
      .travis.yml
  2. 0 1
      Jenkinsfiles/ubuntu-16.04.dockerfile
  3. 0 1
      Pal/src/host/Linux-SGX/signer/pal-sgx-get-token
  4. 9 11
      README.md

+ 1 - 1
.travis.yml

@@ -1,7 +1,7 @@
 language: c
 language: c
 
 
 before_install:
 before_install:
-  - sudo apt-get install python-protobuf python-crypto
+  - sudo apt-get install python-protobuf
   - sudo apt-get install linux-headers-$(uname -r)
   - sudo apt-get install linux-headers-$(uname -r)
 
 
 before_script:
 before_script:

+ 0 - 1
Jenkinsfiles/ubuntu-16.04.dockerfile

@@ -16,7 +16,6 @@ RUN apt-get update \
        libxml2-dev \
        libxml2-dev \
        net-tools \
        net-tools \
        python \
        python \
-       python-crypto \
        python-protobuf \
        python-protobuf \
        python3-minimal \
        python3-minimal \
        texinfo \
        texinfo \

+ 0 - 1
Pal/src/host/Linux-SGX/signer/pal-sgx-get-token

@@ -5,7 +5,6 @@ import sys
 import struct
 import struct
 import socket
 import socket
 from google.protobuf import message as _message
 from google.protobuf import message as _message
-from Crypto.PublicKey import RSA
 import aesm_pb2
 import aesm_pb2
 
 
 """ Utilities """
 """ Utilities """

+ 9 - 11
README.md

@@ -47,17 +47,15 @@ Other distributions of 64-bit Linux can potentially, but the result is not
 guaranteed. If you find Graphene not working on other distributions, please
 guaranteed. If you find Graphene not working on other distributions, please
 contact us with a detailed bug report.
 contact us with a detailed bug report.
 
 
-The following packages are required for building Graphene: (can be installed
-with 'apt-get install')
-   - build-essential
-   - autoconf
-   - gawk
-   - gcc 4 or 5
-
-The following packages are also required for building Graphene for SGX (can
-be installed with 'apt-get install'):
-   - python-protobuf
-   - python-crypto
+Run the following command on Ubuntu to install dependencies for Graphene:
+
+    sudo apt-get install -y build-essential autoconf gawk
+
+
+For building Graphene for SGX, run the following command in addition:
+
+    sudo apt-get install -y python-protobuf
+
 
 
 To build the system, simply run the following commands in the root of the
 To build the system, simply run the following commands in the root of the
 source tree:
 source tree: