diff options
author | Ade Lee <alee@redhat.com> | 2012-08-15 14:10:08 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-08-15 14:10:08 -0400 |
commit | 3b1ca60d799ca02305b8a2c61eb279f74787cff0 (patch) | |
tree | d1ec49f3d77cb77fc6043580b23c371508fea802 /base/tps/tools/raclient/enroll.tps.ec | |
parent | 87b5eaa5b1409bc362867e3849fe16c8f205afa9 (diff) | |
parent | 75e1c66acb48e67951fc0ce5680328773fe837ae (diff) | |
download | pki-3b1ca60d799ca02305b8a2c61eb279f74787cff0.tar.gz pki-3b1ca60d799ca02305b8a2c61eb279f74787cff0.tar.xz pki-3b1ca60d799ca02305b8a2c61eb279f74787cff0.zip |
Merge branch 'my_tpsclient'
Diffstat (limited to 'base/tps/tools/raclient/enroll.tps.ec')
-rwxr-xr-x | base/tps/tools/raclient/enroll.tps.ec | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/base/tps/tools/raclient/enroll.tps.ec b/base/tps/tools/raclient/enroll.tps.ec new file mode 100755 index 000000000..b6e25069d --- /dev/null +++ b/base/tps/tools/raclient/enroll.tps.ec @@ -0,0 +1,43 @@ +# --- BEGIN COPYRIGHT BLOCK --- +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA +# +# Copyright (C) 2007 Red Hat, Inc. +# All rights reserved. +# --- END COPYRIGHT BLOCK --- +# +######################################################## +# Description: +# This data file tests enrollment operation. +# +# Execution: +# tpsclient < enroll.test +# +######################################################## +op=var_set name=ra_host value=host1 +op=var_set name=ra_port value=7891 +op=var_set name=ra_uri value=/nk_service +# print original token status +op=token_set cuid=a00192030405060708c9 msn=01020304 app_ver=6FBBC105 key_info=0101 major_ver=0 minor_ver=0 +op=token_set auth_key=404142434445464748494a4b4c4d4e4f +op=token_set mac_key=404142434445464748494a4b4c4d4e4f +op=token_set kek_key=404142434445464748494a4b4c4d4e4f +op=token_status +# slotnamefile is the file name which contains the name of the token +op=ra_enroll uid=pinmanager num_threads=1 pwd=netscape new_pin=netscape extensions=tokenType=userKey keygen=true slotnamefile=tokenname tokpasswd=redhat +# print changed token status +op=token_status +op=exit + |