Skip to content

Add verification of components in Xcode.app #314

Open
kenchan0130 wants to merge 4 commits into
xcpretty:masterfrom
kenchan0130:verify_xcode_components
Open

Add verification of components in Xcode.app #314
kenchan0130 wants to merge 4 commits into
xcpretty:masterfrom
kenchan0130:verify_xcode_components

Conversation

@kenchan0130

@kenchan0130 kenchan0130 commented Oct 28, 2018

Copy link
Copy Markdown
Collaborator
  • Verify sign of components in Xcode.app

You can see accurate diff on kenchan0130/xcode-install@hard_verify_xcode...verify_xcode_components because this patch is done checkout from #312.

related #298

@kenchan0130 kenchan0130 force-pushed the verify_xcode_components branch from 78356a2 to b579212 Compare November 1, 2018 02:04
@kenchan0130

Copy link
Copy Markdown
Collaborator Author

I want to merge if there is no opinion 👀

Comment thread lib/xcode/install.rb
result = `pkgutil --verbose --check-signature #{pkg} | grep 'Status'`
result.strip.split(':')[1].strip == "signed #{COMPONENT_SIGNING_COMMON_NAME}"
end
result.all?

@kenchan0130 kenchan0130 Dec 26, 2018

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have thought that you can verify comprehensively by checking root ca.

I'll try to change this logic.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant