mempool: 3.3.2

- Node 26, en-US-only frontend build
- Set NG_FORCE_TTY=false: under Nix's pty the Angular CLI spinner
  redraws forever and the frontend build never finishes
- generate.sh: verify release tags against pinned wiz or mononaut
  fingerprints (mononaut signs since v3.3.0; key fetched from GitHub)
- Newer mining-pool logos
- nginx: serve the English site at / instead of redirecting
- docs/fork-maintenance.md: reflect 3.3.2, Node 26 and the signer change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pleb
2026-11-16 08:30:23 -08:00
co-authored by Claude Opus 5.5
parent e1af5b794e
commit 230e5c539b
5 changed files with 62 additions and 26 deletions
+16 -4
View File
@@ -1,11 +1,11 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p gnupg gnused jq
#! nix-shell -i bash -p gnupg gnused jq curl
set -euo pipefail
# Use this to start a debug shell at the location of this statement
# . "${BASH_SOURCE[0]%/*}/../../helper/start-bash-session.sh"
version=3.2.1
version=3.3.2
# You can also specify a rev instead:
# rev=57eddac7f0b99b4fe84d91c0f4a50a4f7ccfe55f
owner=mempool
@@ -31,9 +31,21 @@ updateSrc() {
git clone --depth 1 --branch "$tag" -c advice.detachedHead=false $repo "$src"
git -C "$src" checkout tags/$tag
export GNUPGHOME=$TMPDIR
# Release tags are signed by one of these keys
trustedKeys=(
913C5FF1F579B66CA10378DBA394E332255A6173 # wiz
523B596A78BB8495AA2EC45ABFD16BE592A9CD8D # mononaut (since v3.3.0)
)
# Fetch wiz' key
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 913C5FF1F579B66CA10378DBA394E332255A6173 2> /dev/null
git -C "$src" verify-tag $tag
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 913C5FF1F579B66CA10378DBA394E332255A6173 2> /dev/null || :
# Fetch mononaut's key (not available on keyservers)
curl -fsS https://github.com/mononaut.gpg | gpg --import 2> /dev/null
signer=$(git -C "$src" verify-tag --raw $tag 2>&1 | sed -nE 's/^\[GNUPG:\] VALIDSIG ([0-9A-F]+) .*/\1/p')
if [[ ! " ${trustedKeys[*]} " =~ " $signer " ]]; then
echo "Error: Tag $tag is not signed by a trusted key (signer: ${signer:-none})"
exit 1
fi
echo "Tag $tag has a valid signature by $signer"
rev=$tag
fi
rm -rf "$src"/.git