diff options
author | Endi S. Dewata <edewata@redhat.com> | 2017-07-20 08:59:10 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2017-07-20 08:59:10 +0200 |
commit | 1890ac4614cf444cb18c49e235b71d1ea13dc527 (patch) | |
tree | 4b39fde8b03ea06c153be3d06d2796edcdea2019 /scripts/tps-format.sh | |
parent | 71bbe9874375a7493679c71dc3501f239765ce3f (diff) | |
download | pki-dev-1890ac4614cf444cb18c49e235b71d1ea13dc527.tar.gz pki-dev-1890ac4614cf444cb18c49e235b71d1ea13dc527.tar.xz pki-dev-1890ac4614cf444cb18c49e235b71d1ea13dc527.zip |
Removed old files.
Diffstat (limited to 'scripts/tps-format.sh')
-rwxr-xr-x | scripts/tps-format.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/scripts/tps-format.sh b/scripts/tps-format.sh deleted file mode 100755 index 6f7be24..0000000 --- a/scripts/tps-format.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -uid=$1 -cuid=$2 - -if [ "$cuid" == "" ]; then - #cuid=a00192030405060708c9 - #cuid=A7D05D2BA7D1AFB4E7C1 - cuid=`hexdump -v -n "10" -e '1/1 "%02x"' /dev/urandom` -fi - -echo $cuid - -tpsclient <<EOF -op=var_set name=ra_host value=localhost -op=var_set name=ra_port value=8080 -op=var_set name=ra_uri value=/tps/tps -op=var_list - -#op=token_status - -op=token_set cuid=$cuid msn=01020304 app_ver=6FBBC105 key_info=0101 major_ver=0 minor_ver=0 -#op=token_set cuid=$cuid app_ver=6FBBC105 key_info=0101 - -op=token_set auth_key=404142434445464748494a4b4c4d4e4f -op=token_set mac_key=404142434445464748494a4b4c4d4e4f -op=token_set kek_key=404142434445464748494a4b4c4d4e4f - -op=token_status - -op=ra_format uid=$uid pwd=Secret123 new_pin=Secret123 num_threads=1 extensions=tokenType=userKey - -#op=token_status - -op=exit -EOF |