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

Detect provisioning profile mismatches #154

Open
jwheare opened this issue Oct 2, 2017 · 0 comments
Open

Detect provisioning profile mismatches #154

jwheare opened this issue Oct 2, 2017 · 0 comments

Comments

@jwheare
Copy link

jwheare commented Oct 2, 2017

Raised in electron-userland/electron-builder#1967 (comment)

It would be great if the provisioning profile provided could be compared with the certificate during code signing and return an error if they're different.

In the profile, there's a DeveloperCertificates key which contains a list of base64 encoded certificates. You could extract the hash from that and compare it with the signing identity cert.

Similarly, you could compare the ProvisionedDevices UUID with the host system. It can be looked up with system_profiler -xml SPHardwareDataType in the platform_UUID key, but there may be an easier way.

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