mei_rt2mei_rt2_fix_1
Last change
on this file since ba6027a was
ba6027a,
checked in by Mei <mei@…>, 12 years ago
|
1) modified code all around to add support for encrypted private key for
ID credential
2) add new abac_key_t structure (abac_key.c)
3) add new keycheck option to creddy
4) add 2 new test suites
|
-
Property mode set to
100644
|
File size:
881 bytes
|
Line | |
---|
1 | clean: |
---|
2 | rm -f *.pem *.der |
---|
3 | |
---|
4 | realclean: |
---|
5 | rm -f *.pem *.der *.log pfile |
---|
6 | |
---|
7 | run_attr: |
---|
8 | make clean |
---|
9 | rm -rf attr.log |
---|
10 | creddy --generate --cn IceCream |
---|
11 | creddy --generate --cn Chocolate |
---|
12 | ./abac_attr.py IceCream_ID.pem IceCream_private.pem IceCream_attr.der Chocolate_ID.pem 1>attr.log 2>&1 |
---|
13 | |
---|
14 | run_e_attr: |
---|
15 | make clean |
---|
16 | rm -rf e_attr.log pfile |
---|
17 | echo "dumdum" > pfile |
---|
18 | openssl genrsa -des3 -out Soda_private.pem -passout file:pfile |
---|
19 | creddy --generate --cn Soda --key Soda_private.pem --p=pfile |
---|
20 | creddy --generate --cn Cream |
---|
21 | ./abac_e_attr.py Soda_ID.pem Soda_private.pem Soda_attr.der pfile Cream_ID.pem 1>e_attr.log 2>&1 |
---|
22 | |
---|
23 | run_id: |
---|
24 | make clean |
---|
25 | rm -rf id.log |
---|
26 | creddy --generate --cn IceCream |
---|
27 | ./abac_keyid.py IceCream_ID.pem 1>id.log 2>&1 |
---|
28 | |
---|
29 | run_id2: |
---|
30 | make clean |
---|
31 | rm -rf id2.log |
---|
32 | creddy --generate --cn IceCream |
---|
33 | ./abac_keyid.py IceCream_private.pem 1>id2.log 2>&1 |
---|
Note: See
TracBrowser
for help on using the repository browser.