Skip to content

Commit bf869cd

Browse files
committed
ci: bump irmago server to v0.19.2
v0.8.0 is from 2019 and has the old scheme URLs compiled in. Asset filename also changed from irma-master-linux-amd64 to irma-linux-amd64. Lift the version into an IRMAGO_VERSION env to make future bumps a one-line change.
1 parent 54e3301 commit bf869cd

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/rust.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,19 @@ jobs:
5151
with:
5252
go-version: stable
5353
- name: Install IRMA server
54+
env:
55+
IRMAGO_VERSION: v0.19.2
5456
run: |
5557
mkdir -p "$RUNNER_TEMP/irma-bin"
5658
echo "$RUNNER_TEMP/irma-bin" >> "$GITHUB_PATH"
57-
curl -fsSL https://github.com/privacybydesign/irmago/releases/download/v0.8.0/irma-master-linux-amd64 \
59+
curl -fsSL "https://github.com/privacybydesign/irmago/releases/download/${IRMAGO_VERSION}/irma-linux-amd64" \
5860
-o "$RUNNER_TEMP/irma-bin/irma"
5961
chmod +x "$RUNNER_TEMP/irma-bin/irma"
6062
- name: Set up IRMA configuration
61-
# Pass explicit scheme URLs. The binary's compiled-in defaults still
62-
# point at privacybydesign.foundation, which now 301-redirects to
63-
# schemes.yivi.app but fails TLS validation before the redirect is
64-
# followed.
63+
# Pass explicit scheme URLs rather than relying on the binary's
64+
# compiled-in defaults: irmago < ~v0.13 pointed at the now-defunct
65+
# privacybydesign.foundation host, and pinning the URL here keeps
66+
# CI independent of any future default-URL drift.
6567
run: |
6668
mkdir -p temp_testing/client temp_testing/irma_configuration
6769
irma scheme download temp_testing/irma_configuration \

0 commit comments

Comments
 (0)