Skip to content

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 kenchan0130 force-pushed the verify_xcode_components branch from 78356a2 to b579212 Compare November 1, 2018 02:04
@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

@kenchan0130 kenchan0130 Dec 26, 2018

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