Tuesday, July 20, 2010

Thoughts » 2010 » May

Thoughts » 2010 » May: "I reset TPM ownership data (which on my machine takes two reboot cycles, one to clear owner data and another to activate the TPM again). After this, sudo ./jtt.sh take_owner -o tpm -e ASCII succeeded.
Successfully defined an NV_RAM space using:
sudo ./jtt.sh nv_definespace --index 0x00011128 --size 20 -o tpm -e ASCIIWrote to the space using:
sudo ./jtt.sh nv_write --file rand.key --index 0x00011128 -o tpm -e ASCIIwhere rand.key is the result of:
dd bs=1 count=20 if=/dev/urandom of=rand.keyReading it back out succeeds as well, when we use:
sudo ./jtt.sh nv_decode --index 00011128 --rawit matches the output of hexdump rand.key (if you account for transposed bytes). Finally, I successfully deleted the space using:
sudo ./jtt.sh nv_releasespace --index 00011128 -o tpm -e ASCII"

No comments: