summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-23 15:34:40 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-04 08:56:08 +0200
commit0dcde7c19a93fbc13180e1a0708c83557f3de4e7 (patch)
tree27d436b55c8e494ec119fe37fb10dd96ddac6316
parentglep-0074: Specify the format of size and checksum fields (diff)
downloadglep-0dcde7c19a93fbc13180e1a0708c83557f3de4e7.tar.gz
glep-0dcde7c19a93fbc13180e1a0708c83557f3de4e7.tar.bz2
glep-0dcde7c19a93fbc13180e1a0708c83557f3de4e7.zip
glep-0074: Clarify the hex encoding of hash values
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--glep-0074.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/glep-0074.rst b/glep-0074.rst
index 5cf0708..d5e5057 100644
--- a/glep-0074.rst
+++ b/glep-0074.rst
@@ -418,6 +418,14 @@ Checksum algorithms
| ``WHIRLPOOL`` | Whirlpool [#BARRETO]_ | 512 | Hex | |
+-----------------+-----------------------+------+------+-------------+
+The following hash value encodings are used:
+
+Hex
+ The hash value expressed as an unsigned hexadecimal integer,
+ using digits ``0`` to ``9`` and lowercase letters ``a`` to ``f``,
+ with no prefix or suffix.
+
+
Any new hashes must be added to this specification prior to being used
in Manifest files. Adding a new hash is considered
a backwards-compatible change to the GLEP. It is recommended that new