question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[electron-updater] Error: New version 1.3.0 is not signed by the application owner

See original GitHub issue
  • electron-builder: 19.13.0
  • electron-updater: 2.4.4
  • Target: nsis

We have been using electron-updater to handle all of our updates for a while. It’s been working great! For our most recent app update (1.2.0), I upgraded electron-builder to 19.13.0. However, after releasing 1.3.0 of our app, we’re receiving an error we’ve never had before. Error: New version 1.3.0 is not signed by the application owner. We have not changed our signing certificate between updates, and the build process has remained the same. I believe the issue might be coming from #1619.

Any help would be greatly appreciated. We need to find a way to force this update through. I found that we can set win.verifyUpdateCodeSignature in our options to false to keep this extra validation from running, but we need a way to send this update to existing clients. Right now, our updates are being rejected.

(some values have been removed for privacy)

[2017-07-23 17:00:02:0653] [info] Error: New version 1.3.0 is not signed by the application owner: {
  "SignerCertificate": {
    "FriendlyName": "",
    "IssuerName": {
      "Name": "CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "NotAfter": "...",
    "NotBefore": "...",
    "PrivateKey": null,
    "PublicKey": {
      "Key": "System.Security.Cryptography.RSACryptoServiceProvider",
      "Oid": "System.Security.Cryptography.Oid",
      "EncodedKeyValue": "System.Security.Cryptography.AsnEncodedData",
      "EncodedParameters": "System.Security.Cryptography.AsnEncodedData"
    },
    "SerialNumber": "...",
    "SignatureAlgorithm": {
      "Value": "...",
      "FriendlyName": "..."
    },
    "Thumbprint": "...",
    "Version": 3,
    "Issuer": "CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US",
    "Subject": "..."
  },
  "TimeStamperCertificate": null,
  "Status": 0,
  "StatusMessage": "Signature verified."
}
    at C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\NsisUpdater.js:121:1
From previous event:
    at E.doDownloadUpdate (C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\NsisUpdater.js:129:1)
    at C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\AppUpdater.js:321:1
    at Generator.next (<anonymous>)
From previous event:
    at E.downloadUpdate (C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\AppUpdater.js:326:1)
    at C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\AppUpdater.js:293:1
From previous event:
    at E.doCheckForUpdates (C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\AppUpdater.js:296:1)
    at C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\AppUpdater.js:250:1
    at Generator.next (<anonymous>)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)
From previous event:
    at E._checkForUpdates (C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\AppUpdater.js:255:1)
    at E.checkForUpdates (C:\...\resources\app.asar\app\dist\webpack:\node_modules\electron-updater\out\AppUpdater.js:213:1)
    at EventEmitter.c.on (C:\...\resources\app.asar\app\dist\webpack:\lib\updateManager.js:53:4)
    at emitOne (events.js:96:13)
    at EventEmitter.emit (events.js:188:7)
    at WebContents.<anonymous> (C:\...\resources\electron.asar\browser\api\web-contents.js:247:37)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
javonclarkecommented, Aug 9, 2018

Yep!

0reactions
develarcommented, Nov 19, 2018

Latest version of electron-updater (~ several months already) is more tolerant than before, so, I will close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

electron-updater error in production New version is not signed ...
The error is present in production only (when the app is installed via .exe installer). No error in 'preview mode'. The app is...
Read more >
Creating and deploying an auto-updating Electron app for ...
Let's create a new Electron app. Create a new directory for your app, I'm calling mine “electron-auto-update-example”, and inside it, ...
Read more >
Signature Validation Bypass Leading to RCE In Electron ...
During a software update, the application will request a file named latest.yml from the update server, which contains the definition of the new...
Read more >
Auto Updater for React Electron App | Tutorial - Dev Genius
As a first step, I installed the electron-updater library into the project via the following command. Some versions may throw a 404 error....
Read more >
Updating Applications | Electron
There are several ways to update an Electron application. The easiest and officially supported one is taking advantage of the built-in Squirrel framework ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found