abac0-leakabac0-meimei-idtvf-new-xml
Last change
on this file since ec550f7 was
ec550f7,
checked in by Mei <mei@…>, 11 years ago
|
1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading
an attribute credentials
4) add examples of GENI specific attribute credentials
and principal certificates into the regression testing
5) rename examples to tests
|
-
Property mode set to
100755
|
File size:
921 bytes
|
Rev | Line | |
---|
[461541a] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | #Acme.buy_rockets <- Acme.preferred_customer |
---|
| 4 | #Acme.preferred_customer <- Coyote |
---|
| 5 | |
---|
| 6 | rm -rf *.pem *.xml *.out |
---|
| 7 | |
---|
| 8 | pwd=`pwd` |
---|
| 9 | eloc=`which creddy | sed 's/\/creddy//'` |
---|
| 10 | if [ "$eloc" = "" ]; then |
---|
| 11 | echo "ERROR: creddy is not in the search path!!!" |
---|
| 12 | exit 1 |
---|
| 13 | fi |
---|
| 14 | |
---|
| 15 | $eloc/creddy --generate --cn Acme |
---|
| 16 | $eloc/creddy --generate --cn Coyote |
---|
| 17 | |
---|
| 18 | $eloc/creddy --attribute \ |
---|
| 19 | --issuer Acme_ID.pem --key Acme_private.pem --role buy_rockets \ |
---|
| 20 | --subject-cert Acme_ID.pem --subject-role preferred_customer \ |
---|
| 21 | --out Acme_buy_rockets__Acme_preferred_customer_attr.xml |
---|
| 22 | |
---|
| 23 | $eloc/creddy --attribute \ |
---|
| 24 | --issuer Acme_ID.pem --key Acme_private.pem --role preferred_customer \ |
---|
| 25 | --subject-cert Coyote_ID.pem \ |
---|
| 26 | --out Acme_preferred_customer__Coyote_attr.xml |
---|
| 27 | |
---|
[ec550f7] | 28 | cp not_ss.pem_save not_ss.pem |
---|
| 29 | cp not_ss.xml_save not_ss.xml |
---|
| 30 | cp priv.xml_save priv.xml |
---|
| 31 | cp PGissuer.pem_save PGissuer.pem |
---|
| 32 | cp ProtoGENI.xml_save ProtoGENI.xml |
---|
| 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.