source: tests/creddy_tests/verify.sh @ ec550f7

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: 895 bytes
Line 
1#!/bin/sh
2#creddy --verify --cert <cert> [ --attrcert <cert> ]
3
4pwd=`pwd`
5eloc=`which creddy | sed 's/\/creddy//'`
6if [ "$eloc" = "" ]; then
7  echo "ERROR: creddy is not in the search path!!!"
8  exit 1
9fi
10
11$eloc/creddy --verify --cert Coyote_ID.pem --attrcert Acme_buy_rockets__Acme_preferred_customer_attr.xml
12$eloc/creddy --verify --cert Acme_ID.pem --attrcert Acme_buy_rockets__Acme_preferred_customer_attr.xml
13
14$eloc/creddy --verify --cert Acme_private.pem
15$eloc/creddy --verify --cert Acme_ID.pem --attrcert bad_attr.xml
16$eloc/creddy --verify --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml
17$eloc/creddy --verify --cert bad_attr.xml
18$eloc/creddy --verify --cert Coyote_ID.pem
19
20$eloc/creddy --verify --cert not_ss.pem
21$eloc/creddy --verify --cert not_ss.xml
22$eloc/creddy --verify --cert priv.xml
23$eloc/creddy --verify --cert PGissuer.pem
24$eloc/creddy --verify --cert ProtoGENI.xml
Note: See TracBrowser for help on using the repository browser.