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 8B176158094 for ; Sun, 25 Sep 2022 19:07:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAED22BC11D; Sun, 25 Sep 2022 19:07:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 68B942BC11A for ; Sun, 25 Sep 2022 19:07:13 +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 v2 2/3] glep-0074: Specify the format of size and checksum fields Date: Sun, 25 Sep 2022 21:07:05 +0200 Message-Id: <20220925190706.14837-3-mgorny@gentoo.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220925190706.14837-1-mgorny@gentoo.org> References: <20220923140355.1307514-1-mgorny@gentoo.org> <20220925190706.14837-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: f6940d16-26c3-4ddf-8054-38362367e09e X-Archives-Hash: f2abe3340fdddae3f85b7f700778473b 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..16cbb67 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 in bytes +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