tpm2-tools | The source repository for the Trusted Platform Module (TPM20) tools
kandi X-RAY | tpm2-tools Summary
kandi X-RAY | tpm2-tools Summary
The source repository for the Trusted Platform Module (TPM2.0) tools
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tpm2-tools
tpm2-tools Key Features
tpm2-tools Examples and Code Snippets
Community Discussions
Trending Discussions on tpm2-tools
QUESTION
I enable the TPM in a ubuntu which is installed in vmware workstation. and then i install tpm2-tools with the following command:
...ANSWER
Answered 2021-Mar-07 at 16:50The Event:
field holds the encoding of each event. The details of the encoding depend on the specific event type, so no general answer can be given.
Your initial example showed two events:
QUESTION
Im trying to understand what is the intended output of tpm2-tools/tpm2_getcap with the option of handles-loaded-session
, the description says:
ANSWER
Answered 2021-Jan-10 at 18:26Indeed. If a TPM2.0 Session is active, loaded in the TPM and in use, then you would see it in the list of TPM_HT_LOADED_SESSION.
Because the "tss2-software" stack stores the context in a file outside the TPM by default, then you would not see that session in loaded.
You would find it only in saved, when asking TPM2_GetCapability for TPM_HT_SAVED_SESSION as you did in your example.
Does this answer your question?
ps: Typically, context saving is needed when you have multiple users or applications working with the TPM. So, I am curious, is there a particular reason you want to use context saving or observe loaded sessions?
QUESTION
I am totally new and working on TPM 2.0 commands based on link below
https://manpages.debian.org/testing/tpm2-tools/index.html
I am trying to take ownership of TPM in previous version I tried taking ownership it asks password for owner and SRK for TPM 2 its not asking
I have some questions on TPM
- How to get EK and SRK using command
- How to take ownership
- How can i load/retrieve the certificate/key in/from TPM. Is there ant tool to interact with TPM as of now I am using tpm2-tools I googled a lot for it but I am confused wether I am right or not.
Any help many thanks
...ANSWER
Answered 2020-Oct-19 at 16:05First you would take ownership with tpm2_takeownership
. This gives you the hierarchy passwords you will need later on.
Then you would create the endorsement key with tpm2_createek
.
Then you would create the storage root key with tpm2_createprimary
, under TPM_RH_OWNER
. Then you would make the SRK persistent with tpm2_evictcontrol
.
It is not clear what you mean by loading the certificate to the TPM... But if you mean signing a key certificate by a root CA and storing it in the TPM, then you would store it in NV RAM and make it persistent (again with tpm2_evictcontrol
) at the appropriate index handle (for example, in accordance with the TCG guidance
).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tpm2-tools
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page