Comments (3)
The lack of multiple signing (especially in the context of remote signing) has frustrated me as well! During release processes for my projects, I often have to initiate multiple remote signing sessions. This is laborious and does not spark joy.
I'd love to support multiple signing via a single CLI command.
The biggest open issue in my mind is what the CLI interface looks like. We currently use positional arguments for the input and output paths. Using positional arguments with no other flags to indicate multiple inputs mode leads to ambiguous argument parsing. So we have to invent a new CLI argument mechanism to specify multiple inputs - and maybe multiple outputs.
Once we figure out what that UI looks like, I think this should be relatively straightforward to implement.
from apple-platform-rs.
How about this?
The current syntax is:
rcodesign sign [OPTIONS] <input_path> [output_path]
New syntax:
rcodesign sign [OPTIONS] <input_path> [output_path]
rcodesign sign [OPTIONS] <input_path1> [<input_pathN>, ...] [--out <output_path>]
with parsing as:
// paths = list of file paths (positional arguments) after OPTIONS
if (paths.length === 2) {
input = [paths[0]];
output = paths[1] || options.out;
} else if (paths.length > 2) {
input = paths;
output = options.out;
}
from apple-platform-rs.
Another factor here is how scoped setting should behave in the face of multiple inputs, as each scope's path could match multiple inputs.
That consideration biases me towards use of --
as a delimiter between distinct sets of signing components.
Or, we could just say the problem space is too complex and close this issue as won't fix. The main thing that gives me pause is I'd really like to support multi-signing for remote signing so you only have to establish 1 signing session on the remote.
from apple-platform-rs.
Related Issues (20)
- Team ID should only be included when signing with an Apple signed certificate
- Support library constraints HOT 4
- Differing binary identifiers within Universal Mach-O should be reconciled
- Firefox's `org.mozilla.updater` fails to validate with ` invalid Info.plist (plist or signature have been modified)`
- Don't fully load Mach-O binaries in memory
- Support for config files
- Support signing nested binaries with no entitlements HOT 4
- Can't sign macOS app generated by Unity HOT 4
- How to create a DMG ? HOT 1
- Add a LICENSE file
- --code-signature-flags Is Not Scopable HOT 1
- Notarization of Electron app fails due to hardened runtime disabled HOT 10
- PackageInfo struct: minimum_system_version field should be an Option<String> instead of Option<bool>
- Support easier integration of rcodesign with other tools
- Authority unavailable when signing in github action HOT 2
- When attempting to sign an app bundle with debug symbols shipped in it, rcodesign fails to properly detect app bundle. HOT 4
- DMG reader doesn't emit proper byte count for Ignore and Zero chunks HOT 1
- The cpio-archive package doesn't appear to support building NewC archives HOT 1
- cpio-archive should support "new crc" format - same as "new ascii" but includes file checksums
- hash mismatch for apple-codesign-0.27.0-x86_64-unknown-linux-musl.tar.gz.sha256 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple-platform-rs.