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

  • 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?

About this issue

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

Most upvoted comments

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 .