bazelbuild / bazelbuild/rules_apple

Add support for xcsigningtool

Open
#668 6 comments 2 reactions 0 assignees View on GitHub
P2
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.