#!/bin/sh

keystore=`pwd`
pID=`creddy --keyid --cert ${keystore}/John#VAL#_ID.pem`
cID=`creddy --keyid --cert ${keystore}/John0_ID.pem`

#JohnX likes John0?

role="[keyid:${pID}].role:likes"
principal="[keyid:${cID}]"

$keystore/../../../../example_scripts/c/abac_prover "$keystore" "$role" "$principal"

#echo "$keystore" "$role" "$principal"
#gdb $keystore/../../../../example_scripts/c/abac_prover


