diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2013-05-05 15:04:11 -0400 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2013-05-05 15:05:23 -0400 |
commit | 2320d009b917349b5eb2435c0823ab6f309d349f (patch) | |
tree | fffd236d342e6cdc778f89f819952986fae2e123 /scripts/tkstool.sh | |
parent | dbd722371a29009a392f8851c8979f8481272938 (diff) | |
download | pki-dev-2320d009b917349b5eb2435c0823ab6f309d349f.tar.gz pki-dev-2320d009b917349b5eb2435c0823ab6f309d349f.tar.xz pki-dev-2320d009b917349b5eb2435c0823ab6f309d349f.zip |
Added new scripts.
Diffstat (limited to 'scripts/tkstool.sh')
-rwxr-xr-x | scripts/tkstool.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tkstool.sh b/scripts/tkstool.sh new file mode 100755 index 0000000..4e17adf --- /dev/null +++ b/scripts/tkstool.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +INSTANCE_DIR=/var/lib/pki/tks-master +grep "internal=" $INSTANCE_DIR/conf/password.conf | sed "s/internal=//" > $INSTANCE_DIR/conf/internal.txt +tkstool -T -z tks.noise -o tks.txt -d $INSTANCE_DIR/alias -n sharedSecret -f $INSTANCE_DIR/conf/internal.txt |