Achim Gratz writes: > The new SHA512 checksums are rather lengthy. Could we switch them to > Base64 (perhaps the URL and file safe variant) instead of the current > hex encoding instead (maybe with an SHA512: prefix if we want to support > both)?
I've implemented this in setup and genini to create base64url encoded checksums. Setup deals nicely with a setup.ini that has a mix of MD5 (some packages from ports), SHA512-hex (all of cygwin) and SHA512-Base64 (my local packages) checksums. The latter ones are base64url as defined in RFC4648, which means the '+' and '/' characters get replaced by '-' and '_' to be filename and URL safe. Like this: --8<---------------cut here---------------start------------->8--- install: ../x86/cygwin/docbook2X/docbook2X-0.8.8-1.tar.bz2 286260 a2b46ebd6aeb73eebe3f001ee847fa9bc1b46231b58fc728c25197e7750cfd55285d57e77dbf5d093f80362396fa4bc4dde740cc0d0f8fcb1561278410dbebba install: ../noarch/cygport/docbook2odf/docbook2odf-0.244-1.tar.bz2 25411 289b39695a7e388c2f2ac5b8c752fa6b install: ../x86/patches/perl-Class-Factory-Util/perl-Class-Factory-Util-1.7-3.tar.xz 12420 FUfRHLQiyuK8PT4OOd7TH-2y4IgexoUxCVPJo-1_-pGAkyIQh0sbth92Nrk_wdA-YMdW3BSOLpa12gfoEJsh8g --8<---------------cut here---------------end--------------->8--- I'll have to write a ChangeLog and clean up the code a bit before I'll post the patches. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves