mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-18 02:39:56 +00:00
reset timeout set to one sec
This commit is contained in:
parent
7037bc1fc1
commit
be6bdee539
@ -114,10 +114,7 @@ function resetTpm2Emulator {
|
||||
|
||||
echo "clearing the TPM PCR values"
|
||||
|
||||
rm -f /ibmtpm/src/NVChip
|
||||
pushd /ibmtss/utils > /dev/null
|
||||
./shutdown
|
||||
popd > /dev/null
|
||||
rm -f /ibmtpm/src/NVChip
|
||||
|
||||
pkill -f "tpm2-abrmd"
|
||||
pkill -f "tpm_server"
|
||||
@ -129,7 +126,7 @@ function resetTpm2Emulator {
|
||||
popd > /dev/null
|
||||
|
||||
tpm2-abrmd -t socket &
|
||||
# sleep 1
|
||||
sleep 1
|
||||
tpm2_pcrlist -g sha256
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user