source: examples/creddy_tests/roles.sh @ 4721618

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 4721618 was 461541a, checked in by Mei <mei@…>, 11 years ago

1) updated original rt0 to remove libstrongswan dependency

a) identity credential being made/accessed with openssl api calls

(X509/EVP_PKEY pem)

b) attribute credential being made/access via xmlsec1 (custom XML

structure)

2) refactored libcreddy into libabac and now one ABAC namespace for

libabac

3) added attribute_rule suboption to creddy's attribute as another way

to insert access rule

4) added some regression tests into example directory
5) updated some docs.

  • Property mode set to 100755
File size: 353 bytes
Line 
1#!/bin/sh
2
3pwd=`pwd`
4eloc=`which creddy | sed 's/\/creddy//'`
5if [ "$eloc" = "" ]; then
6  echo "ERROR: creddy is not in the search path!!!"
7  exit 1
8fi
9
10$eloc/creddy --roles --cert Acme_ID.pem
11$eloc/creddy --roles --cert Acme_private.pem
12$eloc/creddy --roles --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml
13$eloc/creddy --roles --cert bad.xml
Note: See TracBrowser for help on using the repository browser.