|
From: | Jonathan McCune |
Subject: | Re: test command and signature checks |
Date: | Thu, 29 Jan 2015 09:12:47 -0800 |
В Thu, 29 Jan 2015 06:17:42 -0800
Jonathan McCune <address@hidden> пишет:
> On Jan 29, 2015 1:19 AM, "Andrei Borzenkov" <address@hidden> wrote:
> >
> > What sematic of file tests should be? I think they should just test
> > file existence; this already happens for compressed files that checks
> > that on-disk file size, not uncompressed. I think same should apply to
> > signature checks.
> >
>
> Where the alternative is that an existence check will only succeed if a
> file has a corresponding (and verifiable) .sig?
>
> I think existence-only is the right semantics because verify_detached can
> be used to achieve the signature-check in a standalone fashion.
>
> (I.e., the existing behavior of test and verify_detached seems correct to
> me.)
>
Existing behavior is to simply open file so any filter in effect will
be applied.
> > May be file checks should simply disable all filters unconditionally
> > to become more lightweight.
> >
> > _______________________________________________
> > Grub-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/grub-devel
[Prev in Thread] | Current Thread | [Next in Thread] |