diff options
author | 2019-03-19 08:09:17 -0700 | |
---|---|---|
committer | 2019-03-19 08:10:24 -0700 | |
commit | e9d7749328010a7d243c4eabb5e61a59932ecbcb (patch) | |
tree | ad02386204678cf7b16aa7c908bca07332749689 | |
parent | 7d40a74b671d3737b4a47c9f0d98e555313199ee (diff) |
Update Initialization tool
Change-Id: I88686761d324f9bd734d03ccb92f4a49783cf4a0
Issue-ID: AAF-762
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
-rwxr-xr-x | bin/abrmdcontainer/create_primary.sh | 6 | ||||
-rwxr-xr-x | bin/abrmdcontainer/run_abrmd.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/abrmdcontainer/create_primary.sh b/bin/abrmdcontainer/create_primary.sh index 3d4f0f9..dec3f75 100755 --- a/bin/abrmdcontainer/create_primary.sh +++ b/bin/abrmdcontainer/create_primary.sh @@ -24,10 +24,10 @@ tpm2_readpublic -H ${SRKHANDLE} --opu out_primary_public -T device -V if [ $? -ne 0 ]; then echo; echo -e "${YELLOW} Primary Key does not exist, creating..."; rm -f PrimaryKeyBlob - echo "tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -A o -g 0x000B + echo "tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -H o -g 0x000B -G 0x0001 -T device -V -C PrimaryKeyBlob" - tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -A o -g 0x000B \ + tpm2_createprimary -P ${O_PASSWORD} -K ${KEY_PASSWORD} -H o -g 0x000B \ -G 0x0001 -T device -V -C PrimaryKeyBlob if [ $? -ne 0 ]; then echo; echo -e "${RED}Error, Exit."; @@ -59,4 +59,4 @@ if [ $? -ne 0 ]; then echo; echo -e "${YELLOW} Primary Key does not exist, creat rm -f PrimaryKeyBlob fi -#END
\ No newline at end of file +#END diff --git a/bin/abrmdcontainer/run_abrmd.sh b/bin/abrmdcontainer/run_abrmd.sh index 00fbf24..c4a492c 100755 --- a/bin/abrmdcontainer/run_abrmd.sh +++ b/bin/abrmdcontainer/run_abrmd.sh @@ -10,7 +10,7 @@ sleep 1m # Start Resource Manager if [ -z $TPM_SIMULATOR ]; then echo "Using TPM Hardware for the operations"; - tpm2-abrmd + tpm2-abrmd --allow-root else echo "Using TPM Simulator for the opeations"; hostip=$(ip route show | awk '/default/ {print $3}'); |