Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 818aad3ec44473b5b3d08191488c824688653ba1
https://github.com/NixOS/nix/commit/818aad3ec44473b5b3d08191488c824688653ba1
Author: Vladimír Čunát <vcu...@gmail.com>
Date: 2016-11-06 (Sun, 06 Nov 2016)
Changed paths:
M src/libutil/hash.cc
Log Message:
-----------
Detect and disallow base32 hash overflow
Example (before this commit):
$ nix-hash --type sha256 --to-base16
4n0igfxbd3kqvvj2k2xgysrp63l4v2gd110fwkk4apfpm0hvzwh0 \
| xargs nix-hash --type sha256 --to-base32
0n0igfxbd3kqvvj2k2xgysrp63l4v2gd110fwkk4apfpm0hvzwh0
It's a real-life example:
https://github.com/NixOS/nixpkgs/pull/20208/files#r86695567
Commit: f867f090ed198e0e7f7e2db32b9e282883bf63b7
https://github.com/NixOS/nix/commit/f867f090ed198e0e7f7e2db32b9e282883bf63b7
Author: Shea Levy <s...@shealevy.com>
Date: 2016-12-13 (Tue, 13 Dec 2016)
Changed paths:
M src/libutil/hash.cc
Log Message:
-----------
Merge branch 'base32-overflow' of git://github.com/vcunat/nix
Compare: https://github.com/NixOS/nix/compare/05f907787fdc...f867f090ed19
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits