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

Add verification of components in Xcode.app #314

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kenchan0130
Copy link
Collaborator

@kenchan0130 kenchan0130 commented Oct 28, 2018

  • 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
Copy link
Collaborator Author

I want to merge if there is no opinion 👀

result = `pkgutil --verbose --check-signature #{pkg} | grep 'Status'`
result.strip.split(':')[1].strip == "signed #{COMPONENT_SIGNING_COMMON_NAME}"
end
result.all?
Copy link
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.

None yet

1 participant