Skip to content

Commit dcff6ce

Browse files
committed
Bump HWI
1 parent 12e4429 commit dcff6ce

7 files changed

Lines changed: 33 additions & 11 deletions

File tree

BTCPayServer.Hwi/Deployment/HwiVersions.cs

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,29 @@ public class HwiVersions
8080
}
8181
};
8282

83-
public static HwiVersion Latest => v2_1_1;
83+
public static HwiVersion v3_0_0 { get; } = new HwiVersion()
84+
{
85+
Windows = new HwiDownloadInfo()
86+
{
87+
Link = "https://github.com/bitcoin-core/HWI/releases/download/3.0.0/hwi-3.0.0-windows-x86_64.zip",
88+
Hash = "38b3f02374c300516b4583a1195ffe1cac1159f9885b8ab434fd450e290c907a",
89+
Extractor = new ZipExtractor()
90+
},
91+
Linux = new HwiDownloadInfo()
92+
{
93+
Link = "https://github.com/bitcoin-core/HWI/releases/download/3.0.0/hwi-3.0.0-linux-x86_64.tar.gz",
94+
Hash = "9b70aab37a1265457de4aaa242bd24a0abef5056357d8337bd79232e9b85bc1c",
95+
Extractor = new TarExtractor()
96+
},
97+
Mac = new HwiDownloadInfo()
98+
{
99+
Link = "https://github.com/bitcoin-core/HWI/releases/download/3.0.0/hwi-3.0.0-mac-x86_64.tar.gz",
100+
Hash = "d05c046d5718bf92b348a786aad15cb0f0132fcccf57a646758610240327a977",
101+
Extractor = new TarExtractor()
102+
}
103+
};
104+
105+
public static HwiVersion Latest => v3_0_0;
84106
}
85107

86108
public class HwiVersion

BTCPayServer.Vault/Version.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>2.0.9</Version>
3+
<Version>2.0.10</Version>
44
</PropertyGroup>
55
</Project>

Build/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Changelog
22

3-
* Fix: Impossible to sign big transactions on windows (#77)
3+
* Bump HWI to 3.0.0 (Adding support to Trezor Safe 3)
44

55
You may want to follow the [documented](https://github.com/btcpayserver/BTCPayServer.Vault/blob/master/docs/HowToVerify.md) process to verify that the binaries are built by Nicolas Dorier.

Build/debian-x64/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ RUN apt-get update
55
RUN apt-get install -y --no-install-recommends imagemagick
66
###
77

8-
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-linux-x86_64.tar.gz && \
8+
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/3.0.0/hwi-3.0.0-linux-x86_64.tar.gz && \
99
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
10-
echo "9519023b3a485b68668675db8ab70be2e338be100fd2731eeddd6d34fc440580 /tmp/hwi" | sha256sum -c - && \
10+
echo "9b70aab37a1265457de4aaa242bd24a0abef5056357d8337bd79232e9b85bc1c /tmp/hwi" | sha256sum -c - && \
1111
rm /tmp/hwi.tar.gz
1212

1313
SHELL ["/bin/bash", "-c"]

Build/linux-x64/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS builder
22

3-
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/2.1.1/hwi-2.1.1-linux-amd64.tar.gz && \
3+
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/3.0.0/hwi-3.0.0-linux-x86_64.tar.gz && \
44
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
5-
echo "7f4cbe4e5c2cd1ac892f9bd8ac35fb1f837b6a547b528b61aca895a212a90062 /tmp/hwi" | sha256sum -c - && \
5+
echo "9b70aab37a1265457de4aaa242bd24a0abef5056357d8337bd79232e9b85bc1c /tmp/hwi" | sha256sum -c - && \
66
rm /tmp/hwi.tar.gz
77

88
WORKDIR /source

Build/osx-x64/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ RUN apt-get install -y --no-install-recommends imagemagick
77

88
RUN apt-get install -y --no-install-recommends git icnsutils
99

10-
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-mac-x86_64.tar.gz && \
10+
RUN wget -qO /tmp/hwi.tar.gz https://github.com/bitcoin-core/HWI/releases/download/3.0.0/hwi-3.0.0-mac-x86_64.tar.gz && \
1111
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
12-
echo "9059b8f7cf6fe42f6e37cd8015cd11cb8fb736650797b25da849c625ed61ea62 /tmp/hwi" | sha256sum -c - && \
12+
echo "d05c046d5718bf92b348a786aad15cb0f0132fcccf57a646758610240327a977 /tmp/hwi" | sha256sum -c - && \
1313
rm /tmp/hwi.tar.gz
1414

1515
WORKDIR /source

Build/win-x64/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ RUN apt-get install -y --no-install-recommends imagemagick
66
###
77

88
RUN apt-get install -y --no-install-recommends nsis unzip wine xxd osslsigncode openssl
9-
RUN wget -qO "/tmp/hwi.zip" https://github.com/bitcoin-core/HWI/releases/download/2.3.1/hwi-2.3.1-windows-x86_64.zip && \
9+
RUN wget -qO "/tmp/hwi.zip" https://github.com/bitcoin-core/HWI/releases/download/3.0.0/hwi-3.0.0-windows-x86_64.zip && \
1010
unzip "/tmp/hwi.zip" -d "/tmp" && \
11-
echo "460c8b83a9d8888ad769ffdc34dbe3ad7ecd27b22035494bdeb268d943be1791 /tmp/hwi.exe" | sha256sum -c - && \
11+
echo "38b3f02374c300516b4583a1195ffe1cac1159f9885b8ab434fd450e290c907a /tmp/hwi.exe" | sha256sum -c - && \
1212
rm "/tmp/hwi.zip" && \
1313
# Need to setup with rcedit because https://github.com/dotnet/sdk/issues/3943
1414
# I prebuild the binaries with VS 2019 on commit b807b34a644c86c0b0d89c7f073967e79202731a

0 commit comments

Comments
 (0)