linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Zhao, Shirley" <shirley.zhao@intel.com>
To: "linux-integrity@vger.kernel.org"
	<linux-integrity@vger.kernel.org>,
	"LSM List" <linux-security-module@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Two questions about IMA
Date: Tue, 16 Jun 2020 14:41:33 +0000	[thread overview]
Message-ID: <BL0PR11MB3252AC76F135A7546554BDF88D9D0@BL0PR11MB3252.namprd11.prod.outlook.com> (raw)

Hi, all, 

This is Shirley from, I am a newer of IMA. 
I have some questions. Can you help?

According to the guide: https://sourceforge.net/p/linux-ima/wiki/Home/#linux-extended-verification-module-evm. 
1.	How to calculate the template hash in /sys/kernel/security/ima/ascii_runtime_measurements? Like below:
PCR     template-hash                           filedata-hash                           filename-hint
10 91f34b5c671d73504b274a919661cf80dab1e127 ima-ng sha1:1801e1be3e65ef1eaa5c16617bec8f1274eaf6b3 boot_aggregate 
10 8b1683287f61f96e5448f40bdef6df32be86486a ima-ng sha256:efdd249edec97caf9328a4a01baa99b7d660d1afc2e118b69137081c9b689954 /init 
2.	Ubuntu 20.04 is installed on my machine, but ascii_bios_measurements can’t be found under /sys/kernel/security/tpm0/. 
There is only binary_bios_measurements under tpm0/. 
So where to find the bios measure list on Ubuntu 20.04?

Thanks. 

-	Shirley  

                 reply	other threads:[~2020-06-16 14:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BL0PR11MB3252AC76F135A7546554BDF88D9D0@BL0PR11MB3252.namprd11.prod.outlook.com \
    --to=shirley.zhao@intel.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).