Hi, The hash does not need to be lowercase. It can be a quick fix in portage to accept any case.
Thanks, Sheng Yu ------- Original Message ------- On Friday, September 23rd, 2022 at 10:03, Michał Górny <mgo...@gentoo.org> wrote: > > > Hi, > > Here's next part of GLEP 74 updates, this time I think it qualifiers > as 100% editorial. Ulrich Müller noticed that we don't specify how > to express sizes and checksums. I've partially solved the latter while > adding the hash algorithm table and these patches should clarify > the matters even further. > > Notably, they: > > 1) clarify that DIST entries are relevant to package managers only > > 2) specify that size is an unsigned decimal, and checksums consist > of name-value pairs > > 3) clarify that 'Hex' encoding of hashes means lowercase hex without > any prefix or suffix > > Perhaps the most controversial part is requiring lowercase -- but > (drumroll...) Portage reports hash mismatch if you use uppercase. > > > Michał Górny (3): > glep-0074: Clarify that DIST entries are specific to PMs > glep-0074: Specify the format of size and checksum fields > glep-0074: Clarify the hex encoding of hash values > > glep-0074.rst | 26 +++++++++++++++++++++++++- > 1 file changed, 25 insertions(+), 1 deletion(-) > > -- > 2.37.3