mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-31 07:18:25 -04:00
Fix code signing identity retrieval bug
This commit is contained in:
parent
c435d5ab50
commit
c6d22eff5c
2 changed files with 4 additions and 2 deletions
Mist/Views/Settings
|
@ -72,7 +72,8 @@ struct SettingsDiskImagesView: View {
|
|||
status == noErr,
|
||||
let certificate: SecCertificate = certificate,
|
||||
let subject: String = SecCertificateCopySubjectSummary(certificate) as? String,
|
||||
subject.hasPrefix("Developer ID Application") else {
|
||||
subject.hasPrefix("Developer ID Application"),
|
||||
!codesigningIdentities.contains(subject) else {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,8 @@ struct SettingsPackagesView: View {
|
|||
status == noErr,
|
||||
let certificate: SecCertificate = certificate,
|
||||
let subject: String = SecCertificateCopySubjectSummary(certificate) as? String,
|
||||
subject.hasPrefix("Developer ID Installer") else {
|
||||
subject.hasPrefix("Developer ID Installer"),
|
||||
!codesigningIdentities.contains(subject) else {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue