tpm2-tools | The source repository for the Trusted Platform Module (TPM20) tools

 by   tpm2-software C Version: 5.5 License: No License

kandi X-RAY | tpm2-tools Summary

kandi X-RAY | tpm2-tools Summary

tpm2-tools is a C library typically used in Embedded System applications. tpm2-tools has no bugs and it has low support. However tpm2-tools has 1 vulnerabilities. You can download it from GitHub.

The source repository for the Trusted Platform Module (TPM2.0) tools
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tpm2-tools has a low active ecosystem.
              It has 572 star(s) with 344 fork(s). There are 56 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 273 open issues and 1244 have been closed. On average issues are closed in 31 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of tpm2-tools is 5.5

            kandi-Quality Quality

              tpm2-tools has 0 bugs and 0 code smells.

            kandi-Security Security

              tpm2-tools has 1 vulnerability issues reported (0 critical, 0 high, 1 medium, 0 low).
              tpm2-tools code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tpm2-tools does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              tpm2-tools releases are available to install and integrate.
              It has 168 lines of code, 0 functions and 1 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tpm2-tools
            Get all kandi verified functions for this library.

            tpm2-tools Key Features

            No Key Features are available at this moment for tpm2-tools.

            tpm2-tools Examples and Code Snippets

            No Code Snippets are available at this moment for tpm2-tools.

            Community Discussions

            QUESTION

            file path of each hash in measurements with TPM
            Asked 2021-Mar-07 at 16:50

            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:50

            The 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:

            Source https://stackoverflow.com/questions/66517997

            QUESTION

            What TPM2_GetCapability TPM_HT_LOADED_SESSION is intended to show?
            Asked 2021-Jan-10 at 18:26

            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:26

            Indeed. 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?

            Source https://stackoverflow.com/questions/65589309

            QUESTION

            Tpm 2.0 takeownership not creating SRK
            Asked 2020-Oct-19 at 16:05

            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

            1. How to get EK and SRK using command
            2. How to take ownership
            3. 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:05

            First 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).

            Source https://stackoverflow.com/questions/64391015

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tpm2-tools

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/tpm2-software/tpm2-tools.git

          • CLI

            gh repo clone tpm2-software/tpm2-tools

          • sshUrl

            git@github.com:tpm2-software/tpm2-tools.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular C Libraries

            linux

            by torvalds

            scrcpy

            by Genymobile

            netdata

            by netdata

            redis

            by redis

            git

            by git

            Try Top Libraries by tpm2-software

            tpm2-tss

            by tpm2-softwareC

            tpm2-pkcs11

            by tpm2-softwareC

            tpm2-tss-engine

            by tpm2-softwareC

            tpm2-abrmd

            by tpm2-softwareC

            tpm2-totp

            by tpm2-softwareC