[Pki-devel] [PATCH] 263 Added TPS servlet.

Endi Sukma Dewata edewata at redhat.com
Thu May 30 18:23:36 UTC 2013


A basic TPS servlet has been added to demonstrate sending and
receiving TPS messages using chunked encoding.

The servlet can be tested using the attached tps-test.sh. See the output 
in /var/log/pki/<tps instance>/catalina.out.

-- 
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-edewata-0263-Added-TPS-servlet.patch
Type: text/x-patch
Size: 10602 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20130530/8a39432a/attachment.bin>
-------------- next part --------------
#!/bin/sh

tpsclient <<EOF
op=var_set name=ra_host value=localhost
op=var_set name=ra_port value=16080
op=var_set name=ra_uri value=/tps/tps
op=var_list

op=token_status

op=token_set cuid=a00192030405060708c9 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=test pwd=password num_threads=1 new_pin=password

op=token_status
op=exit
EOF


More information about the Pki-devel mailing list