File tree Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,14 @@ FROM skalenetwork/sgxwallet_base:latest
2
2
3
3
COPY . /usr/src/sdk
4
4
WORKDIR /usr/src/sdk
5
- RUN apt update && apt install -y curl secure-delete
5
+
6
+ RUN apt update && apt install -y curl secure-delete python3-pip
7
+ RUN pip3 install --upgrade pip
8
+ RUN pip3 install requests torpy
9
+
10
+
11
+
12
+
6
13
RUN touch /var/hwmode
7
14
RUN ./autoconf.bash
8
15
RUN ./configure
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ FROM skalenetwork/sgxwallet_base:latest
3
3
COPY . /usr/src/sdk
4
4
WORKDIR /usr/src/sdk
5
5
RUN cp -f secure_enclave/secure_enclave.config.xml.release secure_enclave/secure_enclave.config.xml
6
- RUN apt update && apt install -y curl secure-delete
6
+
7
+ RUN apt update && apt install -y curl secure-delete python3-pip
8
+ RUN pip3 install --upgrade pip
9
+ RUN pip3 install requests torpy
10
+
7
11
#Test signing key generation
8
12
RUN cd scripts && ./generate_signing_key.bash
9
13
RUN touch /var/hwmode
Original file line number Diff line number Diff line change @@ -3,7 +3,12 @@ FROM skalenetwork/sgxwallet_base:latest
3
3
COPY . /usr/src/sdk
4
4
WORKDIR /usr/src/sdk
5
5
RUN cp -f secure_enclave/secure_enclave.config.xml.release secure_enclave/secure_enclave.config.xml
6
- RUN apt update && apt install -y curl secure-delete
6
+
7
+ RUN apt update && apt install -y curl secure-delete python3-pip
8
+ RUN pip3 install --upgrade pip
9
+ RUN pip3 install requests torpy
10
+
11
+
7
12
RUN touch /var/hwmode
8
13
RUN ./autoconf.bash
9
14
RUN ./configure --with-sgx-build=release
Original file line number Diff line number Diff line change 1
1
FROM skalenetwork/sgxwallet_base:latest
2
2
3
3
4
- RUN apt update && apt install -y curl secure-delete
4
+ RUN apt update && apt install -y curl secure-delete python3-pip
5
+ RUN pip3 install --upgrade pip
6
+ RUN pip3 install requests torpy
7
+
5
8
6
9
RUN ccache -sz
7
10
Original file line number Diff line number Diff line change 1
- #! /usr/bin/python
1
+ #!/usr/bin/env python3
2
+
2
3
3
4
import requests
4
5
import re
@@ -31,6 +32,7 @@ def get_my_external_ip():
31
32
with TorClient () as tor :
32
33
# Choose random guard node and create 3-hops circuit
33
34
print ("Connecting to TOR network ..." );
35
+ print ("Please ignore error messages, as we are attempting to connect to the TOR network ..." );
34
36
with tor .create_circuit (1 ) as circuit :
35
37
print ("Connected to TOR network. Connecting to sgxwallet from a random external IP."
36
38
" This may take up to a minute." )
You can’t perform that action at this time.
0 commit comments