source: tests/creddy_tests/setup.sh @ 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: 997 bytes
Line 
1#!/bin/sh
2
3#Acme.buy_rockets <- Acme.preferred_customer
4#Acme.preferred_customer <- Coyote
5
6. ${TESTDIR}/test_util.sh
7
8$eloc/creddy --generate --cn Acme 1>/dev/null 2>&1
9$eloc/creddy --generate --cn Coyote 1>/dev/null 2>&1
10
11$eloc/creddy --generate --cn Bigbird 1>/dev/null 2>& 1
12$eloc/creddy --generate --cn Coyote 1>/dev/null 2>& 1
13
14$eloc/creddy --attribute \
15       --issuer Acme_ID.pem --key Acme_private.pem --role buy_rockets \
16       --subject-cert Acme_ID.pem --subject-role preferred_customer \
17       --out Acme_buy_rockets__Acme_preferred_customer_attr.xml
18
19$eloc/creddy --attribute \
20       --issuer Acme_ID.pem --key Acme_private.pem --role preferred_customer \
21       --subject-cert Coyote_ID.pem \
22       --out Acme_preferred_customer__Coyote_attr.xml
23
24cp not_ss.pem_save not_ss.pem
25cp not_ss.xml_save not_ss.xml
26cp priv.xml_save priv.xml
27cp PGissuer.pem_save PGissuer.pem
28cp iProtoGENI.xml_save iProtoGENI.xml
29## waiting for a real valid one..
30cp iProtoGENI.xml_save ProtoGENI.xml
31
Note: See TracBrowser for help on using the repository browser.