Browse Source

Trust is earned

pull/5/head
Duke Leto 3 years ago
parent
commit
c568f7a16f
  1. 3
      contrib/verify-commits/gpg.sh
  2. 5
      contrib/verify-commits/pre-push-hook.sh
  3. 5
      contrib/verify-commits/trusted-keys
  4. 5
      contrib/verify-commits/verify-commits.sh

3
contrib/verify-commits/gpg.sh

@ -1,4 +1,7 @@
#!/bin/sh
# Copyright (c) 2019-2020 Hush developers
# Distributed under the GPLv3 software license, see the accompanying
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
INPUT=$(</dev/stdin)
VALID=false
IFS=$'\n'

5
contrib/verify-commits/pre-push-hook.sh

@ -1,5 +1,8 @@
#!/bin/bash
if ! [[ "$2" =~ [git@]?[www.]?github.com[:|/]bitcoin/bitcoin[.git]? ]]; then
# Copyright (c) 2019-2020 Hush developers
# Distributed under the GPLv3 software license, see the accompanying
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
if ! [[ "$2" =~ [git@]?[www.]?hush.is[:|/]bitcoin/bitcoin[.git]? ]]; then
exit 0
fi

5
contrib/verify-commits/trusted-keys

@ -1,5 +0,0 @@
71A3B16735405025D447E8F274810B012346C9A6
1F4410F6A89268CE3197A84C57896D2FF8F0B657
01CDF4627A3B88AAE4A571C87588242FBE38D3A8
AF8BE07C7049F3A26B239D5325B3083201782B2F
81291FA67D2C379A006A053FEAB5AF94D9E9ABE7

5
contrib/verify-commits/verify-commits.sh

@ -1,4 +1,7 @@
#!/bin/sh
#!/bin/bash
# Copyright (c) 2019-2020 Hush developers
# Distributed under the GPLv3 software license, see the accompanying
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
DIR=$(dirname "$0")

Loading…
Cancel
Save