public inbox for linux-integrity@vger.kernel.org
 help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux.ibm.com>
To: Bruno Meneguele <bmeneg@redhat.com>,
	Simon.THOBY@viveris.fr, kgold@linux.ibm.com
Cc: linux-integrity@vger.kernel.org
Subject: Re: [PATCH v7 ima-evm-utils 1/2] set default hash algorithm in configuration time
Date: Tue, 14 Sep 2021 11:24:22 -0400	[thread overview]
Message-ID: <0a8960c73cd7836949e891ac8efdf516907669cb.camel@linux.ibm.com> (raw)
In-Reply-To: <20210910184701.386163-2-bmeneg@redhat.com>

On Fri, 2021-09-10 at 15:47 -0300, Bruno Meneguele wrote:
> The default hash algorithm for evmctl is today hardcoded in the libimaevm.c
> file. To facilitate package maintainers across different distributions to
> set their own default hash algorithm this, patch adds the
> --with-default-hash=<algo> option to the configuration script.
> 
> The chosen algorithm will then be checked by its available in the kernel,
> otherwise IMA won't be able to verify files hashed by the user. For that,
> the kernel header hash_info.h used as the source of supported hashes. In
> case the hash_info.h header is not present, the configuration script warns
> about it, but uses whatever the user specified in the option.
> 
> Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>

Thanks, Bruno.  This patch set is now queued in the next-testing
branch.

Mimi


  reply	other threads:[~2021-09-14 15:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10 18:46 [PATCH v7 ima-evm-utils 0/2] make default hash algorithm dynamic Bruno Meneguele
2021-09-10 18:47 ` [PATCH v7 ima-evm-utils 1/2] set default hash algorithm in configuration time Bruno Meneguele
2021-09-14 15:24   ` Mimi Zohar [this message]
2021-09-16 20:54     ` Bruno Meneguele
2021-09-10 18:47 ` [PATCH v7 ima-evm-utils 2/2] make SHA-256 the default hash algorithm Bruno Meneguele

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=0a8960c73cd7836949e891ac8efdf516907669cb.camel@linux.ibm.com \
    --to=zohar@linux.ibm.com \
    --cc=Simon.THOBY@viveris.fr \
    --cc=bmeneg@redhat.com \
    --cc=kgold@linux.ibm.com \
    --cc=linux-integrity@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