Skip to content

New Azure Trusted Signing not adding a timestamp #8626

Closed
@255kb

Description

@255kb
  • Electron-Builder Version:
    v25.1.8
  • Node Version:
    v22
  • Electron Version:
    v33
  • Electron Type (current, beta, nightly):

current

  • Target:
    Windows

I just finished updating my app to use Azure Trusted Signing. Everything went well and the exe was signed. However, it triggered a Trojan detection in Windows Defender which I suspected to be a false positive.
I looked at the exe properties and noticed that the timestamp was missing:

image

Looking at the Azure signing code it seems two params are missing in the Invoke-TrustedSigning command: TimestampRfc3161 and TimestampDigest. They are used by the Trusted Signing Action.

I guess it should adding a timestamp using the default timestamp URL, or maybe I'm missing something?

I solved the issue by adding additional params to the azureSignOptions object:

azureSignOptions: {
      endpoint: 'https://eus.codesigning.azure.net',
      certificateProfileName: 'cert-name',
      codeSigningAccountName: 'account-name',
      
      // new properties
      TimestampRfc3161: 'http://timestamp.acs.microsoft.com',
      TimestampDigest: 'SHA256'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions