Commit 579b2ba4 authored by Luca Boccassi's avatar Luca Boccassi Committed by Mikulas Patocka
Browse files

dm verity: fallback to platform keyring also if key in trusted keyring is rejected



If enabled, we fallback to the platform keyring if the trusted keyring doesn't have
the key used to sign the roothash. But if pkcs7_verify() rejects the key for other
reasons, such as usage restrictions, we do not fallback. Do so.

Follow-up for 6fce1f40

Suggested-by: default avatarSerge Hallyn <serge@hallyn.com>
Signed-off-by: default avatarLuca Boccassi <bluca@debian.org>
Acked-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent e6a3531d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment