source: tests/creddy_tests/setup.sh @ 831da18

abac0-leakabac0-mei
Last change on this file since 831da18 was 4f79997, checked in by Mei <mei@…>, 11 years ago

1) add a new scaling test -haystack/ralphs
2) tweak some libabac code here and there

  • Property mode set to 100755
File size: 1.1 KB
Line 
1#!/usr/bin/env sh
2
3#Acme.buy_rockets <- Acme.preferred_customer
4#Acme.preferred_customer <- Coyote
5
6if [ -z "${TESTDIR}" ] ; then
7    TESTDIR=..
8fi
9. ${TESTDIR}/test_util.sh
10
11$eloc/creddy --generate --cn Acme 1>/dev/null 2>&1
12$eloc/creddy --generate --cn Coyote 1>/dev/null 2>&1
13
14$eloc/creddy --generate --cn Bigbird 1>/dev/null 2>& 1
15$eloc/creddy --generate --cn Coyote 1>/dev/null 2>& 1
16
17$eloc/creddy --attribute \
18       --issuer Acme_ID.pem --key Acme_private.pem --role buy_rockets \
19       --subject-cert Acme_ID.pem --subject-role preferred_customer \
20       --out Acme_buy_rockets__Acme_preferred_customer_attr.xml
21
22$eloc/creddy --attribute \
23       --issuer Acme_ID.pem --key Acme_private.pem --role preferred_customer \
24       --subject-cert Coyote_ID.pem \
25       --out Acme_preferred_customer__Coyote_attr.xml
26
27cp not_ss.pem_save not_ss.pem
28cp not_ss.xml_save not_ss.xml
29cp priv.xml_save priv.xml
30cp PGissuer.pem_save PGissuer.pem
31cp iProtoGENI.xml_save iProtoGENI.xml
32## This will be valid for 3 years starting from 7/15/2013
33cp vProtoGENI.xml_save ProtoGENI.xml
34
Note: See TracBrowser for help on using the repository browser.