In cl/10468, we accepted SRI hashes of invalid padding while checking
their trailing bits.
In this commit, we accept SRI hashes of invalid padding and invalid length, as Nix does.
Real world example: `pkgs.javaPackages.openjfx11.deps`
<
|
||
---|---|---|
.. | ||
aterm | ||
bin | ||
derivation | ||
nar | ||
narinfo | ||
nixhash | ||
store_path | ||
lib.rs | ||
nixbase32.rs |