source: tests/creddy_prover_tests/ice_cream_rt0/README @ 3c30b59

abac0-leakabac0-mei
Last change on this file since 3c30b59 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: 783 bytes
Line 
1#!/bin/sh
2#
3# This simple example makes use of 2 principals, IceCream and Chocolate.
4#
5# This example shows a very simple delegation of roles by IceCream.  A
6# delicious flavor of IceCream is Chocolate.
7#
8# And, a query IceCream.delicious <-?- Chocolate is made (should succeed)
9# then, remove the issuer credential, IceCream, and repeat the query,
10# then, remove the principal credential, Chocolate, and repeat the query
11#
12
13#IceCream.delicious <- Chocolate
14
15rm -rf *.pem *.xml
16
17. ${TESTDIR}/test_util.sh
18
19$eloc/creddy --generate --cn IceCream
20
21$eloc/creddy --generate --cn Chocolate
22
23$eloc/creddy --attribute \
24       --issuer IceCream_ID.pem --key IceCream_private.pem --role delicious \
25       --subject-cert Chocolate_ID.pem \
26       --out IceCream_delicious__Chocolate_attr.xml
Note: See TracBrowser for help on using the repository browser.