Re: [PATCH 0/4] Enabling secure boot on PowerNV systems

From: Matthew Garrett
Date: Tue Apr 02 2019 - 17:51:51 EST


On Tue, Apr 2, 2019 at 2:11 PM Claudio Carvalho <cclaudio@xxxxxxxxxxxxx> wrote:
> We want to use the efivarfs for compatibility with existing userspace
> tools. We will track and match any EFI changes that affect us.

So you implement the full PK/KEK/db/dbx/dbt infrastructure, and
updates are signed in the same way?

> Our use case is restricted to secure boot - this is not going to be a
> general purpose EFI variable implementation.

In that case we might be better off with a generic interface for this
purpose that we can expose on all platforms that implement a secure
boot key hierarchy. Having an efivarfs that doesn't allow the creation
of arbitrary attributes may break other existing userland
expectations.