abac0-leakabac0-mei
Last change
on this file since 3c30b59 was
3c30b59,
checked in by Mei <mei@…>, 11 years ago
|
1) add in new refactored regression testing directory
2) undo the abac.hh/ABAC.hh api changes
3) merged with Ted's changes to attribute format/nickname/issuer processing
|
-
Property mode set to
100755
|
File size:
708 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | . ${TESTDIR}/test_util.sh |
---|
4 | |
---|
5 | keystore=`pwd` |
---|
6 | |
---|
7 | echo "generate an encrypted private key" |
---|
8 | echo "dumdum" > pfile |
---|
9 | openssl genrsa -des3 -out Soda_eprivate.pem -passout file:pfile |
---|
10 | |
---|
11 | echo "make a id credential with encrypted private key" |
---|
12 | $eloc/creddy --generate --cn Soda --key Soda_eprivate.pem |
---|
13 | |
---|
14 | echo "make a generic id credential" |
---|
15 | $eloc/creddy --generate --cn Slush |
---|
16 | |
---|
17 | #principal |
---|
18 | $eloc/creddy --generate --cn Cream |
---|
19 | |
---|
20 | echo "make an attribute with id with encrypted private key" |
---|
21 | ./abac_e_attr.py Soda_ID.pem Soda_eprivate.pem Soda_attr.xml pfile Cream_ID.pem |
---|
22 | |
---|
23 | echo "make an attribute with id with none-encrypted private key" |
---|
24 | ./abac_e_attr.py Slush_ID.pem Slush_private.pem Slush_attr.xml pfile Cream_ID.pem |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.