From c9657305e7d44a5bda8d99935681ddca279cf7f0 Mon Sep 17 00:00:00 2001 From: nixbitcoin Date: Mon, 14 Dec 2020 16:48:43 +0000 Subject: [PATCH] temp: modify get-sha256 for hotfix commit --- pkgs/joinmarket/get-sha256.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/joinmarket/get-sha256.sh b/pkgs/joinmarket/get-sha256.sh index 6bdb149..012bcf5 100755 --- a/pkgs/joinmarket/get-sha256.sh +++ b/pkgs/joinmarket/get-sha256.sh @@ -9,17 +9,19 @@ cd $TMPDIR echo "Fetching latest release" git clone https://github.com/joinmarket-org/joinmarket-clientserver 2> /dev/null cd joinmarket-clientserver -latest=$(git describe --tags `git rev-list --tags --max-count=1`) +latest=bcfa7eb4ea3ca51b7ecae9aebe65c634a4ab8b0e echo "Latest release is ${latest}" # GPG verification export GNUPGHOME=$TMPDIR echo "Fetching Adam Gibson's key" gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 2B6FC204D9BF332D062B461A141001A1AF77F20B 2> /dev/null +echo "Fetching Kristaps Kaupe's key" +gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys BF60DF964F88DD88174089A2D47B1B4232B55437 2> /dev/null echo "Verifying latest release" -git verify-tag ${latest} +git verify-commit ${latest} -echo "tag: ${latest}" +echo "commit: ${latest}" # The prefix option is necessary because GitHub prefixes the archive contents in this format echo "sha256: $(nix-hash --type sha256 --flat --base32 \ <(git archive --format tar.gz --prefix=joinmarket-clientserver-"${latest//v}"/ ${latest}))"