From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72858158094 for ; Fri, 23 Sep 2022 14:04:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A243E0CB1; Fri, 23 Sep 2022 14:04:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5960EE0CAC for ; Fri, 23 Sep 2022 14:04:02 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 2/3] glep-0074: Specify the format of size and checksum fields Date: Fri, 23 Sep 2022 16:03:54 +0200 Message-Id: <20220923140355.1307514-3-mgorny@gentoo.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923140355.1307514-1-mgorny@gentoo.org> References: <20220923140355.1307514-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: d52df68a-7544-41ce-b742-de87a8271871 X-Archives-Hash: afcd5972c0ea28a79422cb712fd4ce3f Signed-off-by: Michał Górny --- glep-0074.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/glep-0074.rst b/glep-0074.rst index 54bf216..bfbe092 100644 --- a/glep-0074.rst +++ b/glep-0074.rst @@ -191,6 +191,19 @@ The encoding can be used for other characters as well. In particular, escaping non-printable characters might be desirable. +Size and checksum fields +------------------------ + +The Manifest entries used to describe files list the file size and one +or more checksums. The size is expressed as an unsigned decimal integer. +The checksums are expressed using pairs of fields, with the first field +in every pair specifying the hash name and the second field its value. +The names of hashes and the encoding of their values are specified +in the `checksum algorithms`_ section. + +It is invalid to specify a hash name without a value. + + File verification ----------------- -- 2.37.3