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.

Error: did not pass validation: code failed to satisfy specified code requirement(s)

See original GitHub issue
  • Version: 11.1.1
  • Target: darwin

autoUpdater returns:

Update error: Code signature at URL file:///Users/lamqu01/Library/Caches/com.webcatalog.app.ShipIt/update.zxHBM1P/WebCatalog.app/ did not pass validation: code failed to satisfy specified code requirement(s)

Squirrel/Squirrel.Mac#160 suggests to use codesign but both .app files returns same certificate. Version 2.3.0

Quangs-MacBook-Pro:shit lamqu01$ codesign -d -v -r - ./23.app
Executable=/Users/lamqu01/Downloads/shit/23.app/Contents/MacOS/WebCatalog
Identifier=com.webcatalog.app
Format=app bundle with generic
CodeDirectory v=20200 size=210 flags=0x0(none) hashes=1+3 location=embedded
Signature size=8906
Timestamp=Jan 4, 2017, 11:05:00 PM
Info.plist entries=21
TeamIdentifier=FVFM95DDPG
Sealed Resources version=2 rules=12 files=18
host => identifier "com.apple.env" and anchor apple
designated => identifier "com.webcatalog.app" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = FVFM95DDPG

Version 2.4.0

Quangs-MacBook-Pro:shit lamqu01$ codesign -d -v -r - ./24.app
Executable=/Users/lamqu01/Downloads/shit/24.app/Contents/MacOS/WebCatalog
Identifier=com.webcatalog.app
Format=app bundle with generic
CodeDirectory v=20200 size=210 flags=0x0(none) hashes=1+3 location=embedded
Signature size=8906
Timestamp=Jan 8, 2017, 3:14:43 AM
Info.plist entries=21
TeamIdentifier=FVFM95DDPG
Sealed Resources version=2 rules=12 files=18
host => identifier "com.apple.env" and anchor apple
designated => identifier "com.webcatalog.app" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = FVFM95DDPG

What should I do?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
DxCxcommented, Jun 20, 2017

Alright thanks, ill update back if i find something new … 😃 On Tue, 20 Jun 2017 at 5:58 Quang Lam notifications@github.com wrote:

@DxCx https://github.com/dxcx I did not manage to fix it at all. I removed auto-update support 😦.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/electron-userland/electron-builder/issues/1098#issuecomment-309630889, or mute the thread https://github.com/notifications/unsubscribe-auth/ABB8W8UyjL5ufU9wzz_-UBh7nKxZhyIrks5sFzVTgaJpZM4Ld2Ce .

0reactions
quanglam2807commented, Jan 26, 2018

@ibash I would say Squirrel.

Read more comments on GitHub >

github_iconTop Results From Across the Web

did not pass validation: code failed to satisfy specified ... - GitHub
So I've got another certificate and use it to sign my app, but auto-update is not working: "electron-builder did not pass validation code...
Read more >
Cannot sign OS X app with Developer ID certificate properly
ERROR ITMS-90035: "Invalid Signature. Code failed to satisfy specified code requirement(s). Make sure you have signed your application with a distribution ...
Read more >
"Error while updating" - MacOS Monterey v12.6 - Solved Bugs
Local.app/ did not pass validation: code failed to satisfy specified code requirements(s)” I've recently updated to MacOS Monterey 12.6 ...
Read more >
no matter what keep getting "Application failed to code sign ...
Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate. What do I do?
Read more >
Explicit Requirement Satisfied - Indie Stack
The reason for the failure is that the “designated requirement” serves as a test of identity for your app. If your app doesn't...
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