Giter Site home page Giter Site logo

Comments (7)

neusdan avatar neusdan commented on May 27, 2024

Hi,

PCR 0-7 are filled by the BIOS. So i have used 8 upwards for my own measurements in TrustedGRUB2. As far as i know this should be compliant to the "TCG PC Specific Implementation Specification".

from trustedgrub2.

naynajain avatar naynajain commented on May 27, 2024

Who measures diskboot.img in your code ? As that is the first image to be loaded from grub2 ? So, is that not measured by BIOS ?
And is your implementation for TPM 1.2 or TPM 2.0 support ?
Also, is it in accordance with UEFI or BIOS ? I am assuming for BIOS.

from trustedgrub2.

neusdan avatar neusdan commented on May 27, 2024

Who measures diskboot.img in your code

TrustedGRUB2 MBR bootcode -> boot.S

As that is the first image to be loaded from grub2 ? So, is that not measured by BIOS ?

BIOS measures/loads TrustedGRUB2 MBR
TrustedGRUB2 MBR measures/loads diskboot.img
and so on

And is your implementation for TPM 1.2 or TPM 2.0 support ?

For TPM 1.2

Also, is it in accordance with UEFI or BIOS ? I am assuming for BIOS.

Only legacy BIOS measurements are supported for now.

All this information is already present in the readme

from trustedgrub2.

naynajain avatar naynajain commented on May 27, 2024

Thanks !! And which exact PCR index is used by BIOS to store TrustedGRUB2 MBR measurement ?

from trustedgrub2.

neusdan avatar neusdan commented on May 27, 2024

you should really have a look into the specification. It's PCR 4

from trustedgrub2.

naynajain avatar naynajain commented on May 27, 2024

Well, I guess my question wasn't clear enough. I understand from spec that it is PCR4, but wasn't sure what is actually done in TrustedGrub2 implementation, and so wanted to confirm which PCR did you choose for storing MBR measurements.

Thanks :-)

from trustedgrub2.

neusdan avatar neusdan commented on May 27, 2024

The MBR is measured by the BIOS into PCR 4. I have no influence on that. The first measurement done by TrustedGRUB2 is in the MBR itself and stored into PCR 8 (diskboot.img)

from trustedgrub2.

Related Issues (20)

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.