abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since bc7133b was
4721618,
checked in by Mei <mei@…>, 12 years ago
|
1) tested out python and perl test scripts along with
abac_chunk_t calls in libabac's abac.hh
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | |
---|
2 | all: run_attr run_e_attr run_id run_id2 run_prove |
---|
3 | |
---|
4 | clean: |
---|
5 | @rm -f *.pem *.xml *.log pfile |
---|
6 | |
---|
7 | setup: |
---|
8 | creddy --generate --cn IceCream |
---|
9 | creddy --generate --cn Chocolate |
---|
10 | |
---|
11 | run_attr: |
---|
12 | make clean |
---|
13 | rm -rf attr.log |
---|
14 | make setup |
---|
15 | ./abac_attr.py IceCream_ID.pem IceCream_private.pem IceCream_attr.xml Chocolate_ID.pem 1>attr.log 2>&1 |
---|
16 | |
---|
17 | run_e_attr: |
---|
18 | make clean |
---|
19 | rm -rf e_attr.log pfile |
---|
20 | echo "dumdum" > pfile |
---|
21 | openssl genrsa -des3 -out Soda_private.pem -passout file:pfile |
---|
22 | creddy --generate --cn Soda --key Soda_private.pem --p=pfile |
---|
23 | creddy --generate --cn Cream |
---|
24 | ./abac_e_attr.py Soda_ID.pem Soda_private.pem Soda_attr.xml pfile Cream_ID.pem 1>e_attr.log 2>&1 |
---|
25 | |
---|
26 | run_id: |
---|
27 | make clean |
---|
28 | rm -rf id.log |
---|
29 | make setup |
---|
30 | ./abac_keyid.py IceCream_ID.pem 1>id.log 2>&1 |
---|
31 | |
---|
32 | run_id2: |
---|
33 | make clean |
---|
34 | rm -rf id2.log |
---|
35 | make setup |
---|
36 | ./abac_keyid.py IceCream_private.pem 1>id2.log 2>&1 |
---|
37 | |
---|
38 | run_id3: |
---|
39 | make clean |
---|
40 | rm -rf id3.log |
---|
41 | make setup |
---|
42 | ./abac_keyid2.py IceCream_ID.pem IceCream_private.pem 1>id3.log 2>&1 |
---|
43 | |
---|
44 | run_prove: |
---|
45 | rm -rf prover.log |
---|
46 | make run_attr |
---|
47 | ./run_prover 1>prover.log 2>& 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.