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:
1.0 KB
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | pwd=`pwd` |
---|
4 | eloc=`which creddy | sed 's/\/creddy//'` |
---|
5 | if [ "$eloc" = "" ]; then |
---|
6 | echo "ERROR: creddy is not in the search path!!!" |
---|
7 | exit 1 |
---|
8 | fi |
---|
9 | |
---|
10 | $eloc/creddy --attribute \ |
---|
11 | --issuer Acme_ID.pem --key Acme_private.pem --role roleOne \ |
---|
12 | --subject-cert Acme_ID.pem --subject-role simple_subject_role \ |
---|
13 | --out Acme_roleOne__Acme_simple_subject_role.xml |
---|
14 | |
---|
15 | $eloc/creddy --attribute \ |
---|
16 | --issuer Acme_ID.pem --role roleTwo \ |
---|
17 | --subject-cert Acme_ID.pem --subject-role simple_subject_role \ |
---|
18 | --out Acme_roleTwo__Acme_simple_subject_role.xml |
---|
19 | |
---|
20 | $eloc/creddy --attribute \ |
---|
21 | --issuer Acme_ID.pem --key Acme_private.pem --role roleThree \ |
---|
22 | --subject-cert Coyote_ID.pem --subject-role simple_subject_role \ |
---|
23 | --out Acme_roleThree__Coyote_simple_subject_role.xml |
---|
24 | |
---|
25 | $eloc/creddy --attribute \ |
---|
26 | --issuer Acme_ID.pem --key Coyote_private.pem --role roleFour \ |
---|
27 | --subject-cert Coyote_ID.pem --subject-role simple_subject_role \ |
---|
28 | --out Acme_roleFour__Coyote_simple_subject_role.xml |
---|
29 | |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.