source: swig/python/README @ f89b991

mei_rt2
Last change on this file since f89b991 was 2e9455f, checked in by Mei <mei@…>, 11 years ago

1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule

  • Property mode set to 100755
File size: 635 bytes
Line 
1#!/bin/sh
2#
3# This directory contains python scripts:
4#      abac_keyid.py
5#      abac_attr.py
6#      abac_prover.py
7# that demonstrates the use of ABAC API to
8#      extract keyid of an ID credential,
9#      compose a simple attribute credential
10#           (also shows how to make a query with abac structure)
11#      and a simple string query prover
12#
13#
14
15rm -rf IceCream*
16
17creddy --generate --cn IceCream
18
19./abac_attr.py IceCream_ID.pem  IceCream_private.pem IceCream_attr.der
20
21export SHA=`abac_keyid.py IceCream_ID.pem`
22
23echo $SHA
24
25./abac_prover.py --keystore `pwd` --role "[keyid:$SHA].role:delicious" --principal "[keyid:$SHA]"
Note: See TracBrowser for help on using the repository browser.