本人使用的是Ubuntu 16.04系统,安装了TPM emulator模拟器,在使用tpm-tools tpm_sealdata指令时,能够成功加密文件,但使用tpm_unsealdata命令解密文件时失败,如下所示:
xuezhang@ubuntu:/Desktop$ echo "123456789" > infile/Desktop$ tpm_sealdata -i infile -p 0 -o seal_key
xuezhang@ubuntu:
Enter SRK password:
xuezhang@ubuntu:~/Desktop$ tpm_unsealdata -i seal_key -o result
Enter SRK password:
Unable to write output file
希望各位能给解答一下,非常感谢!