Re: [PATCH] verifiers: Don't return error for deferred image

2023-01-05 Thread Leo Yan
Hi Boyang, On Fri, Dec 30, 2022 at 08:56:59PM +0800, Zhang Boyang wrote: [...] > > > I'd like to ask what kind of image you are trying to boot/execute? If it > > > is > > > an EFI application, I think you can "chainloader" it and forget U-boot (if > > > U-boot have no verification in it self).

Re: [PATCH] verifiers: Don't return error for deferred image

2022-12-26 Thread Leo Yan
Hi Boyang, On Thu, Dec 22, 2022 at 10:37:01PM +0800, Zhang Boyang wrote: [...] > > > On 2022/12/22 19:14, Leo Yan wrote: > > > > When boot from menu and the flag GRUB_VERIFY_FLAGS_DEFER_AUTH is set, > > > > grub returns error: > > > > > > >

Re: [PATCH] verifiers: Don't return error for deferred image

2022-12-22 Thread Leo Yan
Hi Boyang, On Thu, Dec 22, 2022 at 07:25:13PM +0800, Zhang Boyang wrote: > Hi, > > On 2022/12/22 19:14, Leo Yan wrote: > > When boot from menu and the flag GRUB_VERIFY_FLAGS_DEFER_AUTH is set, > > grub returns error: > > > > Booting a command list > >

[PATCH] verifiers: Don't return error for deferred image

2022-12-22 Thread Leo Yan
the file handle and pass down to later firmware (e.g. U-Boot, etc) for authentication. For this purpose, rather than returning error, this patch prints log and returns file handler. Signed-off-by: Leo Yan --- grub-core/kern/verifiers.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions