From d5516f176c70257464ace57af04a53180ae2200b Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Tue, 15 Aug 2023 09:45:35 -0500 Subject: [PATCH 1/4] Update to digicert HSM signing for windows --- .github/workflows/build-installers.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-installers.yaml b/.github/workflows/build-installers.yaml index 8fa4a08..e1e5248 100644 --- a/.github/workflows/build-installers.yaml +++ b/.github/workflows/build-installers.yaml @@ -148,21 +148,15 @@ jobs: cp ./dist/main${{ matrix.os.executable-extension }} ./artifacts/${{ matrix.config.app-name }}_${{ steps.tag-name.outputs.TAGNAME || github.sha }}_${{ matrix.arch.artifact-name }}${{ matrix.os.executable-extension }} # Windows Code Signing - - name: Decode code signing cert into an encrypted file - uses: kitek/decode-base64-into-file-action@1.0 - with: - encoded-value: ${{ secrets.WIN_CODE_SIGN_CERT }} - destination-file: .\win_code_sign_cert.pfx - if: matrix.os.matrix == 'windows' - - - name: Sign windows artifacts - uses: chia-network/actions/sign/windows@main + if: matrix.os.matrix == 'windows' + uses: chia-network/actions/digicert/windows-sign@main with: - certificate_path: .\win_code_sign_cert.pfx - certificate_password: ${{ secrets.WIN_CODE_SIGN_PASSWORD }} + sm_api_key: ${{ secrets.SM_API_KEY }} + sm_client_cert_file_b64: ${{ secrets.SM_CLIENT_CERT_FILE_B64 }} + sm_client_cert_password: ${{ secrets.SM_CLIENT_CERT_PASSWORD }} + sm_code_signing_cert_sha1_hash: ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} file: ./artifacts/${{ matrix.config.app-name }}_${{ steps.tag-name.outputs.TAGNAME || github.sha }}_${{ matrix.arch.artifact-name }}.exe - if: matrix.os.matrix == 'windows' - name: Create .deb Package env: From f582eea97151a2e77c607e69c16118131994838a Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Fri, 1 Sep 2023 10:03:09 -0700 Subject: [PATCH 2/4] docs: Fix token driver client naming convention The "Application Name" for the Climate Token Driver was listed incorrectly --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c65da7b..fbf476d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This application can run in 4 modes, each providing a separate application with * Mode: Client * Use case: A carbon token holder could use this in conjunction with the [Climate Wallet](https://github.com/Chia-Network/Climate-Wallet) to manage their tokenized carbon credits * Port: 31314 - * Application Name: climate-tokenization-chia + * Application Name: climate-token-driver * **Dev Mode (for developers only!)**: * Mode: Dev * Use case: Developers are able to test the software without having to communicate with the blockchain From ab81ebd16da2904b614fd0dd483ec898b0e34059 Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Fri, 8 Sep 2023 10:44:24 -0700 Subject: [PATCH 3/4] ci: change amd64 file naming to x86 --- .github/workflows/build-installers.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-installers.yaml b/.github/workflows/build-installers.yaml index e1e5248..b3cd98e 100644 --- a/.github/workflows/build-installers.yaml +++ b/.github/workflows/build-installers.yaml @@ -78,7 +78,7 @@ jobs: electron-builder-options: --arm64 - name: Intel matrix: intel - artifact-name: amd64 + artifact-name: x86 deb-platform: amd64 electron-builder-options: --x64 exclude: From 585d6d8ea01a0adc48b24cb004d7245b7057b3a4 Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Fri, 8 Sep 2023 10:46:07 -0700 Subject: [PATCH 4/4] chore: version bump --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index deccff3..46daeef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Chia Climate Token Driver" -version = "1.0.21" +version = "1.0.22" description = "https://github.com/Chia-Network/climate-token-driver" authors = ["Harry Hsu ", "Chia Network Inc "]