Re: [RFC PATCH 1/3] keys: Add ability to trust the platform keyring

From: Jarkko Sakkinen
Date: Thu May 20 2021 - 11:59:56 EST


On Mon, May 17, 2021 at 06:57:12PM -0400, Eric Snowberg wrote:
> Add the ability to allow the secondary_trusted keyring to trust
> keys in the platform keyring. This is done by doing a key_link

What this looks for me doing is to *replace* the secondary
trusted keyring with the platform keyring.

So this should be "Add ability to replace the secondary trusted
keyring with the platform keyring." This is what the code change
is actually doing so it would be nice to say it out loud.

> of the platform_trusted_keys to the secondary_trusted_keys.
> After they are linked, the platform_trusted_keys can be used for
> validation instead of the secondary_trusted_keys if the user
> chooses. This functionality will be used in a follow on patch.
>
> Signed-off-by: Eric Snowberg <eric.snowberg@xxxxxxxxxx>

/Jarkko