Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid Identity Not Found When Packaging for MAS #1987

Closed
kevinthompson opened this issue Aug 24, 2017 · 1 comment
Closed

Valid Identity Not Found When Packaging for MAS #1987

kevinthompson opened this issue Aug 24, 2017 · 1 comment

Comments

@kevinthompson
Copy link

  • Version: 19.24.4
  • Target: MAS

When attempting to build for MAS, a valid identity cannot be found, although only a single "Developer ID Application" identity exists in my keychain. Specifying the name of the identity in CSC_NAME, or through the command line argument still result in a failed identity lookup. When dmg is the specified target, build is properly signed.

Prior to opening this issue I reviewed #479, #1312, and #1441 which seem related, but did not provide any resolution.


Target MAS

$ electron-builder --mac="mas"
electron-builder 19.24.4
No native production dependencies
Packaging for mas x64 using electron 1.7.5 to dist/mas
Error: App is not signed: cannot find valid "3rd Party Mac Developer Application" identity, see https://github.com/electron-userland/electron-builder/wiki/Code-Signing

All identities:
  1) A2409F7A150754323A3A209D6F59725BDA92F510 "com.apple.idms.appleid.prd.4553377566446a4669302b456e6963645568794c44513d3d"
  2) 045A75AF2F4BFEFD561B8032C6B89A76C9E2C692 "Ministry Centered Technologies, Inc."
  3) ED7BDA6187055A1AC51450D99700AC462E5BFE19 "Developer ID Application: Ministry Centered Technologies (9JVJNE92L6)"
  4) A8B79ECB4AB9F958B801180AC207966CA4C05222 "com.apple.kerberos.kdc" (CSSMERR_TP_NOT_TRUSTED)
     4 identities found

  Valid identities only
  1) A2409F7A150754323A3A209D6F59725BDA92F510 "com.apple.idms.appleid.prd.4553377566446a4669302b456e6963645568794c44513d3d"
  2) 045A75AF2F4BFEFD561B8032C6B89A76C9E2C692 "Ministry Centered Technologies, Inc."
  3) ED7BDA6187055A1AC51450D99700AC462E5BFE19 "Developer ID Application: Ministry Centered Technologies (9JVJNE92L6)"
     3 valid identities found

Target MAS w/ Identity String

$ electron-builder --mac="mas" --config.mas.identity="Ministry Centered Technologies (9JVJNE92L6)"
electron-builder 19.24.4
No native production dependencies
Packaging for mas x64 using electron 1.7.5 to dist/mas
Error: Identity name "Ministry Centered Technologies (9JVJNE92L6)" is specified, but no valid identity with this name in the keychain

All identities:
  1) A2409F7A150754323A3A209D6F59725BDA92F510 "com.apple.idms.appleid.prd.4553377566446a4669302b456e6963645568794c44513d3d"
  2) 045A75AF2F4BFEFD561B8032C6B89A76C9E2C692 "Ministry Centered Technologies, Inc."
  3) ED7BDA6187055A1AC51450D99700AC462E5BFE19 "Developer ID Application: Ministry Centered Technologies (9JVJNE92L6)"
  4) A8B79ECB4AB9F958B801180AC207966CA4C05222 "com.apple.kerberos.kdc" (CSSMERR_TP_NOT_TRUSTED)
     4 identities found

  Valid identities only
  1) A2409F7A150754323A3A209D6F59725BDA92F510 "com.apple.idms.appleid.prd.4553377566446a4669302b456e6963645568794c44513d3d"
  2) 045A75AF2F4BFEFD561B8032C6B89A76C9E2C692 "Ministry Centered Technologies, Inc."
  3) ED7BDA6187055A1AC51450D99700AC462E5BFE19 "Developer ID Application: Ministry Centered Technologies (9JVJNE92L6)"
     3 valid identities found


Target DMG

$ electron-builder --mac="dmg"
electron-builder 19.24.4
No native production dependencies
Packaging for darwin x64 using electron 1.7.5 to dist/mac
Signing app (identity: ED7BDA6187055A1AC51450D99700AC462E5BFE19 Developer ID Application: Ministry Centered Technologies (9JVJNE92L6))
@develar
Copy link
Member

develar commented Aug 25, 2017

To sign MAS, 3rd Party Mac Developer Application is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants