clean: rm -f *.pem *.der realclean: rm -f *.pem *.der *.log pfile run_attr: make clean rm -rf attr.log creddy --generate --cn IceCream creddy --generate --cn Chocolate ./abac_attr.py IceCream_ID.pem IceCream_private.pem IceCream_attr.der Chocolate_ID.pem 1>attr.log 2>&1 run_e_attr: make clean rm -rf e_attr.log pfile echo "dumdum" > pfile openssl genrsa -des3 -out Soda_private.pem -passout file:pfile creddy --generate --cn Soda --key Soda_private.pem --p=pfile creddy --generate --cn Cream ./abac_e_attr.py Soda_ID.pem Soda_private.pem Soda_attr.der pfile Cream_ID.pem 1>e_attr.log 2>&1 run_id: make clean rm -rf id.log creddy --generate --cn IceCream ./abac_keyid.py IceCream_ID.pem 1>id.log 2>&1 run_id2: make clean rm -rf id2.log creddy --generate --cn IceCream ./abac_keyid.py IceCream_private.pem 1>id2.log 2>&1