source:
tests/example_scripts/perl/run_prover
@
2be12d2
Last change on this file since 2be12d2 was 4f79997, checked in by , 11 years ago | |
---|---|
|
|
File size: 365 bytes |
Rev | Line | |
---|---|---|
[4f79997] | 1 | #!/usr/bin/env sh |
[4721618] | 2 | |
[4f79997] | 3 | if [ -z "${TESTDIR}" ] ; then |
4 | TESTDIR=../.. | |
5 | fi | |
[3c30b59] | 6 | . ${TESTDIR}/test_util.sh |
7 | ||
[4721618] | 8 | keystore=`pwd` |
[3c30b59] | 9 | pID=`$eloc/creddy --keyid --cert ${keystore}/IceCream_ID.pem` |
10 | cID=`$eloc/creddy --keyid --cert ${keystore}/Chocolate_ID.pem` | |
[4721618] | 11 | |
12 | role="${pID}.delicious" | |
13 | principal="${cID}" | |
14 | ||
15 | ./abac_prover.pl --keystore="$keystore" --role="$role" --principal="$principal" | |
16 | ||
17 | ||
18 |
Note: See TracBrowser
for help on using the repository browser.