mirror of
https://github.com/tpm2dev/tpm.dev.tutorials.git
synced 2025-05-17 20:43:51 +00:00
updates
This commit is contained in:
parent
83c0132f2b
commit
06f84f29f3
1 changed files with 0 additions and 22 deletions
|
@ -14,28 +14,6 @@ Each example can be run just by typing `python3 example.py`
|
|||
|
||||
Each example has an accompanying description as markdown file, plus annotated code.
|
||||
|
||||
<<<<<<< HEAD
|
||||
* [quote](quote.md)
|
||||
=======
|
||||
* [randomnumber]
|
||||
* [quote]
|
||||
|
||||
## Notes on TCTI Errors
|
||||
|
||||
When an `ESAPI` object is created it will print out errors as it searches for a suitable TPM devices. For example:
|
||||
|
||||
```bash
|
||||
~/tpm.dev.tutorials/PythonExamples$ python3 randomnumber.py
|
||||
ERROR:tcti:src/tss2-tcti/tcti-device.c:442:Tss2_Tcti_Device_Init() Failed to open specified TCTI device file /dev/tpmrm0: No such file or directory
|
||||
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:154:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-device.so.0
|
||||
ERROR:tcti:src/tss2-tcti/tcti-device.c:442:Tss2_Tcti_Device_Init() Failed to open specified TCTI device file /dev/tpm0: No such file or directory
|
||||
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:154:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-device.so.0
|
||||
ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:222:tcti_control_command() Control command failed with error: 1
|
||||
ERROR:tcti:src/tss2-tcti/tcti-swtpm.c:330:tcti_swtpm_set_locality() Failed to set locality: 0xa000a
|
||||
WARNING:tcti:src/tss2-tcti/tcti-swtpm.c:599:Tss2_Tcti_Swtpm_Init() Could not set locality via control channel: 0xa000a
|
||||
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:154:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-swtpm.so.0
|
||||
type is <class 'tpm2_pytss.types.TPM2B_DIGEST'>
|
||||
r is a10ab7558675a56c
|
||||
as hex 11604288967829464428
|
||||
```
|
||||
>>>>>>> a53da59 (added random numbers and updated text)
|
||||
|
|
Loading…
Add table
Reference in a new issue