Giter VIP home page Giter VIP logo

detect-cve-2017-15361-tpm's Issues

Add TPM 2.0 support for Linux systems

/sys/class/tpm/tpm0/device/caps doesn't exist for TPM 2.0 in Linux-based systems. See tpm2-software/tpm2-tools#604 for more information.

We could try and detect if tpm2-tools is installed and then call tpm2_getcap -c="properties-fixed" if that returns the right data (manufacturer and firmware version). See https://github.com/tpm2-software/tpm2-tools/blob/master/man/tpm2_getcap.1.md for more information.

Looks like tpm2-tools 3.0+ uses tpm2_getcap. tpm2-tools 2.0 uses tpm2_dump_capability with the same arguments (ref https://manpages.debian.org/testing/tpm2-tools/tpm2_dump_capability.8.en.html). tpm2-tools 1.0 does not appear to have an equivalent command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.