X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=bin%2Fabrmdcontainer%2Fcreate_primary.sh;fp=bin%2Fabrmdcontainer%2Fcreate_primary.sh;h=dec3f7562a626c0ed4dd39a1daf86e6aa3399fcc;hb=e9d7749328010a7d243c4eabb5e61a59932ecbcb;hp=3d4f0f93f723daccae8168aa8075cca1d46da5e6;hpb=7d40a74b671d3737b4a47c9f0d98e555313199ee;p=aaf%2Fsshsm.git 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