abac0-leakabac0-mei
Last change
on this file since 6cd69a0 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:
421 bytes
|
Rev | Line | |
---|
[7e3f5e2] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[3c30b59] | 3 | . $(TESTDIR)/test_util.sh |
---|
| 4 | |
---|
[7e3f5e2] | 5 | keystore=`pwd` |
---|
[3c30b59] | 6 | pID=`$eloc/creddy --keyid --cert ${keystore}/John#VAL#_ID.pem` |
---|
| 7 | cID=`$eloc/creddy --keyid --cert ${keystore}/John0_ID.pem` |
---|
[7e3f5e2] | 8 | |
---|
| 9 | #JohnX likes John0? |
---|
| 10 | |
---|
| 11 | role="${pID}.likes" |
---|
| 12 | principal="${cID}" |
---|
| 13 | |
---|
| 14 | $keystore/../../../../example_scripts/c/abac_prover "$keystore" "$role" "$principal" |
---|
| 15 | |
---|
| 16 | #echo "$keystore" "$role" "$principal" |
---|
| 17 | #gdb $keystore/../../../../example_scripts/c/abac_prover |
---|
| 18 | |
---|
| 19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.