-
Notifications
You must be signed in to change notification settings - Fork 34
Base32 encoded sha1 examples #110
Copy link
Copy link
Open
Labels
Description
There are 50 base32 encoded sha1 examples in the specs:
vagrant@almalinux ~/github/warc-specifications (master)
$ for i in (git grep -EIo 'sha1:[A-Z0-9]{32}' | awk -F : '{print $NF}')
echo $i
end | wc -l
50of which 16 aren't valid base32:
vagrant@almalinux ~/github/warc-specifications (master)
$ for i in (git grep -EIo 'sha1:[A-Z0-9]{32}' | awk -F : '{print $NF}')
echo $i | base32 -d > /dev/null
end
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid input
base32: invalid inputNot super crucial, but did cause some confusion. Partly related to this issue: nlnwa/gowarc#90.
Cheers, Juho
Reactions are currently unavailable