diff options
author | Pramod <pramod.raghavendra.jayathirth@intel.com> | 2018-03-29 10:22:33 -0700 |
---|---|---|
committer | Pramod <pramod.raghavendra.jayathirth@intel.com> | 2018-03-30 05:13:09 -0700 |
commit | 76f424e841653b899504d8064f1055f8c114985d (patch) | |
tree | ff41308d64f33605891f31cdfca0e04df130529d /tpm-tools/initandverify/Duplicate.sh | |
parent | 8a5b33a9ba846d785d244e29bc29a46f7be34928 (diff) |
tpm tools for the below functionalities
1.INIT(Script) - Establish connection with the
Actual TPM Hardware and loads the primary key
into the TPM hardware
2. Sign and verify(Script) - Loads the key and
does the sign and verify operation
Issue-ID: AAF-207
Change-Id: I015eb5fbc6f0e6f09ca454ed1bb55c5f5aadebae
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'tpm-tools/initandverify/Duplicate.sh')
-rwxr-xr-x | tpm-tools/initandverify/Duplicate.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tpm-tools/initandverify/Duplicate.sh b/tpm-tools/initandverify/Duplicate.sh new file mode 100755 index 0000000..fd95c09 --- /dev/null +++ b/tpm-tools/initandverify/Duplicate.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "../duplicate/ossl_tpm_duplicate -pemfile ./private.pem -parentPub out_parent_public -dupPub dupPub -dupPriv dupPriv -dupSymSeed dupSymseed -dupEncKey dupEncKey" +rm -f dupPub dupPriv dupSymseed dupEncKey +../duplicate/ossl_tpm_duplicate -pemfile ./private.pem -parentPub out_parent_public -dupPub dupPub -dupPriv dupPriv -dupSymSeed dupSymseed -dupEncKey dupEncKey + |