Skip to content

Commit 1bbca68

Browse files
committed
Remove signing
consumers have to sign the binary themself
1 parent 0ff4c4f commit 1bbca68

2 files changed

Lines changed: 3 additions & 31 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches: ['**'] # tags are built by release.yml
55
pull_request:
66

7-
# builds and tests only: no secrets, no signing, no attestation (see release.yml)
7+
# builds and tests only: no attestation, no release (see release.yml)
88
permissions:
99
contents: read
1010

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ on:
33
push:
44
tags: ['[0-9]+.[0-9]+.[0-9]+']
55

6-
# the only workflow with secrets: signing on Azure, see build.yml for regular builds
6+
# publishes unsigned binaries: the app that ships the updater signs it in its own build; see build.yml for regular builds
77
defaults:
88
run:
99
shell: bash
1010

1111
jobs:
1212
build:
13-
name: Build, Sign and Attest
13+
name: Build and Attest
1414
runs-on: windows-2022
1515
permissions:
1616
contents: read
@@ -38,35 +38,7 @@ jobs:
3838
- name: Build arm64
3939
shell: cmd
4040
run: .\build.cmd arm64 ${{ github.ref_name }}
41-
- name: Sign EXEs with Azure Trusted Signing
42-
uses: azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0
43-
with:
44-
files: |
45-
${{ github.workspace }}\target\win-updater-x64.exe
46-
${{ github.workspace }}\target\win-updater-arm64.exe
47-
append-signature: false
48-
description: Cryptomator Updater
49-
description-url: https://github.com/cryptomator/win-updater
50-
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
51-
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
52-
azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
53-
signing-account-name: cryptomatorSigning
54-
certificate-profile-name: production
55-
endpoint: https://weu.codesigning.azure.net/
56-
timestamp-rfc3161: http://timestamp.acs.microsoft.com
57-
timestamp-digest: SHA256
58-
exclude-environment-credential: false
59-
exclude-workload-identity-credential: true
60-
exclude-managed-identity-credential: true
61-
exclude-shared-token-cache-credential: true
62-
exclude-visual-studio-credential: true
63-
exclude-visual-studio-code-credential: true
64-
exclude-azure-cli-credential: true
65-
exclude-azure-powershell-credential: true
66-
exclude-azure-developer-cli-credential: true
67-
exclude-interactive-browser-credential: true
6841
- name: Calculate checksums
69-
# after signing, as signing changes the files
7042
working-directory: target
7143
run: sha256sum win-updater-x64.exe win-updater-arm64.exe > SHA256SUMS
7244
- name: Attest

0 commit comments

Comments
 (0)