source: tests/example_scripts/python/run_e_prover @ 81c80b9

abac0-leakabac0-mei
Last change on this file since 81c80b9 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: 663 bytes
Line 
1#!/bin/sh
2
3keystore=`pwd`
4
5echo "generate an encrypted private key"
6echo "dumdum" > pfile
7openssl genrsa -des3 -out Soda_eprivate.pem -passout file:pfile
8
9echo "make a id credential with encrypted private key"
10creddy --generate --cn Soda --key Soda_eprivate.pem
11
12echo "make a generic  id credential"
13creddy --generate --cn Slush
14
15#principal
16creddy --generate --cn Cream
17
18echo "make an attribute with id with encrypted private key"
19./abac_e_attr.py Soda_ID.pem Soda_eprivate.pem Soda_attr.xml pfile Cream_ID.pem
20
21echo "make an attribute with id with none-encrypted private key"
22./abac_e_attr.py Slush_ID.pem Slush_private.pem Slush_attr.xml pfile Cream_ID.pem
23
Note: See TracBrowser for help on using the repository browser.