Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ci: migrate to TrustedSigning from AzureCodeSigning

Abdullah Atta00dcb55f6ea0
diff --git a/.github/workflows/desktop.publish.yml b/.github/workflows/desktop.publish.yml
index 37d8625f8..39b01310f 100644
--- a/.github/workflows/desktop.publish.yml
+++ b/.github/workflows/desktop.publish.yml
@@ -254,8 +254,8 @@ jobs:
with:
dotnet-version: 6.0.x
- - name: Install AzureCodeSigning
- run: Install-Module -Name AzureCodeSigning -RequiredVersion 0.3.4 -Force -Repository PSGallery
+ - name: Install TrustedSigning
+ run: Install-Module -Name TrustedSigning -RequiredVersion 0.3.15 -Force -Repository PSGallery
shell: pwsh
- name: Setup Node
diff --git a/apps/desktop/scripts/sign.js b/apps/desktop/scripts/sign.js
index 8f37cd4b4..b2e709259 100644
--- a/apps/desktop/scripts/sign.js
+++ b/apps/desktop/scripts/sign.js
@@ -33,7 +33,7 @@ module.exports = async function (configuration) {
const DescriptionUrl = "https://notesnook.com/";
const FilesCatalog = createCatalog(configuration.path);
- const command = `Invoke-AzureCodeSigning -Endpoint "${Endpoint}" -CodeSigningAccountName "${CodeSigningAccountName}" -CertificateProfileName "${CertificateProfileName}" -FileDigest "${FileDigest}" -TimestampRfc3161 "${TimestampRfc3161}" -TimestampDigest "${TimestampDigest}" -Description "${Description}" -DescriptionUrl "${DescriptionUrl}" -FilesCatalog "${FilesCatalog}"`;
+ const command = `Invoke-TrustedSigning -Endpoint "${Endpoint}" -CodeSigningAccountName "${CodeSigningAccountName}" -CertificateProfileName "${CertificateProfileName}" -FileDigest "${FileDigest}" -TimestampRfc3161 "${TimestampRfc3161}" -TimestampDigest "${TimestampDigest}" -Description "${Description}" -DescriptionUrl "${DescriptionUrl}" -FilesCatalog "${FilesCatalog}"`;
console.debug("Signing", configuration.path, "using command", command);