From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YGqsw-0003aZ-AY for mharc-grub-devel@gnu.org; Thu, 29 Jan 2015 10:19:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGqst-0003NW-FU for grub-devel@gnu.org; Thu, 29 Jan 2015 10:19:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGqsq-0004LO-Qt for grub-devel@gnu.org; Thu, 29 Jan 2015 10:19:55 -0500 Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:46646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGqsq-0004LJ-Je for grub-devel@gnu.org; Thu, 29 Jan 2015 10:19:52 -0500 Received: by mail-lb0-f170.google.com with SMTP id w7so29192256lbi.1 for ; Thu, 29 Jan 2015 07:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=mtqIQHriOYx23Kbg4LZKoqLGYBVQ90Qv77QCZ7TAtDU=; b=GrqTaoQdeX6oZAGcC9PoLYIh6PL4o7qvr1FLVC1X3tr+OpAbMY2uIvZoEn99EzmfRU gJecFnHkQa1Y5ScI1W8m3cCuBre2ey+osrcVaXHyLOlz7Bwa8csAFe8DZHIr563ZlGCK eX7DuqRqsUNp/ojysqTuDJ55k3eXcYfMeDOVuYAqrwSJOYwCFwiXGhRJKtVLWQ1T2Imf so/yBhmJr6HGnltIaWx6WfjkyO8eA16NYCJnx3lcLlR1nM1r3zDRD02EDq2RRFGV+n6W 9UIbMfcL9JtDwP/Sw9N14LtiQb2y2rYOLj7CB+gYAqrzW9lY4J5gqvyXuVuV1p+1syrs 0WyA== X-Received: by 10.112.37.161 with SMTP id z1mr1314459lbj.87.1422544791768; Thu, 29 Jan 2015 07:19:51 -0800 (PST) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id ln2sm2162027lac.31.2015.01.29.07.19.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jan 2015 07:19:50 -0800 (PST) Date: Thu, 29 Jan 2015 18:19:48 +0300 From: Andrei Borzenkov To: Jonathan McCune Subject: Re: test command and signature checks Message-ID: <20150129181948.5add5d29@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.25; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22a Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2015 15:19:56 -0000 =D0=92 Thu, 29 Jan 2015 06:17:42 -0800 Jonathan McCune =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Jan 29, 2015 1:19 AM, "Andrei Borzenkov" 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. > > >=20 > Where the alternative is that an existence check will only succeed if a > file has a corresponding (and verifiable) .sig? >=20 > I think existence-only is the right semantics because verify_detached can > be used to achieve the signature-check in a standalone fashion. >=20 > (I.e., the existing behavior of test and verify_detached seems correct to > me.) >=20 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 > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel