forked from nudt-crypto/ME-TLS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env_setup.txt
30 lines (24 loc) · 862 Bytes
/
env_setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
sudo yum install openssl-devel
sudo apt-get install python-pip
sudo yum install python-devel
sudo yum install gmp-devel
sudo pip install virtualenv
------------------------------------------------------------
in fact this is not necessary if we set settings.calculate_ibe_keys = False
then install pbc:
unpack pbc, cd into the directory
./configure --prefix=$HOME/.local
make
sudo make install
then install charm crypto:
unpack charm, cd into the dir
./configure.sh
sudo make install
then before using charm:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~/.local/lib
-----------------------------------------------------------
use virtualenv:
first virtualenv somedir, activate it: source somedir/bin/activate
then: pip install six ecdsa selectors2 pycrypto M2Cryto gmpy ipaddress
then python setup.py install (to install metls)
sudo systemctl stop firewalld