source: examples/creddy_tests/generate.sh @ ecb1628

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since ecb1628 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: 366 bytes
RevLine 
[461541a]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 --generate --cn Bigbird
11$eloc/creddy --generate --cn 12_3
12## looks like optarg just picked up the 'Bad' part
13$eloc/creddy --generate --cn Bad$name
[9e063cb]14$eloc/creddy --generate --cn abc --cert bad_attr.xml
Note: See TracBrowser for help on using the repository browser.