You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 withsystem_profiler -xml SPHardwareDataType
in theplatform_UUID
key, but there may be an easier way.The text was updated successfully, but these errors were encountered: