abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since ff71d24 was
9e063cb,
checked in by Mei <mei@…>, 12 years ago
|
1) test out using encrypted private key to generate id credential
|
-
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_attr.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_attr.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_attr.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_attr.xml |
---|
29 | |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.