diff options
| author | Peter Todd <[email protected]> | 2016-03-18 06:04:08 -0400 |
|---|---|---|
| committer | Peter Todd <[email protected]> | 2016-05-21 11:26:21 +0200 |
| commit | 22421faa199b7922259b4b55e6471a1b5f91d0da (patch) | |
| tree | 8ad9aaf04e2c274b50d2d47e95dd4e1deaa4869b | |
| parent | Make verify-commits path-independent (diff) | |
| download | discoin-22421faa199b7922259b4b55e6471a1b5f91d0da.tar.xz discoin-22421faa199b7922259b4b55e6471a1b5f91d0da.zip | |
Remove pointless warning
Any attacker who managed to make an evil commit that changed something in the
contrib/verify-commits/ directory could just as easily remove the warning
and/or modify it to not display the evil commits; telling the user to check
those commits specifically misleads them into checking just those commits
rather than the script itself.
| -rwxr-xr-x | contrib/verify-commits/verify-commits.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/verify-commits/verify-commits.sh b/contrib/verify-commits/verify-commits.sh index a859e6785..5219331e2 100755 --- a/contrib/verify-commits/verify-commits.sh +++ b/contrib/verify-commits/verify-commits.sh @@ -5,9 +5,6 @@ DIR=$(dirname "$0") [ "/${DIR#/}" != "$DIR" ] && DIR=$(dirname "$(pwd)/$0") -echo "Please verify all commits in the following list are not evil:" -git log "$DIR" - VERIFIED_ROOT=$(cat "${DIR}/trusted-git-root") REVSIG_ALLOWED=$(cat "${DIR}/allow-revsig-commits") |