bazelbuild / bazelbuild/rules_apple
Add support for xcsigningtool
- Dominant language
- Starlark
- Stars
- 593
- Forks
- 334
- Avg merge
- 16h 48m
- Merged PRs (30d)
- 9
Description
With Xcode 11 Apple quietly added a new tool called xcsigningtool that allows you to sign an app without adding the certificate to the global keychain. Usage:
```
% xcrun xcsigningtool
Usage:
xcsigningtool sign -path -certificate [-entitlements ]
```
I think adding support for this where you could specify the path to a certificate as an attribute of the rules that require it would be a huge win for hermiticity and simplicity
Contributor guide
Research direction
Start by locating the Apple signing rules that currently require a certificate in the global keychain, then compare their flow with the documented `xcrun xcsigningtool sign` command. The work is done when a rule can accept a certificate path and sign an app without adding that certificate to the global keychain.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100