abac0-leak
Last change
on this file since 367e333 was
4f79997,
checked in by Mei <mei@…>, 11 years ago
|
1) add a new scaling test -haystack/ralphs
2) tweak some libabac code here and there
|
-
Property mode set to
100755
|
File size:
486 bytes
|
Line | |
---|
1 | #!/usr/bin/env sh |
---|
2 | |
---|
3 | if [ -z "${TESTDIR}" ] ; then |
---|
4 | TESTDIR=../../../.. |
---|
5 | fi |
---|
6 | . $(TESTDIR)/test_util.sh |
---|
7 | |
---|
8 | keystore=`pwd` |
---|
9 | pID=`$eloc/creddy --keyid --cert ${keystore}/John#VAL#_ID.pem` |
---|
10 | cID=`$eloc/creddy --keyid --cert ${keystore}/John0_ID.pem` |
---|
11 | |
---|
12 | #JohnX likes John0? |
---|
13 | |
---|
14 | role="${pID}.likes" |
---|
15 | principal="${cID}" |
---|
16 | |
---|
17 | $keystore/../../../../example_scripts/c/abac_prover "$keystore" "$role" "$principal" |
---|
18 | |
---|
19 | #echo "$keystore" "$role" "$principal" |
---|
20 | #gdb $keystore/../../../../example_scripts/c/abac_prover |
---|
21 | |
---|
22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.