From 6c1a4cab9ff2c6426fecbee82b11c30a77f9ed78 Mon Sep 17 00:00:00 2001 From: Jisu-Woniu <31986081+Jisu-Woniu@users.noreply.github.com> Date: Mon, 9 Sep 2024 15:17:09 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=92=9A=20fix=20compilation=20error?= =?UTF-8?q?=20and=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tauri-ci.yml | 2 +- .github/workflows/tauri-release.yml | 2 +- src-tauri/crypto/src/signing.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tauri-ci.yml b/.github/workflows/tauri-ci.yml index bc28640..29af943 100644 --- a/.github/workflows/tauri-ci.yml +++ b/.github/workflows/tauri-ci.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4.0.0 with: version: latest - name: Setup Node.js diff --git a/.github/workflows/tauri-release.yml b/.github/workflows/tauri-release.yml index b34e126..f76d342 100644 --- a/.github/workflows/tauri-release.yml +++ b/.github/workflows/tauri-release.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4.0.0 with: version: latest - name: Setup Node.js diff --git a/src-tauri/crypto/src/signing.rs b/src-tauri/crypto/src/signing.rs index 7a1d674..4a1ee65 100644 --- a/src-tauri/crypto/src/signing.rs +++ b/src-tauri/crypto/src/signing.rs @@ -24,6 +24,7 @@ fn sign( let now = Utc::now(); let sig_conf = SignatureConfigBuilder::default() .pub_alg(secret_key.algorithm()) + .hash_alg(secret_key.hash_alg()) .typ(SignatureType::Binary) .issuer(Some(secret_key.key_id())) .created(Some(now))