Skip to content

Control a real USB-connected iPhone from Linux (no Mac, no paid developer account) and expose it to AI agents as MCP tools

构建与打包:去掉 aws-lc 和许可证有问题的依赖;镜像带第三方许可证清单;去掉 privileged

Derrorsbb9c6d5d4ceb
diff --git a/.dockerignore b/.dockerignore
index 876a7b6..4907a1b 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,5 +1,11 @@
+# 构建上下文只需要源码;秘密和运行时数据绝不能进来(会留在构建层和缓存里)
target
.git
+.github
data
+secrets
+.env
+.env.*
docs
**/*.rs.bk
+README.md
diff --git a/.env.example b/.env.example
index 358dd51..87a14fc 100644
--- a/.env.example
+++ b/.env.example
@@ -1,6 +1,9 @@
# 复制为 .env 后按需修改。所有项都可以留空,用默认值。.env 里有通知密钥,不要提交到 git。
+# 容器名。改了的话,`iphone-control mcp-config --container <新名字>` 打印的注册命令和 README 里的 docker exec 都要跟着换
CONTAINER_NAME=iphone-control
+# 镜像名(compose 构建出的本地镜像,或要拉取的发布镜像)
+IMAGE=iphone-control:local
# 数据目录:配对记录、Apple ID 会话和开发私钥、签好的 WDA、开发者镜像缓存、日志、锁屏密码。务必备份,不要提交
DATA_DIR=./data
@@ -36,4 +39,4 @@ ICTL_DDI_DIR=
# 宿主机已经在跑 usbmuxd 服务时设为 0,守护进程就不自己拉起
ICTL_MANAGE_USBMUXD=1
# 日志级别(tracing EnvFilter 语法)
-ICTL_LOG=
+# ICTL_LOG=info,ictl_wda::http=debug
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 863352d..69189b2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,7 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: dtolnay/rust-toolchain@stable
+ # 锁定工具链(与 Docker 构建镜像一致):新版 clippy 的 lint 不会在代码没变时把 CI 弄挂
+ - uses: dtolnay/[email protected]
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
@@ -23,6 +24,15 @@ jobs:
- run: cargo clippy --workspace --all-targets --locked -- -D warnings
- run: cargo test --workspace --locked
+ # Cargo.toml 声明的最低版本(rust-version)要真能编译
+ msrv:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/[email protected]
+ - uses: Swatinem/rust-cache@v2
+ - run: cargo check --workspace --locked
+
secrets:
runs-on: ubuntu-latest
steps:
@@ -45,3 +55,5 @@ jobs:
context: .
file: docker/Dockerfile
push: false
+ cache-from: type=gha
+ cache-to: type=gha,mode=max
diff --git a/Cargo.lock b/Cargo.lock
index 64a1dc1..be4059b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -75,23 +75,6 @@ dependencies = [
"memchr",
]
-[[package]]
-name = "android-loader"
-version = "0.2.0"
-source = "git+https://github.com/Dadoum/android-loader?branch=bigger_pages#dfa86501afca7caa23d5ce15322ac7260d857485"
-dependencies = [
- "anyhow",
- "lazy_static",
- "libc",
- "log",
- "memmap2",
- "rand 0.8.8",
- "region",
- "sysv64",
- "xmas-elf",
- "zero",
-]
-
[[package]]
name = "android_system_properties"
version = "0.1.6"
@@ -2023,7 +2006,6 @@ dependencies = [
"ictl-protocol",
"rmcp",
"serde_json",
- "tokio",
]
[[package]]
@@ -2042,9 +2024,7 @@ dependencies = [
"plist",
"plume_core",
"plume_store",
- "serde",
"thiserror 2.0.21",
- "tokio",
"tracing",
"uuid",
"zip 8.6.0",
@@ -2543,15 +2523,6 @@ dependencies = [
"pkg-config",
]
-[[package]]
-name = "mach2"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44"
-dependencies = [
- "libc",
-]
-
[[package]]
name = "malloc_buf"
version = "0.0.6"
@@ -2586,15 +2557,6 @@ version = "2.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
-[[package]]
-name = "memmap2"
-version = "0.5.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
-dependencies = [
- "libc",
-]
-
[[package]]
name = "mime"
version = "0.3.17"
@@ -2856,7 +2818,6 @@ dependencies = [
name = "omnisette"
version = "2.7.2"
dependencies = [
- "android-loader",
"anyhow",
"async-trait",
"base64 0.22.1",
@@ -2870,7 +2831,6 @@ dependencies = [
"objc-foundation",
"plist",
"rand 0.8.8",
- "remove-async-await",
"reqwest 0.13.5",
"serde",
"serde_json",
@@ -3701,28 +3661,6 @@ version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
-[[package]]
-name = "region"
-version = "3.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6b6ebd13bc009aef9cd476c1310d49ac354d36e240cf1bd753290f3dc7199a7"
-dependencies = [
- "bitflags 1.3.2",
- "libc",
- "mach2",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "remove-async-await"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a0993102a683d0fb29c6053ad44d7ed7555f69b2fa5fe0fa3bba959a9aa4cd1"
-dependencies = [
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "reqwest"
version = "0.12.28"
@@ -4589,11 +4527,6 @@ dependencies = [
"libc",
]
-[[package]]
-name = "sysv64"
-version = "0.1.0"
-source = "git+https://github.com/Dadoum/android-loader?branch=bigger_pages#dfa86501afca7caa23d5ce15322ac7260d857485"
-
[[package]]
name = "tap"
version = "1.0.1"
@@ -5660,15 +5593,6 @@ dependencies = [
"time",
]
-[[package]]
-name = "xmas-elf"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42c49817e78342f7f30a181573d82ff55b88a35f86ccaf07fc64b3008f56d1c6"
-dependencies = [
- "zero",
-]
-
[[package]]
name = "xml-rs"
version = "0.8.29"
@@ -5722,12 +5646,6 @@ dependencies = [
"synstructure 0.14.0",
]
-[[package]]
-name = "zero"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fe21bcc34ca7fe6dd56cc2cb1261ea59d6b93620215aefb5ea6032265527784"
-
[[package]]
name = "zerocopy"
version = "0.8.63"
diff --git a/Cargo.toml b/Cargo.toml
index feb2e15..b721590 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,12 +40,11 @@ idevice = { version = "=0.1.68", default-features = false, features = [
"tss",
"installation_proxy",
"xctest",
- "wda",
] }
rmcp = { version = "=3.8.0", features = ["server", "transport-io"] }
tokio = { version = "=1.54.1", features = ["full"] }
-reqwest = { version = "=0.13.5", default-features = false, features = ["json", "form", "rustls"] }
-# reqwest 带进 aws-lc-rs,idevice/plume_core 用 ring,两个都开时 rustls 不会自动选,入口处显式装 ring
+# rustls-no-provider:不编进 aws-lc-rs(C 代码,编译慢、体积大);idevice/plume_core 用 ring,入口处显式装 ring 为默认 provider
+reqwest = { version = "=0.13.5", default-features = false, features = ["form", "rustls-no-provider"] }
rustls = { version = "=0.23.46", default-features = false, features = ["ring"] }
quick-xml = "=0.42.0"
image = { version = "=0.25.10", default-features = false, features = ["png", "jpeg"] }
@@ -55,14 +54,12 @@ serde_json = "=1.0.154"
thiserror = "=2.0.21"
tracing = "=0.1.44"
tracing-subscriber = { version = "=0.3.23", features = ["env-filter"] }
-toml = "=1.1.8"
base64 = "=0.23.1"
anyhow = "=1.0.104"
plist = "=1.9.0"
uuid = { version = "=1.23.1", features = ["v4"] }
zip = { version = "=8.6.0", default-features = false, features = ["deflate"] }
regex = "=1.12.3"
-log = "=0.4.29"
# vendored Impactor 组件(见 THIRD_PARTY.md)
plume_core = { path = "vendor/plume_core" }
@@ -86,4 +83,4 @@ idevice = { git = "https://github.com/jkcoxson/idevice", rev = "89702099f4d7552f
[profile.release]
lto = "thin"
codegen-units = 1
-strip = "debuginfo"
+strip = true
diff --git a/compose.yaml b/compose.yaml
index 545d3c9..5645ece 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -9,8 +9,14 @@ services:
HTTPS_PROXY: ${HTTPS_PROXY:-}
image: ${IMAGE:-iphone-control:local}
container_name: ${CONTAINER_NAME:-iphone-control}
- # 要直接访问 USB 设备;隧道走用户态 TCP 栈,不建网卡、不改宿主机网络
- privileged: true
+ # 只开放 USB 设备(字符设备主号 189),不再整个 privileged;隧道走用户态 TCP 栈,不建网卡、不改宿主机网络。
+ # /dev/bus/usb 用绑定挂载(见 volumes)而不是 devices:拔插后新出现的设备节点在容器里也看得到
+ device_cgroup_rules:
+ - "c 189:* rmw"
+ # 守护进程是 PID 1:加 init 回收子进程(stty 等),并把停止信号转给它
+ init: true
+ # 停止时先停 HID 屏幕媒体流、runner、usbmuxd;给够时间,避免被强杀后手机端留下会话
+ stop_grace_period: 30s
# WDA 经 usbmuxd 直连手机,本机不监听任何端口;host 网络只为了用宿主机上的代理
network_mode: host
restart: unless-stopped
diff --git a/crates/ictl-mcp/Cargo.toml b/crates/ictl-mcp/Cargo.toml
index 595c36d..ceda8da 100644
--- a/crates/ictl-mcp/Cargo.toml
+++ b/crates/ictl-mcp/Cargo.toml
@@ -10,6 +10,5 @@ description = "MCP stdio 服务(13 个 iphone_* 工具)"
[dependencies]
ictl-protocol.workspace = true
rmcp.workspace = true
-tokio.workspace = true
serde_json.workspace = true
anyhow.workspace = true
diff --git a/crates/ictl-sign/Cargo.toml b/crates/ictl-sign/Cargo.toml
index 6356d84..1af2e1c 100644
--- a/crates/ictl-sign/Cargo.toml
+++ b/crates/ictl-sign/Cargo.toml
@@ -10,8 +10,6 @@ description = "Apple ID、描述文件、签名(含 .xctest)"
[dependencies]
plume_core.workspace = true
plume_store.workspace = true
-tokio.workspace = true
-serde.workspace = true
thiserror.workspace = true
tracing.workspace = true
plist.workspace = true
diff --git a/crates/ictl-sign/src/lib.rs b/crates/ictl-sign/src/lib.rs
index d54f249..e1aa727 100644
--- a/crates/ictl-sign/src/lib.rs
+++ b/crates/ictl-sign/src/lib.rs
@@ -104,6 +104,7 @@ impl AccountDir {
/// 用保存的令牌恢复会话,取第一个团队
pub async fn session(&self) -> Result<Session> {
restrict_dir(&self.dir)?;
+ restrict_tree(&self.dir)?;
let store =
AccountStore::load(&Some(self.store_path())).await.map_err(|e| SignError::Developer(e.to_string()))?;
let acct = store.selected_account().ok_or(SignError::NotLoggedIn)?.clone();
diff --git a/docker/Dockerfile b/docker/Dockerfile
index d9c9312..0af5a2c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -6,12 +6,28 @@ ARG DEBIAN_IMAGE=debian:trixie-slim@sha256:f6b08b09a05725f9431502d3b5714f5c4576e
ARG RUST_IMAGE=rust:1-trixie@sha256:09027f873d45b8ecd1dc86f1fa13b7a62b875c961f017a0e331267b350430137
# ---- 编译 ----
+# 依赖下载和编译产物放在构建缓存里:改 README、compose 等不再从头编译约 570 个 crate
FROM ${RUST_IMAGE} AS build
WORKDIR /src
COPY . .
-RUN cargo build --release --locked -p iphone-control \
+RUN --mount=type=cache,target=/usr/local/cargo/registry \
+ --mount=type=cache,target=/usr/local/cargo/git \
+ --mount=type=cache,target=/src/target \
+ cargo build --release --locked -p iphone-control \
&& cp target/release/iphone-control /iphone-control
+# ---- 第三方许可证清单(cargo-about,按 Cargo.lock 生成,含 MIT/Apache 等要求随附的许可证全文)----
+FROM ${RUST_IMAGE} AS notices
+ARG CARGO_ABOUT_VERSION=0.9.3
+RUN --mount=type=cache,target=/usr/local/cargo/registry \
+ cargo install --locked --features cli "cargo-about@${CARGO_ABOUT_VERSION}"
+WORKDIR /src
+COPY . .
+RUN --mount=type=cache,target=/usr/local/cargo/registry \
+ --mount=type=cache,target=/usr/local/cargo/git \
+ cargo about generate --locked -m apps/iphone-control/Cargo.toml -c docker/about.toml docker/about.hbs \
+ -o /THIRD_PARTY_LICENSES.html
+
# ---- WebDriverAgent:Appium 官方构建的未签名真机包,重新打成 IPA ----
# 计划改为本项目在 macOS CI 上自己编译(docs/roadmap.md 阶段 7)
FROM ${DEBIAN_IMAGE} AS wda
@@ -38,12 +54,16 @@ COPY --from=build /iphone-control /usr/local/bin/iphone-control
COPY --from=wda /out/WDA-unsigned.ipa /usr/share/iphone-control/WDA-unsigned.ipa
COPY --from=wda /out/licenses/ /usr/share/licenses/
COPY LICENSE THIRD_PARTY.md /usr/share/doc/iphone-control/
+COPY --from=notices /THIRD_PARTY_LICENSES.html /usr/share/doc/iphone-control/THIRD_PARTY_LICENSES.html
COPY vendor/plume_core/LICENSE /usr/share/licenses/plume_core/LICENSE
+COPY vendor/plume_store/LICENSE-MIT-Impactor /usr/share/licenses/plume_store/LICENSE
COPY vendor/omnisette/LICENSE /usr/share/licenses/omnisette/LICENSE
COPY vendor/apple-codesign/LICENSE /usr/share/licenses/apple-codesign/LICENSE
# usbmuxd 把配对记录写在 /var/lib/lockdown,指到数据目录里,删掉重建容器也不丢
RUN rm -rf /var/lib/lockdown && ln -s /var/lib/iphone-control/lockdown /var/lib/lockdown
ENV ICTL_DATA_DIR=/var/lib/iphone-control
+# 截图处理时临时分配几十 MB;glibc 默认按线程开很多 arena,释放后也不还给系统,看起来像内存涨了不回落
+ENV MALLOC_ARENA_MAX=2
LABEL org.opencontainers.image.title="iphone-control" \
org.opencontainers.image.description="Drive a real iPhone from Linux: WebDriverAgent + CoreDevice HID + MCP, single Rust binary" \
org.opencontainers.image.licenses="MIT AND MPL-2.0"
diff --git a/docker/about.hbs b/docker/about.hbs
new file mode 100644
index 0000000..a2207a9
--- /dev/null
+++ b/docker/about.hbs
@@ -0,0 +1,5 @@
+<!doctype html><html><head><meta charset="utf-8"><title>iphone-control 第三方许可证</title></head><body>
+<h1>iphone-control 第三方 Rust 组件许可证</h1>
+<p>本文件由 cargo-about 根据 Cargo.lock 自动生成。</p>
+{{#each licenses}}<h2>{{name}}</h2><ul>{{#each used_by}}<li>{{crate.name}} {{crate.version}}</li>{{/each}}</ul><pre>{{text}}</pre>{{/each}}
+</body></html>
diff --git a/docker/about.toml b/docker/about.toml
new file mode 100644
index 0000000..8b0a83c
--- /dev/null
+++ b/docker/about.toml
@@ -0,0 +1,9 @@
+# cargo-about:生成镜像里的第三方 Rust 组件许可证清单(/usr/share/doc/iphone-control/THIRD_PARTY_LICENSES.html)。
+# 依赖里出现不在这个列表里的许可证时构建失败,需要人看一眼再决定(例如 AGPL、没有许可证声明的 crate)
+accepted = [
+ "MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", "BSD-2-Clause", "BSD-3-Clause", "ISC", "MPL-2.0",
+ "Unicode-3.0", "Zlib", "CC0-1.0", "0BSD", "BSL-1.0", "Unlicense", "CDLA-Permissive-2.0", "BlueOak-1.0.0",
+]
+targets = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"]
+ignore-build-dependencies = true
+ignore-dev-dependencies = true
diff --git a/vendor/apple-codesign/.cargo-ok b/vendor/apple-codesign/.cargo-ok
deleted file mode 100644
index 5f8b795..0000000
--- a/vendor/apple-codesign/.cargo-ok
+++ /dev/null
@@ -1 +0,0 @@
-{"v":1}
\ No newline at end of file
diff --git a/vendor/apple-codesign/Cargo.lock b/vendor/apple-codesign/Cargo.lock
deleted file mode 100644
index 5cb1ce4..0000000
--- a/vendor/apple-codesign/Cargo.lock
+++ /dev/null
@@ -1,4884 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-version = 3
-
-[[package]]
-name = "addr2line"
-version = "0.24.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
-dependencies = [
- "gimli",
-]
-
-[[package]]
-name = "adler2"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
-
-[[package]]
-name = "ahash"
-version = "0.8.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
-dependencies = [
- "cfg-if",
- "once_cell",
- "version_check",
- "zerocopy",
-]
-
-[[package]]
-name = "aho-corasick"
-version = "1.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "allocator-api2"
-version = "0.2.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9"
-
-[[package]]
-name = "android-tzdata"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
-
-[[package]]
-name = "android_system_properties"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "anstream"
-version = "0.6.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
-dependencies = [
- "anstyle",
- "anstyle-parse",
- "anstyle-query",
- "anstyle-wincon",
- "colorchoice",
- "is_terminal_polyfill",
- "utf8parse",
-]
-
-[[package]]
-name = "anstyle"
-version = "1.0.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
-
-[[package]]
-name = "anstyle-parse"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
-dependencies = [
- "utf8parse",
-]
-
-[[package]]
-name = "anstyle-query"
-version = "1.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
-dependencies = [
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "anstyle-wincon"
-version = "3.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125"
-dependencies = [
- "anstyle",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "anyhow"
-version = "1.0.93"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775"
-
-[[package]]
-name = "app-store-connect"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed88de4349fc3eb58529530edeb7177516c94712d3dc8bf11bd76ac1715695c4"
-dependencies = [
- "anyhow",
- "base64 0.22.1",
- "clap",
- "dirs",
- "env_logger",
- "jsonwebtoken",
- "log",
- "pem",
- "rand",
- "reqwest",
- "rsa",
- "serde",
- "serde_json",
- "thiserror 2.0.3",
- "x509-certificate",
-]
-
-[[package]]
-name = "apple-bundles"
-version = "0.21.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0f40bb8f844cec39fa3aceae717808c2ac3d2b6c474a9dffbeba07a4a945d10"
-dependencies = [
- "anyhow",
- "plist",
- "simple-file-manifest",
- "walkdir",
-]
-
-[[package]]
-name = "apple-codesign"
-version = "0.29.0"
-dependencies = [
- "anyhow",
- "app-store-connect",
- "apple-bundles",
- "apple-flat-package",
- "apple-xar",
- "aws-config",
- "aws-sdk-s3",
- "aws-smithy-http",
- "aws-smithy-types",
- "base64 0.22.1",
- "bcder",
- "bitflags 2.6.0",
- "bytes",
- "chrono",
- "clap",
- "cryptographic-message-syntax",
- "der 0.7.9",
- "dialoguer",
- "difference",
- "digest",
- "dirs",
- "elliptic-curve 0.13.8",
- "env_logger",
- "figment",
- "filetime",
- "flate2",
- "glob",
- "goblin",
- "hex",
- "indoc",
- "log",
- "md-5",
- "minicbor",
- "num-traits",
- "object",
- "oid-registry",
- "once_cell",
- "p12",
- "p256 0.13.2",
- "pem",
- "pkcs1",
- "pkcs8 0.10.2",
- "plist",
- "rand",
- "rasn",
- "rayon",
- "regex",
- "reqwest",
- "ring",
- "rsa",
- "scroll",
- "security-framework 2.11.1",
- "security-framework-sys",
- "semver",
- "serde",
- "serde_json",
- "serde_yaml",
- "sha2",
- "signature 2.2.0",
- "simple-file-manifest",
- "spake2",
- "spki 0.7.3",
- "subtle",
- "tar",
- "tempfile",
- "thiserror 2.0.3",
- "tokio",
- "trycmd-indygreg-fork",
- "tungstenite",
- "uuid",
- "walkdir",
- "widestring",
- "windows-sys 0.59.0",
- "x509",
- "x509-certificate",
- "xml-rs",
- "yasna",
- "yubikey",
- "zeroize",
- "zip",
- "zip_structs",
-]
-
-[[package]]
-name = "apple-flat-package"
-version = "0.20.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c9d5a1fd8af4a376cc33d7e816a13f8ce127d52101f5dbc8061fb595397bea0"
-dependencies = [
- "apple-xar",
- "cpio-archive",
- "flate2",
- "scroll",
- "serde",
- "serde-xml-rs",
- "thiserror 2.0.3",
-]
-
-[[package]]
-name = "apple-xar"
-version = "0.20.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9631e781df71ebd049d7b4988cdae88712324cb20eb127fd79026bc8f1335d93"
-dependencies = [
- "base64 0.22.1",
- "bcder",
- "bzip2",
- "chrono",
- "cryptographic-message-syntax",
- "digest",
- "flate2",
- "log",
- "md-5",
- "rand",
- "reqwest",
- "scroll",
- "serde",
- "serde-xml-rs",
- "sha1",
- "sha2",
- "signature 2.2.0",
- "thiserror 2.0.3",
- "url",
- "x509-certificate",
- "xml-rs",
- "xz2",
-]
-
-[[package]]
-name = "arbitrary"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
-dependencies = [
- "derive_arbitrary",
-]
-
-[[package]]
-name = "arrayvec"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
-
-[[package]]
-name = "asn1-rs"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048"
-dependencies = [
- "asn1-rs-derive",
- "asn1-rs-impl",
- "displaydoc",
- "nom",
- "num-traits",
- "rusticata-macros",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "asn1-rs-derive"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
- "synstructure",
-]
-
-[[package]]
-name = "asn1-rs-impl"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "atomic"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d818003e740b63afc82337e3160717f4f63078720a810b7b903e70a5d1d2994"
-dependencies = [
- "bytemuck",
-]
-
-[[package]]
-name = "atomic-waker"
-version = "1.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
-
-[[package]]
-name = "autocfg"
-version = "1.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
-
-[[package]]
-name = "aws-config"
-version = "1.5.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b49afaa341e8dd8577e1a2200468f98956d6eda50bcf4a53246cc00174ba924"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-sdk-sso",
- "aws-sdk-ssooidc",
- "aws-sdk-sts",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-types",
- "bytes",
- "fastrand",
- "hex",
- "http 0.2.12",
- "ring",
- "time",
- "tokio",
- "tracing",
- "url",
- "zeroize",
-]
-
-[[package]]
-name = "aws-credential-types"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60e8f6b615cb5fc60a98132268508ad104310f0cfb25a1c22eee76efdf9154da"
-dependencies = [
- "aws-smithy-async",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "zeroize",
-]
-
-[[package]]
-name = "aws-runtime"
-version = "1.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a10d5c055aa540164d9561a0e2e74ad30f0dcf7393c3a92f6733ddf9c5762468"
-dependencies = [
- "aws-credential-types",
- "aws-sigv4",
- "aws-smithy-async",
- "aws-smithy-eventstream",
- "aws-smithy-http",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-types",
- "bytes",
- "fastrand",
- "http 0.2.12",
- "http-body 0.4.6",
- "once_cell",
- "percent-encoding",
- "pin-project-lite",
- "tracing",
- "uuid",
-]
-
-[[package]]
-name = "aws-sdk-s3"
-version = "1.63.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f43850204a109a5eea1ea93951cf0440268cef98b0d27dfef4534949e23735f7"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-sigv4",
- "aws-smithy-async",
- "aws-smithy-checksums",
- "aws-smithy-eventstream",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-smithy-xml",
- "aws-types",
- "bytes",
- "fastrand",
- "hex",
- "hmac",
- "http 0.2.12",
- "http-body 0.4.6",
- "lru",
- "once_cell",
- "percent-encoding",
- "regex-lite",
- "sha2",
- "tracing",
- "url",
-]
-
-[[package]]
-name = "aws-sdk-sso"
-version = "1.49.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09677244a9da92172c8dc60109b4a9658597d4d298b188dd0018b6a66b410ca4"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-types",
- "bytes",
- "http 0.2.12",
- "once_cell",
- "regex-lite",
- "tracing",
-]
-
-[[package]]
-name = "aws-sdk-ssooidc"
-version = "1.50.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81fea2f3a8bb3bd10932ae7ad59cc59f65f270fc9183a7e91f501dc5efbef7ee"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-types",
- "bytes",
- "http 0.2.12",
- "once_cell",
- "regex-lite",
- "tracing",
-]
-
-[[package]]
-name = "aws-sdk-sts"
-version = "1.50.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ada54e5f26ac246dc79727def52f7f8ed38915cb47781e2a72213957dc3a7d5"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-query",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-smithy-xml",
- "aws-types",
- "http 0.2.12",
- "once_cell",
- "regex-lite",
- "tracing",
-]
-
-[[package]]
-name = "aws-sigv4"
-version = "1.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5619742a0d8f253be760bfbb8e8e8368c69e3587e4637af5754e488a611499b1"
-dependencies = [
- "aws-credential-types",
- "aws-smithy-eventstream",
- "aws-smithy-http",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "bytes",
- "crypto-bigint 0.5.5",
- "form_urlencoded",
- "hex",
- "hmac",
- "http 0.2.12",
- "http 1.1.0",
- "once_cell",
- "p256 0.11.1",
- "percent-encoding",
- "ring",
- "sha2",
- "subtle",
- "time",
- "tracing",
- "zeroize",
-]
-
-[[package]]
-name = "aws-smithy-async"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62220bc6e97f946ddd51b5f1361f78996e704677afc518a4ff66b7a72ea1378c"
-dependencies = [
- "futures-util",
- "pin-project-lite",
- "tokio",
-]
-
-[[package]]
-name = "aws-smithy-checksums"
-version = "0.60.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba1a71073fca26775c8b5189175ea8863afb1c9ea2cceb02a5de5ad9dfbaa795"
-dependencies = [
- "aws-smithy-http",
- "aws-smithy-types",
- "bytes",
- "crc32c",
- "crc32fast",
- "hex",
- "http 0.2.12",
- "http-body 0.4.6",
- "md-5",
- "pin-project-lite",
- "sha1",
- "sha2",
- "tracing",
-]
-
-[[package]]
-name = "aws-smithy-eventstream"
-version = "0.60.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cef7d0a272725f87e51ba2bf89f8c21e4df61b9e49ae1ac367a6d69916ef7c90"
-dependencies = [
- "aws-smithy-types",
- "bytes",
- "crc32fast",
-]
-
-[[package]]
-name = "aws-smithy-http"
-version = "0.60.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c8bc3e8fdc6b8d07d976e301c02fe553f72a39b7a9fea820e023268467d7ab6"
-dependencies = [
- "aws-smithy-eventstream",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "bytes",
- "bytes-utils",
- "futures-core",
- "http 0.2.12",
- "http-body 0.4.6",
- "once_cell",
- "percent-encoding",
- "pin-project-lite",
- "pin-utils",
- "tracing",
-]
-
-[[package]]
-name = "aws-smithy-json"
-version = "0.60.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4683df9469ef09468dad3473d129960119a0d3593617542b7d52086c8486f2d6"
-dependencies = [
- "aws-smithy-types",
-]
-
-[[package]]
-name = "aws-smithy-query"
-version = "0.60.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2fbd61ceb3fe8a1cb7352e42689cec5335833cd9f94103a61e98f9bb61c64bb"
-dependencies = [
- "aws-smithy-types",
- "urlencoding",
-]
-
-[[package]]
-name = "aws-smithy-runtime"
-version = "1.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be28bd063fa91fd871d131fc8b68d7cd4c5fa0869bea68daca50dcb1cbd76be2"
-dependencies = [
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "bytes",
- "fastrand",
- "h2 0.3.26",
- "http 0.2.12",
- "http-body 0.4.6",
- "http-body 1.0.1",
- "httparse",
- "hyper 0.14.31",
- "hyper-rustls 0.24.2",
- "once_cell",
- "pin-project-lite",
- "pin-utils",
- "rustls 0.21.12",
- "tokio",
- "tracing",
-]
-
-[[package]]
-name = "aws-smithy-runtime-api"
-version = "1.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92165296a47a812b267b4f41032ff8069ab7ff783696d217f0994a0d7ab585cd"
-dependencies = [
- "aws-smithy-async",
- "aws-smithy-types",
- "bytes",
- "http 0.2.12",
- "http 1.1.0",
- "pin-project-lite",
- "tokio",
- "tracing",
- "zeroize",
-]
-
-[[package]]
-name = "aws-smithy-types"
-version = "1.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fbd94a32b3a7d55d3806fe27d98d3ad393050439dd05eb53ece36ec5e3d3510"
-dependencies = [
- "base64-simd",
- "bytes",
- "bytes-utils",
- "futures-core",
- "http 0.2.12",
- "http 1.1.0",
- "http-body 0.4.6",
- "http-body 1.0.1",
- "http-body-util",
- "itoa",
- "num-integer",
- "pin-project-lite",
- "pin-utils",
- "ryu",
- "serde",
- "time",
- "tokio",
- "tokio-util",
-]
-
-[[package]]
-name = "aws-smithy-xml"
-version = "0.60.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab0b0166827aa700d3dc519f72f8b3a91c35d0b8d042dc5d643a91e6f80648fc"
-dependencies = [
- "xmlparser",
-]
-
-[[package]]
-name = "aws-types"
-version = "1.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5221b91b3e441e6675310829fd8984801b772cb1546ef6c0e54dec9f1ac13fef"
-dependencies = [
- "aws-credential-types",
- "aws-smithy-async",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "rustc_version",
- "tracing",
-]
-
-[[package]]
-name = "backtrace"
-version = "0.3.74"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
-dependencies = [
- "addr2line",
- "cfg-if",
- "libc",
- "miniz_oxide",
- "object",
- "rustc-demangle",
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "base16ct"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce"
-
-[[package]]
-name = "base16ct"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
-
-[[package]]
-name = "base64"
-version = "0.21.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
-
-[[package]]
-name = "base64"
-version = "0.22.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
-
-[[package]]
-name = "base64-simd"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "339abbe78e73178762e23bea9dfd08e697eb3f3301cd4be981c0f78ba5859195"
-dependencies = [
- "outref",
- "vsimd",
-]
-
-[[package]]
-name = "base64ct"
-version = "1.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
-
-[[package]]
-name = "bcder"
-version = "0.7.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c627747a6774aab38beb35990d88309481378558875a41da1a4b2e373c906ef0"
-dependencies = [
- "bytes",
- "smallvec",
-]
-
-[[package]]
-name = "bitflags"
-version = "1.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
-
-[[package]]
-name = "bitflags"
-version = "2.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
-
-[[package]]
-name = "bitvec"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
-dependencies = [
- "funty",
- "radium",
- "tap",
- "wyz",
-]
-
-[[package]]
-name = "bitvec-nom2"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d988fcc40055ceaa85edc55875a08f8abd29018582647fd82ad6128dba14a5f0"
-dependencies = [
- "bitvec",
- "nom",
-]
-
-[[package]]
-name = "block-buffer"
-version = "0.10.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
-dependencies = [
- "generic-array",
-]
-
-[[package]]
-name = "block-padding"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93"
-dependencies = [
- "generic-array",
-]
-
-[[package]]
-name = "bumpalo"
-version = "3.16.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
-
-[[package]]
-name = "bytemuck"
-version = "1.20.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b37c88a63ffd85d15b406896cc343916d7cf57838a847b3a6f2ca5d39a5695a"
-
-[[package]]
-name = "byteorder"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
-
-[[package]]
-name = "bytes"
-version = "1.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
-
-[[package]]
-name = "bytes-utils"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7dafe3a8757b027e2be6e4e5601ed563c55989fcf1546e933c66c8eb3a058d35"
-dependencies = [
- "bytes",
- "either",
-]
-
-[[package]]
-name = "bytesize"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc"
-
-[[package]]
-name = "bzip2"
-version = "0.4.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
-dependencies = [
- "bzip2-sys",
- "libc",
-]
-
-[[package]]
-name = "bzip2-sys"
-version = "0.1.11+1.0.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
-dependencies = [
- "cc",
- "libc",
- "pkg-config",
-]
-
-[[package]]
-name = "cbc"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6"
-dependencies = [
- "cipher",
-]
-
-[[package]]
-name = "cc"
-version = "1.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc"
-dependencies = [
- "shlex",
-]
-
-[[package]]
-name = "cfg-if"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
-
-[[package]]
-name = "cfg_aliases"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
-
-[[package]]
-name = "chrono"
-version = "0.4.38"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
-dependencies = [
- "android-tzdata",
- "iana-time-zone",
- "js-sys",
- "num-traits",
- "serde",
- "wasm-bindgen",
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "cipher"
-version = "0.4.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
-dependencies = [
- "crypto-common",
- "inout",
-]
-
-[[package]]
-name = "clap"
-version = "4.5.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f"
-dependencies = [
- "clap_builder",
- "clap_derive",
-]
-
-[[package]]
-name = "clap_builder"
-version = "4.5.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec"
-dependencies = [
- "anstream",
- "anstyle",
- "clap_lex",
- "strsim",
-]
-
-[[package]]
-name = "clap_derive"
-version = "4.5.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab"
-dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "clap_lex"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7"
-
-[[package]]
-name = "colorchoice"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
-
-[[package]]
-name = "console"
-version = "0.15.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
-dependencies = [
- "encode_unicode",
- "lazy_static",
- "libc",
- "unicode-width",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "const-oid"
-version = "0.9.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
-
-[[package]]
-name = "const_panic"
-version = "0.2.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "013b6c2c3a14d678f38cd23994b02da3a1a1b6a5d1eedddfe63a5a5f11b13a81"
-
-[[package]]
-name = "content_inspector"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "cookie-factory"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9885fa71e26b8ab7855e2ec7cae6e9b380edff76cd052e07c683a0319d51b3a2"
-dependencies = [
- "futures",
-]
-
-[[package]]
-name = "core-foundation"
-version = "0.9.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
-dependencies = [
- "core-foundation-sys",
- "libc",
-]
-
-[[package]]
-name = "core-foundation"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63"
-dependencies = [
- "core-foundation-sys",
- "libc",
-]
-
-[[package]]
-name = "core-foundation-sys"
-version = "0.8.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
-
-[[package]]
-name = "cpio-archive"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f11d34b07689c21889fc89bd7cc885b3244b0157bbededf4a1c159832cd0df05"
-dependencies = [
- "chrono",
- "is_executable",
- "simple-file-manifest",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "cpufeatures"
-version = "0.2.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "crc32c"
-version = "0.6.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a47af21622d091a8f0fb295b88bc886ac74efcc613efc19f5d0b21de5c89e47"
-dependencies = [
- "rustc_version",
-]
-
-[[package]]
-name = "crc32fast"
-version = "1.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
-dependencies = [
- "cfg-if",
-]
-
-[[package]]
-name = "crossbeam-deque"
-version = "0.8.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
-dependencies = [
- "crossbeam-epoch",
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-epoch"
-version = "0.9.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
-dependencies = [
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-utils"
-version = "0.8.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
-
-[[package]]
-name = "crypto-bigint"
-version = "0.4.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef"
-dependencies = [
- "generic-array",
- "rand_core",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "crypto-bigint"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
-dependencies = [
- "generic-array",
- "rand_core",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "crypto-common"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
-dependencies = [
- "generic-array",
- "typenum",
-]
-
-[[package]]
-name = "cryptographic-message-syntax"
-version = "0.27.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97a99e58d7755c646cb3f2a138d99f90da4c495282e1700b82daff8a48759ce0"
-dependencies = [
- "bcder",
- "bytes",
- "chrono",
- "hex",
- "pem",
- "reqwest",
- "ring",
- "signature 2.2.0",
- "x509-certificate",
-]
-
-[[package]]
-name = "curve25519-dalek"
-version = "4.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
-dependencies = [
- "cfg-if",
- "cpufeatures",
- "curve25519-dalek-derive",
- "fiat-crypto",
- "rand_core",
- "rustc_version",
- "subtle",
-]
-
-[[package]]
-name = "curve25519-dalek-derive"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "data-encoding"
-version = "2.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
-
-[[package]]
-name = "der"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de"
-dependencies = [
- "const-oid",
- "zeroize",
-]
-
-[[package]]
-name = "der"
-version = "0.7.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0"
-dependencies = [
- "const-oid",
- "der_derive",
- "flagset",
- "pem-rfc7468",
- "zeroize",
-]
-
-[[package]]
-name = "der_derive"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "deranged"
-version = "0.3.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
-dependencies = [
- "powerfmt",
-]
-
-[[package]]
-name = "derive_arbitrary"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "des"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffdd80ce8ce993de27e9f063a444a4d53ce8e8db4c1f00cc03af5ad5a9867a1e"
-dependencies = [
- "cipher",
-]
-
-[[package]]
-name = "dialoguer"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "658bce805d770f407bc62102fca7c2c64ceef2fbcb2b8bd19d2765ce093980de"
-dependencies = [
- "console",
- "shell-words",
- "tempfile",
- "thiserror 1.0.69",
- "zeroize",
-]
-
-[[package]]
-name = "difference"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
-
-[[package]]
-name = "digest"
-version = "0.10.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
-dependencies = [
- "block-buffer",
- "const-oid",
- "crypto-common",
- "subtle",
-]
-
-[[package]]
-name = "dirs"
-version = "5.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
-dependencies = [
- "dirs-sys",
-]
-
-[[package]]
-name = "dirs-sys"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
-dependencies = [
- "libc",
- "option-ext",
- "redox_users",
- "windows-sys 0.48.0",
-]
-
-[[package]]
-name = "displaydoc"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "dunce"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
-
-[[package]]
-name = "ecdsa"
-version = "0.14.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c"
-dependencies = [
- "der 0.6.1",
- "elliptic-curve 0.12.3",
- "rfc6979 0.3.1",
- "signature 1.6.4",
-]
-
-[[package]]
-name = "ecdsa"
-version = "0.16.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca"
-dependencies = [
- "der 0.7.9",
- "digest",
- "elliptic-curve 0.13.8",
- "rfc6979 0.4.0",
- "signature 2.2.0",
- "spki 0.7.3",
-]
-
-[[package]]
-name = "either"
-version = "1.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
-
-[[package]]
-name = "elliptic-curve"
-version = "0.12.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3"
-dependencies = [
- "base16ct 0.1.1",
- "crypto-bigint 0.4.9",
- "der 0.6.1",
- "digest",
- "ff 0.12.1",
- "generic-array",
- "group 0.12.1",
- "pkcs8 0.9.0",
- "rand_core",
- "sec1 0.3.0",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "elliptic-curve"
-version = "0.13.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
-dependencies = [
- "base16ct 0.2.0",
- "crypto-bigint 0.5.5",
- "digest",
- "ff 0.13.0",
- "generic-array",
- "group 0.13.0",
- "hkdf",
- "pem-rfc7468",
- "pkcs8 0.10.2",
- "rand_core",
- "sec1 0.7.3",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "encode_unicode"
-version = "0.3.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
-
-[[package]]
-name = "env_filter"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
-dependencies = [
- "log",
- "regex",
-]
-
-[[package]]
-name = "env_logger"
-version = "0.11.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d"
-dependencies = [
- "anstream",
- "anstyle",
- "env_filter",
- "humantime",
- "log",
-]
-
-[[package]]
-name = "equivalent"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
-
-[[package]]
-name = "errno"
-version = "0.3.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
-dependencies = [
- "libc",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "fastrand"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4"
-
-[[package]]
-name = "ff"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160"
-dependencies = [
- "rand_core",
- "subtle",
-]
-
-[[package]]
-name = "ff"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449"
-dependencies = [
- "rand_core",
- "subtle",
-]
-
-[[package]]
-name = "fiat-crypto"
-version = "0.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
-
-[[package]]
-name = "figment"
-version = "0.10.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cb01cd46b0cf372153850f4c6c272d9cbea2da513e07538405148f95bd789f3"
-dependencies = [
- "atomic",
- "pear",
- "serde",
- "toml",
- "uncased",
- "version_check",
-]
-
-[[package]]
-name = "filetime"
-version = "0.2.25"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
-dependencies = [
- "cfg-if",
- "libc",
- "libredox",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "flagset"
-version = "0.4.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3ea1ec5f8307826a5b71094dd91fc04d4ae75d5709b20ad351c7fb4815c86ec"
-
-[[package]]
-name = "flate2"
-version = "1.0.35"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
-dependencies = [
- "crc32fast",
- "miniz_oxide",
-]
-
-[[package]]
-name = "fnv"
-version = "1.0.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
-
-[[package]]
-name = "foldhash"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2"
-
-[[package]]
-name = "form_urlencoded"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
-dependencies = [
- "percent-encoding",
-]
-
-[[package]]
-name = "funty"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
-
-[[package]]
-name = "futures"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
-dependencies = [
- "futures-channel",
- "futures-core",
- "futures-executor",
- "futures-io",
- "futures-sink",
- "futures-task",
- "futures-util",
-]
-
-[[package]]
-name = "futures-channel"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
-dependencies = [
- "futures-core",
- "futures-sink",
-]
-
-[[package]]
-name = "futures-core"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
-
-[[package]]
-name = "futures-executor"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
-dependencies = [
- "futures-core",
- "futures-task",
- "futures-util",
-]
-
-[[package]]
-name = "futures-io"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
-
-[[package]]
-name = "futures-macro"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "futures-sink"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
-
-[[package]]
-name = "futures-task"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
-
-[[package]]
-name = "futures-util"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
-dependencies = [
- "futures-channel",
- "futures-core",
- "futures-io",
- "futures-macro",
- "futures-sink",
- "futures-task",
- "memchr",
- "pin-project-lite",
- "pin-utils",
- "slab",
-]
-
-[[package]]
-name = "generic-array"
-version = "0.14.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
-dependencies = [
- "typenum",
- "version_check",
- "zeroize",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.2.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
-dependencies = [
- "cfg-if",
- "js-sys",
- "libc",
- "wasi",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "gimli"
-version = "0.31.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
-
-[[package]]
-name = "glob"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
-
-[[package]]
-name = "goblin"
-version = "0.9.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53ab3f32d1d77146981dea5d6b1e8fe31eedcb7013e5e00d6ccd1259a4b4d923"
-dependencies = [
- "log",
- "plain",
- "scroll",
-]
-
-[[package]]
-name = "group"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7"
-dependencies = [
- "ff 0.12.1",
- "rand_core",
- "subtle",
-]
-
-[[package]]
-name = "group"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
-dependencies = [
- "ff 0.13.0",
- "rand_core",
- "subtle",
-]
-
-[[package]]
-name = "h2"
-version = "0.3.26"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
-dependencies = [
- "bytes",
- "fnv",
- "futures-core",
- "futures-sink",
- "futures-util",
- "http 0.2.12",
- "indexmap",
- "slab",
- "tokio",
- "tokio-util",
- "tracing",
-]
-
-[[package]]
-name = "h2"
-version = "0.4.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e"
-dependencies = [
- "atomic-waker",
- "bytes",
- "fnv",
- "futures-core",
- "futures-sink",
- "http 1.1.0",
- "indexmap",
- "slab",
- "tokio",
- "tokio-util",
- "tracing",
-]
-
-[[package]]
-name = "hashbrown"
-version = "0.14.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
-dependencies = [
- "ahash",
-]
-
-[[package]]
-name = "hashbrown"
-version = "0.15.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
-dependencies = [
- "allocator-api2",
- "equivalent",
- "foldhash",
-]
-
-[[package]]
-name = "heck"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
-
-[[package]]
-name = "hex"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
-
-[[package]]
-name = "hkdf"
-version = "0.12.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7"
-dependencies = [
- "hmac",
-]
-
-[[package]]
-name = "hmac"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
-dependencies = [
- "digest",
-]
-
-[[package]]
-name = "http"
-version = "0.2.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
-dependencies = [
- "bytes",
- "fnv",
- "itoa",
-]
-
-[[package]]
-name = "http"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
-dependencies = [
- "bytes",
- "fnv",
- "itoa",
-]
-
-[[package]]
-name = "http-body"
-version = "0.4.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
-dependencies = [
- "bytes",
- "http 0.2.12",
- "pin-project-lite",
-]
-
-[[package]]
-name = "http-body"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
-dependencies = [
- "bytes",
- "http 1.1.0",
-]
-
-[[package]]
-name = "http-body-util"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
-dependencies = [
- "bytes",
- "futures-util",
- "http 1.1.0",
- "http-body 1.0.1",
- "pin-project-lite",
-]
-
-[[package]]
-name = "httparse"
-version = "1.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
-
-[[package]]
-name = "httpdate"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
-
-[[package]]
-name = "humantime"
-version = "2.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
-
-[[package]]
-name = "humantime-serde"
-version = "1.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c"
-dependencies = [
- "humantime",
- "serde",
-]
-
-[[package]]
-name = "hyper"
-version = "0.14.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85"
-dependencies = [
- "bytes",
- "futures-channel",
- "futures-core",
- "futures-util",
- "h2 0.3.26",
- "http 0.2.12",
- "http-body 0.4.6",
- "httparse",
- "httpdate",
- "itoa",
- "pin-project-lite",
- "socket2",
- "tokio",
- "tower-service",
- "tracing",
- "want",
-]
-
-[[package]]
-name = "hyper"
-version = "1.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f"
-dependencies = [
- "bytes",
- "futures-channel",
- "futures-util",
- "h2 0.4.7",
- "http 1.1.0",
- "http-body 1.0.1",
- "httparse",
- "itoa",
- "pin-project-lite",
- "smallvec",
- "tokio",
- "want",
-]
-
-[[package]]
-name = "hyper-rustls"
-version = "0.24.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
-dependencies = [
- "futures-util",
- "http 0.2.12",
- "hyper 0.14.31",
- "log",
- "rustls 0.21.12",
- "rustls-native-certs 0.6.3",
- "tokio",
- "tokio-rustls 0.24.1",
-]
-
-[[package]]
-name = "hyper-rustls"
-version = "0.27.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
-dependencies = [
- "futures-util",
- "http 1.1.0",
- "hyper 1.5.1",
- "hyper-util",
- "rustls 0.23.19",
- "rustls-native-certs 0.8.1",
- "rustls-pki-types",
- "tokio",
- "tokio-rustls 0.26.0",
- "tower-service",
- "webpki-roots",
-]
-
-[[package]]
-name = "hyper-util"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
-dependencies = [
- "bytes",
- "futures-channel",
- "futures-util",
- "http 1.1.0",
- "http-body 1.0.1",
- "hyper 1.5.1",
- "pin-project-lite",
- "socket2",
- "tokio",
- "tower-service",
- "tracing",
-]
-
-[[package]]
-name = "iana-time-zone"
-version = "0.1.61"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
-dependencies = [
- "android_system_properties",
- "core-foundation-sys",
- "iana-time-zone-haiku",
- "js-sys",
- "wasm-bindgen",
- "windows-core",
-]
-
-[[package]]
-name = "iana-time-zone-haiku"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
-dependencies = [
- "cc",
-]
-
-[[package]]
-name = "icu_collections"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
-dependencies = [
- "displaydoc",
- "yoke",
- "zerofrom",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
-dependencies = [
- "displaydoc",
- "litemap",
- "tinystr",
- "writeable",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid_transform"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
-dependencies = [
- "displaydoc",
- "icu_locid",
- "icu_locid_transform_data",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locid_transform_data"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
-
-[[package]]
-name = "icu_normalizer"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
-dependencies = [
- "displaydoc",
- "icu_collections",
- "icu_normalizer_data",
- "icu_properties",
- "icu_provider",
- "smallvec",
- "utf16_iter",
- "utf8_iter",
- "write16",
- "zerovec",
-]
-
-[[package]]
-name = "icu_normalizer_data"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
-
-[[package]]
-name = "icu_properties"
-version = "1.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
-dependencies = [
- "displaydoc",
- "icu_collections",
- "icu_locid_transform",
- "icu_properties_data",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_properties_data"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
-
-[[package]]
-name = "icu_provider"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
-dependencies = [
- "displaydoc",
- "icu_locid",
- "icu_provider_macros",
- "stable_deref_trait",
- "tinystr",
- "writeable",
- "yoke",
- "zerofrom",
- "zerovec",
-]
-
-[[package]]
-name = "icu_provider_macros"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "idna"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
-dependencies = [
- "idna_adapter",
- "smallvec",
- "utf8_iter",
-]
-
-[[package]]
-name = "idna_adapter"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
-dependencies = [
- "icu_normalizer",
- "icu_properties",
-]
-
-[[package]]
-name = "indexmap"
-version = "2.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
-dependencies = [
- "equivalent",
- "hashbrown 0.15.2",
-]
-
-[[package]]
-name = "indoc"
-version = "2.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
-
-[[package]]
-name = "inlinable_string"
-version = "0.1.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8fae54786f62fb2918dcfae3d568594e50eb9b5c25bf04371af6fe7516452fb"
-
-[[package]]
-name = "inout"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
-dependencies = [
- "block-padding",
- "generic-array",
-]
-
-[[package]]
-name = "ipnet"
-version = "2.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
-
-[[package]]
-name = "is_executable"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4a1b5bad6f9072935961dfbf1cced2f3d129963d091b6f69f007fe04e758ae2"
-dependencies = [
- "winapi",
-]
-
-[[package]]
-name = "is_terminal_polyfill"
-version = "1.70.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
-
-[[package]]
-name = "itertools"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
-dependencies = [
- "either",
-]
-
-[[package]]
-name = "itoa"
-version = "1.0.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
-
-[[package]]
-name = "js-sys"
-version = "0.3.73"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb15147158e79fd8b8afd0252522769c4f48725460b37338544d8379d94fc8f9"
-dependencies = [
- "wasm-bindgen",
-]
-
-[[package]]
-name = "jsonwebtoken"
-version = "9.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9ae10193d25051e74945f1ea2d0b42e03cc3b890f7e4cc5faa44997d808193f"
-dependencies = [
- "base64 0.21.7",
- "js-sys",
- "pem",
- "ring",
- "serde",
- "serde_json",
- "simple_asn1",
-]
-
-[[package]]
-name = "konst"
-version = "0.3.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b65f00fb3910881e52bf0850ae2a82aea411488a557e1c02820ceaa60963dce3"
-dependencies = [
- "const_panic",
- "konst_kernel",
- "typewit",
-]
-
-[[package]]
-name = "konst_kernel"
-version = "0.3.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "599c1232f55c72c7fc378335a3efe1c878c92720838c8e6a4fd87784ef7764de"
-dependencies = [
- "typewit",
-]
-
-[[package]]
-name = "lazy_static"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
-dependencies = [
- "spin",
-]
-
-[[package]]
-name = "libc"
-version = "0.2.167"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"
-
-[[package]]
-name = "libm"
-version = "0.2.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
-
-[[package]]
-name = "libredox"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
-dependencies = [
- "bitflags 2.6.0",
- "libc",
- "redox_syscall",
-]
-
-[[package]]
-name = "linux-raw-sys"
-version = "0.4.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
-
-[[package]]
-name = "litemap"
-version = "0.7.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
-
-[[package]]
-name = "lockfree-object-pool"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
-
-[[package]]
-name = "log"
-version = "0.4.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
-
-[[package]]
-name = "lru"
-version = "0.12.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
-dependencies = [
- "hashbrown 0.15.2",
-]
-
-[[package]]
-name = "lzma-sys"
-version = "0.1.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
-dependencies = [
- "cc",
- "libc",
- "pkg-config",
-]
-
-[[package]]
-name = "md-5"
-version = "0.10.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
-dependencies = [
- "cfg-if",
- "digest",
-]
-
-[[package]]
-name = "memchr"
-version = "2.7.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
-
-[[package]]
-name = "mime"
-version = "0.3.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
-
-[[package]]
-name = "minicbor"
-version = "0.25.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0452a60c1863c1f50b5f77cd295e8d2786849f35883f0b9e18e7e6e1b5691b0"
-dependencies = [
- "minicbor-derive",
-]
-
-[[package]]
-name = "minicbor-derive"
-version = "0.15.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd2209fff77f705b00c737016a48e73733d7fbccb8b007194db148f03561fb70"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "minimal-lexical"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
-
-[[package]]
-name = "miniz_oxide"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
-dependencies = [
- "adler2",
-]
-
-[[package]]
-name = "mio"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
-dependencies = [
- "libc",
- "wasi",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "nom"
-version = "7.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
-dependencies = [
- "memchr",
- "minimal-lexical",
-]
-
-[[package]]
-name = "normalize-line-endings"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
-
-[[package]]
-name = "num-bigint"
-version = "0.4.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
-dependencies = [
- "num-integer",
- "num-traits",
-]
-
-[[package]]
-name = "num-bigint-dig"
-version = "0.8.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151"
-dependencies = [
- "byteorder",
- "lazy_static",
- "libm",
- "num-integer",
- "num-iter",
- "num-traits",
- "rand",
- "serde",
- "smallvec",
- "zeroize",
-]
-
-[[package]]
-name = "num-conv"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
-
-[[package]]
-name = "num-integer"
-version = "0.1.46"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
-dependencies = [
- "num-traits",
-]
-
-[[package]]
-name = "num-iter"
-version = "0.1.45"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
-dependencies = [
- "autocfg",
- "num-integer",
- "num-traits",
-]
-
-[[package]]
-name = "num-traits"
-version = "0.2.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
-dependencies = [
- "autocfg",
- "libm",
-]
-
-[[package]]
-name = "object"
-version = "0.36.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
-dependencies = [
- "crc32fast",
- "flate2",
- "hashbrown 0.15.2",
- "indexmap",
- "memchr",
- "ruzstd",
-]
-
-[[package]]
-name = "oid-registry"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9"
-dependencies = [
- "asn1-rs",
-]
-
-[[package]]
-name = "once_cell"
-version = "1.20.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
-
-[[package]]
-name = "openssl-probe"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
-
-[[package]]
-name = "option-ext"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
-
-[[package]]
-name = "os_pipe"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ffd2b0a5634335b135d5728d84c5e0fd726954b87111f7506a61c502280d982"
-dependencies = [
- "libc",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "outref"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4030760ffd992bef45b0ae3f10ce1aba99e33464c90d14dd7c039884963ddc7a"
-
-[[package]]
-name = "p12"
-version = "0.6.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4873306de53fe82e7e484df31e1e947d61514b6ea2ed6cd7b45d63006fd9224"
-dependencies = [
- "cbc",
- "cipher",
- "des",
- "getrandom",
- "hmac",
- "lazy_static",
- "rc2",
- "sha1",
- "yasna",
-]
-
-[[package]]
-name = "p256"
-version = "0.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594"
-dependencies = [
- "ecdsa 0.14.8",
- "elliptic-curve 0.12.3",
- "sha2",
-]
-
-[[package]]
-name = "p256"
-version = "0.13.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b"
-dependencies = [
- "ecdsa 0.16.9",
- "elliptic-curve 0.13.8",
- "primeorder",
- "sha2",
-]
-
-[[package]]
-name = "p384"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209"
-dependencies = [
- "ecdsa 0.16.9",
- "elliptic-curve 0.13.8",
- "primeorder",
- "sha2",
-]
-
-[[package]]
-name = "pbkdf2"
-version = "0.12.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
-dependencies = [
- "digest",
- "hmac",
-]
-
-[[package]]
-name = "pcsc"
-version = "2.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45ed9d7f816b7d9ce9ddb0062dd2f393b3af31411a95a35411809b4b9116ea08"
-dependencies = [
- "bitflags 1.3.2",
- "pcsc-sys",
-]
-
-[[package]]
-name = "pcsc-sys"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b09e9ba80f2c4d167f936d27594f7248bca3295921ffbfa44a24b339b6cb7403"
-dependencies = [
- "pkg-config",
-]
-
-[[package]]
-name = "pear"
-version = "0.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdeeaa00ce488657faba8ebf44ab9361f9365a97bd39ffb8a60663f57ff4b467"
-dependencies = [
- "inlinable_string",
- "pear_codegen",
- "yansi",
-]
-
-[[package]]
-name = "pear_codegen"
-version = "0.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bab5b985dc082b345f812b7df84e1bef27e7207b39e448439ba8bd69c93f147"
-dependencies = [
- "proc-macro2",
- "proc-macro2-diagnostics",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "pem"
-version = "3.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae"
-dependencies = [
- "base64 0.22.1",
- "serde",
-]
-
-[[package]]
-name = "pem-rfc7468"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
-dependencies = [
- "base64ct",
-]
-
-[[package]]
-name = "percent-encoding"
-version = "2.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
-
-[[package]]
-name = "pin-project-lite"
-version = "0.2.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
-
-[[package]]
-name = "pin-utils"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
-
-[[package]]
-name = "pkcs1"
-version = "0.7.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f"
-dependencies = [
- "der 0.7.9",
- "pkcs8 0.10.2",
- "spki 0.7.3",
-]
-
-[[package]]
-name = "pkcs8"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba"
-dependencies = [
- "der 0.6.1",
- "spki 0.6.0",
-]
-
-[[package]]
-name = "pkcs8"
-version = "0.10.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
-dependencies = [
- "der 0.7.9",
- "spki 0.7.3",
-]
-
-[[package]]
-name = "pkg-config"
-version = "0.3.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
-
-[[package]]
-name = "plain"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
-
-[[package]]
-name = "plist"
-version = "1.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016"
-dependencies = [
- "base64 0.22.1",
- "indexmap",
- "quick-xml",
- "serde",
- "time",
-]
-
-[[package]]
-name = "powerfmt"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
-
-[[package]]
-name = "ppv-lite86"
-version = "0.2.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
-dependencies = [
- "zerocopy",
-]
-
-[[package]]
-name = "primeorder"
-version = "0.13.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6"
-dependencies = [
- "elliptic-curve 0.13.8",
-]
-
-[[package]]
-name = "proc-macro2"
-version = "1.0.92"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
-dependencies = [
- "unicode-ident",
-]
-
-[[package]]
-name = "proc-macro2-diagnostics"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
- "version_check",
- "yansi",
-]
-
-[[package]]
-name = "quick-xml"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d3a6e5838b60e0e8fa7a43f22ade549a37d61f8bdbe636d0d7816191de969c2"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "quinn"
-version = "0.11.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef"
-dependencies = [
- "bytes",
- "pin-project-lite",
- "quinn-proto",
- "quinn-udp",
- "rustc-hash",
- "rustls 0.23.19",
- "socket2",
- "thiserror 2.0.3",
- "tokio",
- "tracing",
-]
-
-[[package]]
-name = "quinn-proto"
-version = "0.11.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d"
-dependencies = [
- "bytes",
- "getrandom",
- "rand",
- "ring",
- "rustc-hash",
- "rustls 0.23.19",
- "rustls-pki-types",
- "slab",
- "thiserror 2.0.3",
- "tinyvec",
- "tracing",
- "web-time",
-]
-
-[[package]]
-name = "quinn-udp"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da"
-dependencies = [
- "cfg_aliases",
- "libc",
- "once_cell",
- "socket2",
- "tracing",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "quote"
-version = "1.0.37"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
-dependencies = [
- "proc-macro2",
-]
-
-[[package]]
-name = "radium"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
-
-[[package]]
-name = "rand"
-version = "0.8.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
-dependencies = [
- "libc",
- "rand_chacha",
- "rand_core",
-]
-
-[[package]]
-name = "rand_chacha"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
-dependencies = [
- "ppv-lite86",
- "rand_core",
-]
-
-[[package]]
-name = "rand_core"
-version = "0.6.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
-dependencies = [
- "getrandom",
-]
-
-[[package]]
-name = "rasn"
-version = "0.20.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e442690f86da40561d5548e7ffb4a18af90d1c1b3536090de847ca2d5a3a6426"
-dependencies = [
- "arrayvec",
- "bitvec",
- "bitvec-nom2",
- "bytes",
- "chrono",
- "either",
- "hashbrown 0.14.5",
- "konst",
- "nom",
- "num-bigint",
- "num-integer",
- "num-traits",
- "once_cell",
- "rasn-derive",
- "serde_json",
- "snafu",
-]
-
-[[package]]
-name = "rasn-derive"
-version = "0.20.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96b0d374c7e4e985e6bc97ca7e7ad1d9642a8415db2017777d6e383002edaab2"
-dependencies = [
- "either",
- "itertools",
- "proc-macro2",
- "quote",
- "rayon",
- "syn",
- "uuid",
-]
-
-[[package]]
-name = "rayon"
-version = "1.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
-dependencies = [
- "either",
- "rayon-core",
-]
-
-[[package]]
-name = "rayon-core"
-version = "1.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
-dependencies = [
- "crossbeam-deque",
- "crossbeam-utils",
-]
-
-[[package]]
-name = "rc2"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62c64daa8e9438b84aaae55010a93f396f8e60e3911590fcba770d04643fc1dd"
-dependencies = [
- "cipher",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
-dependencies = [
- "bitflags 2.6.0",
-]
-
-[[package]]
-name = "redox_users"
-version = "0.4.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
-dependencies = [
- "getrandom",
- "libredox",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "regex"
-version = "1.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
-dependencies = [
- "aho-corasick",
- "memchr",
- "regex-automata",
- "regex-syntax",
-]
-
-[[package]]
-name = "regex-automata"
-version = "0.4.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
-dependencies = [
- "aho-corasick",
- "memchr",
- "regex-syntax",
-]
-
-[[package]]
-name = "regex-lite"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a"
-
-[[package]]
-name = "regex-syntax"
-version = "0.8.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
-
-[[package]]
-name = "reqwest"
-version = "0.12.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
-dependencies = [
- "base64 0.22.1",
- "bytes",
- "futures-channel",
- "futures-core",
- "futures-util",
- "h2 0.4.7",
- "http 1.1.0",
- "http-body 1.0.1",
- "http-body-util",
- "hyper 1.5.1",
- "hyper-rustls 0.27.3",
- "hyper-util",
- "ipnet",
- "js-sys",
- "log",
- "mime",
- "once_cell",
- "percent-encoding",
- "pin-project-lite",
- "quinn",
- "rustls 0.23.19",
- "rustls-native-certs 0.8.1",
- "rustls-pemfile 2.2.0",
- "rustls-pki-types",
- "serde",
- "serde_json",
- "serde_urlencoded",
- "sync_wrapper",
- "tokio",
- "tokio-rustls 0.26.0",
- "tower-service",
- "url",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
- "webpki-roots",
- "windows-registry",
-]
-
-[[package]]
-name = "rfc6979"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb"
-dependencies = [
- "crypto-bigint 0.4.9",
- "hmac",
- "zeroize",
-]
-
-[[package]]
-name = "rfc6979"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
-dependencies = [
- "hmac",
- "subtle",
-]
-
-[[package]]
-name = "ring"
-version = "0.17.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
-dependencies = [
- "cc",
- "cfg-if",
- "getrandom",
- "libc",
- "spin",
- "untrusted",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "rsa"
-version = "0.9.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47c75d7c5c6b673e58bf54d8544a9f432e3a925b0e80f7cd3602ab5c50c55519"
-dependencies = [
- "const-oid",
- "digest",
- "num-bigint-dig",
- "num-integer",
- "num-traits",
- "pkcs1",
- "pkcs8 0.10.2",
- "rand_core",
- "sha2",
- "signature 2.2.0",
- "spki 0.7.3",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "rustc-demangle"
-version = "0.1.24"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
-
-[[package]]
-name = "rustc-hash"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
-
-[[package]]
-name = "rustc_version"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
-dependencies = [
- "semver",
-]
-
-[[package]]
-name = "rusticata-macros"
-version = "4.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632"
-dependencies = [
- "nom",
-]
-
-[[package]]
-name = "rustix"
-version = "0.38.41"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6"
-dependencies = [
- "bitflags 2.6.0",
- "errno",
- "libc",
- "linux-raw-sys",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "rustls"
-version = "0.21.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
-dependencies = [
- "log",
- "ring",
- "rustls-webpki 0.101.7",
- "sct",
-]
-
-[[package]]
-name = "rustls"
-version = "0.23.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1"
-dependencies = [
- "once_cell",
- "ring",
- "rustls-pki-types",
- "rustls-webpki 0.102.8",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "rustls-native-certs"
-version = "0.6.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
-dependencies = [
- "openssl-probe",
- "rustls-pemfile 1.0.4",
- "schannel",
- "security-framework 2.11.1",
-]
-
-[[package]]
-name = "rustls-native-certs"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5"
-dependencies = [
- "openssl-probe",
- "rustls-pemfile 2.2.0",
- "rustls-pki-types",
- "schannel",
- "security-framework 2.11.1",
-]
-
-[[package]]
-name = "rustls-native-certs"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3"
-dependencies = [
- "openssl-probe",
- "rustls-pki-types",
- "schannel",
- "security-framework 3.0.1",
-]
-
-[[package]]
-name = "rustls-pemfile"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
-dependencies = [
- "base64 0.21.7",
-]
-
-[[package]]
-name = "rustls-pemfile"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
-dependencies = [
- "rustls-pki-types",
-]
-
-[[package]]
-name = "rustls-pki-types"
-version = "1.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b"
-dependencies = [
- "web-time",
-]
-
-[[package]]
-name = "rustls-webpki"
-version = "0.101.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
-dependencies = [
- "ring",
- "untrusted",
-]
-
-[[package]]
-name = "rustls-webpki"
-version = "0.102.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
-dependencies = [
- "ring",
- "rustls-pki-types",
- "untrusted",
-]
-
-[[package]]
-name = "ruzstd"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fad02996bfc73da3e301efe90b1837be9ed8f4a462b6ed410aa35d00381de89f"
-dependencies = [
- "twox-hash",
-]
-
-[[package]]
-name = "ryu"
-version = "1.0.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
-
-[[package]]
-name = "same-file"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
-dependencies = [
- "winapi-util",
-]
-
-[[package]]
-name = "schannel"
-version = "0.1.27"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d"
-dependencies = [
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "scroll"
-version = "0.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6"
-dependencies = [
- "scroll_derive",
-]
-
-[[package]]
-name = "scroll_derive"
-version = "0.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "sct"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
-dependencies = [
- "ring",
- "untrusted",
-]
-
-[[package]]
-name = "sec1"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928"
-dependencies = [
- "base16ct 0.1.1",
- "der 0.6.1",
- "generic-array",
- "pkcs8 0.9.0",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "sec1"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
-dependencies = [
- "base16ct 0.2.0",
- "der 0.7.9",
- "generic-array",
- "pkcs8 0.10.2",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "secrecy"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e"
-dependencies = [
- "zeroize",
-]
-
-[[package]]
-name = "security-framework"
-version = "2.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
-dependencies = [
- "bitflags 2.6.0",
- "core-foundation 0.9.4",
- "core-foundation-sys",
- "libc",
- "security-framework-sys",
-]
-
-[[package]]
-name = "security-framework"
-version = "3.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1415a607e92bec364ea2cf9264646dcce0f91e6d65281bd6f2819cca3bf39c8"
-dependencies = [
- "bitflags 2.6.0",
- "core-foundation 0.10.0",
- "core-foundation-sys",
- "libc",
- "security-framework-sys",
-]
-
-[[package]]
-name = "security-framework-sys"
-version = "2.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2"
-dependencies = [
- "core-foundation-sys",
- "libc",
-]
-
-[[package]]
-name = "semver"
-version = "1.0.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
-
-[[package]]
-name = "serde"
-version = "1.0.215"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
-dependencies = [
- "serde_derive",
-]
-
-[[package]]
-name = "serde-xml-rs"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb3aa78ecda1ebc9ec9847d5d3aba7d618823446a049ba2491940506da6e2782"
-dependencies = [
- "log",
- "serde",
- "thiserror 1.0.69",
- "xml-rs",
-]
-
-[[package]]
-name = "serde_derive"
-version = "1.0.215"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "serde_json"
-version = "1.0.133"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377"
-dependencies = [
- "itoa",
- "memchr",
- "ryu",
- "serde",
-]
-
-[[package]]
-name = "serde_spanned"
-version = "0.6.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1"
-dependencies = [
- "serde",
-]
-
-[[package]]
-name = "serde_urlencoded"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
-dependencies = [
- "form_urlencoded",
- "itoa",
- "ryu",
- "serde",
-]
-
-[[package]]
-name = "serde_yaml"
-version = "0.9.34+deprecated"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
-dependencies = [
- "indexmap",
- "itoa",
- "ryu",
- "serde",
- "unsafe-libyaml",
-]
-
-[[package]]
-name = "sha1"
-version = "0.10.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
-dependencies = [
- "cfg-if",
- "cpufeatures",
- "digest",
-]
-
-[[package]]
-name = "sha2"
-version = "0.10.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
-dependencies = [
- "cfg-if",
- "cpufeatures",
- "digest",
-]
-
-[[package]]
-name = "shell-words"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
-
-[[package]]
-name = "shlex"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
-
-[[package]]
-name = "signal-hook-registry"
-version = "1.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "signature"
-version = "1.6.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c"
-dependencies = [
- "digest",
- "rand_core",
-]
-
-[[package]]
-name = "signature"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
-dependencies = [
- "digest",
- "rand_core",
-]
-
-[[package]]
-name = "simd-adler32"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
-
-[[package]]
-name = "similar"
-version = "2.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e"
-
-[[package]]
-name = "simple-file-manifest"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5dd19be0257552dd56d1bb6946f89f193c6e5b9f13cc9327c4bc84a357507c74"
-
-[[package]]
-name = "simple_asn1"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085"
-dependencies = [
- "num-bigint",
- "num-traits",
- "thiserror 1.0.69",
- "time",
-]
-
-[[package]]
-name = "slab"
-version = "0.4.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
-dependencies = [
- "autocfg",
-]
-
-[[package]]
-name = "smallvec"
-version = "1.13.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
-
-[[package]]
-name = "snafu"
-version = "0.8.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "223891c85e2a29c3fe8fb900c1fae5e69c2e42415e3177752e8718475efa5019"
-dependencies = [
- "snafu-derive",
-]
-
-[[package]]
-name = "snafu-derive"
-version = "0.8.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03c3c6b7927ffe7ecaa769ee0e3994da3b8cafc8f444578982c83ecb161af917"
-dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "snapbox"
-version = "0.4.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b831b6e80fbcd2889efa75b185d24005f85981431495f995292b25836519d84"
-dependencies = [
- "anstream",
- "anstyle",
- "content_inspector",
- "dunce",
- "filetime",
- "libc",
- "normalize-line-endings",
- "os_pipe",
- "similar",
- "snapbox-macros",
- "tempfile",
- "wait-timeout",
- "walkdir",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "snapbox-macros"
-version = "0.3.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16569f53ca23a41bb6f62e0a5084aa1661f4814a67fa33696a79073e03a664af"
-dependencies = [
- "anstream",
-]
-
-[[package]]
-name = "socket2"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
-dependencies = [
- "libc",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "spake2"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5482afe85a0b6ce956c945401598dbc527593c77ba51d0a87a586938b1b893a"
-dependencies = [
- "curve25519-dalek",
- "hkdf",
- "rand_core",
- "sha2",
-]
-
-[[package]]
-name = "spin"
-version = "0.9.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
-
-[[package]]
-name = "spki"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b"
-dependencies = [
- "base64ct",
- "der 0.6.1",
-]
-
-[[package]]
-name = "spki"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
-dependencies = [
- "base64ct",
- "der 0.7.9",
-]
-
-[[package]]
-name = "stable_deref_trait"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
-
-[[package]]
-name = "static_assertions"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
-
-[[package]]
-name = "strsim"
-version = "0.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
-
-[[package]]
-name = "subtle"
-version = "2.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
-
-[[package]]
-name = "syn"
-version = "2.0.89"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
-[[package]]
-name = "sync_wrapper"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
-dependencies = [
- "futures-core",
-]
-
-[[package]]
-name = "synstructure"
-version = "0.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "tap"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
-
-[[package]]
-name = "tar"
-version = "0.4.43"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6"
-dependencies = [
- "filetime",
- "libc",
- "xattr",
-]
-
-[[package]]
-name = "tempfile"
-version = "3.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
-dependencies = [
- "cfg-if",
- "fastrand",
- "once_cell",
- "rustix",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "thiserror"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
-dependencies = [
- "thiserror-impl 1.0.69",
-]
-
-[[package]]
-name = "thiserror"
-version = "2.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa"
-dependencies = [
- "thiserror-impl 2.0.3",
-]
-
-[[package]]
-name = "thiserror-impl"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "thiserror-impl"
-version = "2.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "time"
-version = "0.3.36"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
-dependencies = [
- "deranged",
- "itoa",
- "num-conv",
- "powerfmt",
- "serde",
- "time-core",
- "time-macros",
-]
-
-[[package]]
-name = "time-core"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
-
-[[package]]
-name = "time-macros"
-version = "0.2.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
-dependencies = [
- "num-conv",
- "time-core",
-]
-
-[[package]]
-name = "tinystr"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
-dependencies = [
- "displaydoc",
- "zerovec",
-]
-
-[[package]]
-name = "tinyvec"
-version = "1.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
-dependencies = [
- "tinyvec_macros",
-]
-
-[[package]]
-name = "tinyvec_macros"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
-
-[[package]]
-name = "tls_codec"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e78c9c330f8c85b2bae7c8368f2739157db9991235123aa1b15ef9502bfb6a"
-dependencies = [
- "tls_codec_derive",
- "zeroize",
-]
-
-[[package]]
-name = "tls_codec_derive"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d9ef545650e79f30233c0003bcc2504d7efac6dad25fca40744de773fe2049c"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "tokio"
-version = "1.41.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
-dependencies = [
- "backtrace",
- "bytes",
- "libc",
- "mio",
- "pin-project-lite",
- "signal-hook-registry",
- "socket2",
- "windows-sys 0.52.0",
-]
-
-[[package]]
-name = "tokio-rustls"
-version = "0.24.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
-dependencies = [
- "rustls 0.21.12",
- "tokio",
-]
-
-[[package]]
-name = "tokio-rustls"
-version = "0.26.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
-dependencies = [
- "rustls 0.23.19",
- "rustls-pki-types",
- "tokio",
-]
-
-[[package]]
-name = "tokio-util"
-version = "0.7.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
-dependencies = [
- "bytes",
- "futures-core",
- "futures-sink",
- "pin-project-lite",
- "tokio",
-]
-
-[[package]]
-name = "toml"
-version = "0.8.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
-dependencies = [
- "serde",
- "serde_spanned",
- "toml_datetime",
- "toml_edit 0.22.22",
-]
-
-[[package]]
-name = "toml_datetime"
-version = "0.6.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
-dependencies = [
- "serde",
-]
-
-[[package]]
-name = "toml_edit"
-version = "0.20.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81"
-dependencies = [
- "indexmap",
- "serde",
- "serde_spanned",
- "toml_datetime",
- "winnow 0.5.40",
-]
-
-[[package]]
-name = "toml_edit"
-version = "0.22.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5"
-dependencies = [
- "indexmap",
- "serde",
- "serde_spanned",
- "toml_datetime",
- "winnow 0.6.20",
-]
-
-[[package]]
-name = "tower-service"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
-
-[[package]]
-name = "tracing"
-version = "0.1.41"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
-dependencies = [
- "pin-project-lite",
- "tracing-attributes",
- "tracing-core",
-]
-
-[[package]]
-name = "tracing-attributes"
-version = "0.1.28"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "tracing-core"
-version = "0.1.33"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
-dependencies = [
- "once_cell",
-]
-
-[[package]]
-name = "try-lock"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
-
-[[package]]
-name = "trycmd-indygreg-fork"
-version = "0.14.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea50b5f4225e7fcfbeaf36babe97acd166db5d4352febc0152b52b070025e45a"
-dependencies = [
- "glob",
- "humantime",
- "humantime-serde",
- "rayon",
- "serde",
- "shlex",
- "snapbox",
- "toml_edit 0.20.7",
-]
-
-[[package]]
-name = "tungstenite"
-version = "0.24.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a"
-dependencies = [
- "byteorder",
- "bytes",
- "data-encoding",
- "http 1.1.0",
- "httparse",
- "log",
- "rand",
- "rustls 0.23.19",
- "rustls-native-certs 0.7.3",
- "rustls-pki-types",
- "sha1",
- "thiserror 1.0.69",
- "utf-8",
-]
-
-[[package]]
-name = "twox-hash"
-version = "1.6.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
-dependencies = [
- "cfg-if",
- "static_assertions",
-]
-
-[[package]]
-name = "typenum"
-version = "1.17.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
-
-[[package]]
-name = "typewit"
-version = "1.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d51dbd25812f740f45e2a9769f84711982e000483b13b73a8a1852e092abac8c"
-dependencies = [
- "typewit_proc_macros",
-]
-
-[[package]]
-name = "typewit_proc_macros"
-version = "1.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e36a83ea2b3c704935a01b4642946aadd445cea40b10935e3f8bd8052b8193d6"
-
-[[package]]
-name = "uncased"
-version = "0.9.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1b88fcfe09e89d3866a5c11019378088af2d24c3fbd4f0543f96b479ec90697"
-dependencies = [
- "version_check",
-]
-
-[[package]]
-name = "unicode-ident"
-version = "1.0.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
-
-[[package]]
-name = "unicode-width"
-version = "0.1.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
-
-[[package]]
-name = "unsafe-libyaml"
-version = "0.2.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
-
-[[package]]
-name = "untrusted"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
-
-[[package]]
-name = "url"
-version = "2.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
-dependencies = [
- "form_urlencoded",
- "idna",
- "percent-encoding",
-]
-
-[[package]]
-name = "urlencoding"
-version = "2.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
-
-[[package]]
-name = "utf-8"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
-
-[[package]]
-name = "utf16_iter"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
-
-[[package]]
-name = "utf8_iter"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
-
-[[package]]
-name = "utf8parse"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
-
-[[package]]
-name = "uuid"
-version = "1.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
-dependencies = [
- "getrandom",
-]
-
-[[package]]
-name = "version_check"
-version = "0.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
-
-[[package]]
-name = "vsimd"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64"
-
-[[package]]
-name = "wait-timeout"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "walkdir"
-version = "2.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
-dependencies = [
- "same-file",
- "winapi-util",
-]
-
-[[package]]
-name = "want"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
-dependencies = [
- "try-lock",
-]
-
-[[package]]
-name = "wasi"
-version = "0.11.0+wasi-snapshot-preview1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
-
-[[package]]
-name = "wasm-bindgen"
-version = "0.2.96"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21d3b25c3ea1126a2ad5f4f9068483c2af1e64168f847abe863a526b8dbfe00b"
-dependencies = [
- "cfg-if",
- "once_cell",
- "wasm-bindgen-macro",
-]
-
-[[package]]
-name = "wasm-bindgen-backend"
-version = "0.2.96"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52857d4c32e496dc6537646b5b117081e71fd2ff06de792e3577a150627db283"
-dependencies = [
- "bumpalo",
- "log",
- "once_cell",
- "proc-macro2",
- "quote",
- "syn",
- "wasm-bindgen-shared",
-]
-
-[[package]]
-name = "wasm-bindgen-futures"
-version = "0.4.46"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "951fe82312ed48443ac78b66fa43eded9999f738f6022e67aead7b708659e49a"
-dependencies = [
- "cfg-if",
- "js-sys",
- "once_cell",
- "wasm-bindgen",
- "web-sys",
-]
-
-[[package]]
-name = "wasm-bindgen-macro"
-version = "0.2.96"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "920b0ffe069571ebbfc9ddc0b36ba305ef65577c94b06262ed793716a1afd981"
-dependencies = [
- "quote",
- "wasm-bindgen-macro-support",
-]
-
-[[package]]
-name = "wasm-bindgen-macro-support"
-version = "0.2.96"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf59002391099644be3524e23b781fa43d2be0c5aa0719a18c0731b9d195cab6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
- "wasm-bindgen-backend",
- "wasm-bindgen-shared",
-]
-
-[[package]]
-name = "wasm-bindgen-shared"
-version = "0.2.96"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5047c5392700766601942795a436d7d2599af60dcc3cc1248c9120bfb0827b0"
-
-[[package]]
-name = "web-sys"
-version = "0.3.73"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "476364ff87d0ae6bfb661053a9104ab312542658c3d8f963b7ace80b6f9b26b9"
-dependencies = [
- "js-sys",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "web-time"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
-dependencies = [
- "js-sys",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "webpki-roots"
-version = "0.26.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e"
-dependencies = [
- "rustls-pki-types",
-]
-
-[[package]]
-name = "widestring"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311"
-
-[[package]]
-name = "winapi"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
-dependencies = [
- "winapi-i686-pc-windows-gnu",
- "winapi-x86_64-pc-windows-gnu",
-]
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-
-[[package]]
-name = "winapi-util"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
-dependencies = [
- "windows-sys 0.48.0",
-]
-
-[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
-
-[[package]]
-name = "windows-core"
-version = "0.52.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
-dependencies = [
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-registry"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
-dependencies = [
- "windows-result",
- "windows-strings",
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-result"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
-dependencies = [
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-strings"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
-dependencies = [
- "windows-result",
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.48.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
-dependencies = [
- "windows-targets 0.48.5",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.52.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
-dependencies = [
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.59.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
-dependencies = [
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-targets"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
-dependencies = [
- "windows_aarch64_gnullvm 0.48.5",
- "windows_aarch64_msvc 0.48.5",
- "windows_i686_gnu 0.48.5",
- "windows_i686_msvc 0.48.5",
- "windows_x86_64_gnu 0.48.5",
- "windows_x86_64_gnullvm 0.48.5",
- "windows_x86_64_msvc 0.48.5",
-]
-
-[[package]]
-name = "windows-targets"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
-dependencies = [
- "windows_aarch64_gnullvm 0.52.6",
- "windows_aarch64_msvc 0.52.6",
- "windows_i686_gnu 0.52.6",
- "windows_i686_gnullvm",
- "windows_i686_msvc 0.52.6",
- "windows_x86_64_gnu 0.52.6",
- "windows_x86_64_gnullvm 0.52.6",
- "windows_x86_64_msvc 0.52.6",
-]
-
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
-
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
-
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-
-[[package]]
-name = "windows_i686_gnu"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
-
-[[package]]
-name = "windows_i686_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
-
-[[package]]
-name = "windows_i686_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-
-[[package]]
-name = "windows_i686_msvc"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
-
-[[package]]
-name = "windows_i686_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
-
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
-
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.48.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
-
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
-
-[[package]]
-name = "winnow"
-version = "0.5.40"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "winnow"
-version = "0.6.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "write16"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
-
-[[package]]
-name = "writeable"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
-
-[[package]]
-name = "wyz"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
-dependencies = [
- "tap",
-]
-
-[[package]]
-name = "x509"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca3cec94c3999f31341553f358ef55f65fc031291a022cd42ec0ce7219560c76"
-dependencies = [
- "chrono",
- "cookie-factory",
-]
-
-[[package]]
-name = "x509-cert"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1301e935010a701ae5f8655edc0ad17c44bad3ac5ce8c39185f75453b720ae94"
-dependencies = [
- "const-oid",
- "der 0.7.9",
- "sha1",
- "signature 2.2.0",
- "spki 0.7.3",
- "tls_codec",
-]
-
-[[package]]
-name = "x509-certificate"
-version = "0.24.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e57b9f8bcae7c1f36479821ae826d75050c60ce55146fd86d3553ed2573e2762"
-dependencies = [
- "bcder",
- "bytes",
- "chrono",
- "der 0.7.9",
- "hex",
- "pem",
- "ring",
- "signature 2.2.0",
- "spki 0.7.3",
- "thiserror 1.0.69",
- "zeroize",
-]
-
-[[package]]
-name = "xattr"
-version = "1.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
-dependencies = [
- "libc",
- "linux-raw-sys",
- "rustix",
-]
-
-[[package]]
-name = "xml-rs"
-version = "0.8.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af310deaae937e48a26602b730250b4949e125f468f11e6990be3e5304ddd96f"
-
-[[package]]
-name = "xmlparser"
-version = "0.13.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"
-
-[[package]]
-name = "xz2"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2"
-dependencies = [
- "lzma-sys",
-]
-
-[[package]]
-name = "yansi"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
-
-[[package]]
-name = "yasna"
-version = "0.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd"
-
-[[package]]
-name = "yoke"
-version = "0.7.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40"
-dependencies = [
- "serde",
- "stable_deref_trait",
- "yoke-derive",
- "zerofrom",
-]
-
-[[package]]
-name = "yoke-derive"
-version = "0.7.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
- "synstructure",
-]
-
-[[package]]
-name = "yubikey"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d1efb43c1e3edd4cf871c8dc500d900abfa083c1f2bab10b781ea8ffcadedcb"
-dependencies = [
- "base16ct 0.2.0",
- "der 0.7.9",
- "des",
- "ecdsa 0.16.9",
- "elliptic-curve 0.13.8",
- "hmac",
- "log",
- "nom",
- "num-bigint-dig",
- "num-integer",
- "num-traits",
- "p256 0.13.2",
- "p384",
- "pbkdf2",
- "pcsc",
- "rand_core",
- "rsa",
- "secrecy",
- "sha1",
- "sha2",
- "signature 2.2.0",
- "subtle",
- "uuid",
- "x509-cert",
- "zeroize",
-]
-
-[[package]]
-name = "zerocopy"
-version = "0.7.35"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
-dependencies = [
- "byteorder",
- "zerocopy-derive",
-]
-
-[[package]]
-name = "zerocopy-derive"
-version = "0.7.35"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "zerofrom"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e"
-dependencies = [
- "zerofrom-derive",
-]
-
-[[package]]
-name = "zerofrom-derive"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
- "synstructure",
-]
-
-[[package]]
-name = "zeroize"
-version = "1.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
-dependencies = [
- "zeroize_derive",
-]
-
-[[package]]
-name = "zeroize_derive"
-version = "1.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "zerovec"
-version = "0.10.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
-dependencies = [
- "yoke",
- "zerofrom",
- "zerovec-derive",
-]
-
-[[package]]
-name = "zerovec-derive"
-version = "0.10.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "zip"
-version = "2.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99d52293fc86ea7cf13971b3bb81eb21683636e7ae24c729cdaf1b7c4157a352"
-dependencies = [
- "arbitrary",
- "crc32fast",
- "crossbeam-utils",
- "displaydoc",
- "flate2",
- "indexmap",
- "memchr",
- "thiserror 2.0.3",
- "zopfli",
-]
-
-[[package]]
-name = "zip_structs"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce824a6bfffe8942820fa36d24973b7c83a40896749a42e33de0abdd11750ee5"
-dependencies = [
- "byteorder",
- "bytesize",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "zopfli"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
-dependencies = [
- "bumpalo",
- "crc32fast",
- "lockfree-object-pool",
- "log",
- "once_cell",
- "simd-adler32",
-]
diff --git a/vendor/apple-codesign/Cargo.toml b/vendor/apple-codesign/Cargo.toml
index eae1477..585e0fd 100644
--- a/vendor/apple-codesign/Cargo.toml
+++ b/vendor/apple-codesign/Cargo.toml
@@ -40,10 +40,6 @@ path = "src/lib.rs"
name = "rcodesign"
path = "src/main.rs"
-[[test]]
-name = "cli_tests"
-path = "tests/cli_tests.rs"
-
[dependencies.anyhow]
version = "1.0.93"
diff --git a/vendor/apple-codesign/Cargo.toml.orig b/vendor/apple-codesign/Cargo.toml.orig
deleted file mode 100644
index cc851f9..0000000
--- a/vendor/apple-codesign/Cargo.toml.orig
+++ /dev/null
@@ -1,131 +0,0 @@
-[package]
-name = "apple-codesign"
-version = "0.29.0"
-authors = ["Gregory Szorc <[email protected]>"]
-edition = "2021"
-rust-version = "1.81"
-license = "MPL-2.0"
-description = "Pure Rust interface to code signing on Apple platforms"
-keywords = ["apple", "macos", "codesign"]
-homepage = "https://github.com/indygreg/apple-platform-rs"
-repository = "https://github.com/indygreg/apple-platform-rs.git"
-readme = "README.md"
-
-[[bin]]
-name = "rcodesign"
-path = "src/main.rs"
-
-[dependencies]
-anyhow = "1.0.93"
-aws-config = { version = "1.5.10", optional = true }
-aws-sdk-s3 = { version = "1.63.0", optional = true }
-aws-smithy-http = { version = "0.60.11", optional = true }
-aws-smithy-types = { version = "1.2.9", optional = true }
-base64 = "0.22.1"
-bcder = "0.7.4"
-bitflags = "2.6.0"
-bytes = "1.9.0"
-clap = { version = "4.5.21", features = ["derive"] }
-chrono = "0.4.38"
-cryptographic-message-syntax = "0.27.0"
-der = { version = "0.7.9", features = ["alloc"] }
-dialoguer = "0.11.0"
-difference = "2.0.0"
-digest = "0.10.7"
-dirs = "5.0.1"
-elliptic-curve = { version = "0.13.8", features = ["arithmetic", "pkcs8"] }
-env_logger = "0.11.5"
-figment = { version = "0.10.19", features = ["env", "toml"] }
-filetime = "0.2.25"
-glob = "0.3.1"
-goblin = "0.9.2"
-hex = "0.4.3"
-log = "0.4.22"
-md-5 = "0.10.6"
-minicbor = { version = "0.25.1", features = ["derive", "std"] }
-num-traits = "0.2.19"
-object = { version = "0.36.5", features = ["write"] }
-oid-registry = "0.7.1"
-once_cell = "1.20.2"
-p12 = "0.6.3"
-p256 = { version = "0.13.2", default-features = false, features = ["arithmetic", "pkcs8", "std"] }
-pem = "3.0.4"
-pkcs1 = { version = "0.7.5", features = ["alloc", "std", "pkcs8"] }
-pkcs8 = { version = "0.10.2", features = ["alloc", "std"] }
-plist = "1.7.0"
-rand = "0.8.5"
-rasn = "0.20.2"
-rayon = "1.10.0"
-regex = "1.11.1"
-reqwest = { version = "0.12.9", default-features = false, features = ["blocking", "http2", "json", "rustls-tls-native-roots"] }
-ring = "0.17.8"
-rsa = "0.9.7"
-scroll = "0.12.0"
-sha2 = "0.10.8"
-semver = "1.0.23"
-serde = { version = "1.0.215", features = ["derive"] }
-serde_json = "1.0.133"
-serde_yaml = "0.9.34"
-signature = { version = "2.2.0", features = ["std"] }
-simple-file-manifest = "0.11.0"
-spake2 = "0.4.0"
-spki = { version = "0.7.3", features = ["pem"] }
-subtle = "2.6.1"
-tempfile = "3.14.0"
-thiserror = "2.0.3"
-tokio = { version = "1.41.1", features = ["rt"] }
-tungstenite = { version = "0.24.0", features = ["rustls-tls-native-roots"] }
-uuid = { version = "1.11.0", features = ["v4"] }
-walkdir = "2.5.0"
-x509 = "0.2.0"
-x509-certificate = "0.24.0"
-xml-rs = "0.8.23"
-yasna = "0.5.2"
-yubikey = { version = "0.8.0", optional = true, features = ["untested"] }
-zeroize = { version = "1.8.1", features = ["zeroize_derive"] }
-zip = { version = "2.2.1", default-features = false, features = ["deflate"] }
-zip_structs = "0.2.1"
-
-[dependencies.app-store-connect]
-path = "../app-store-connect"
-version = "0.7.0"
-optional = true
-
-[dependencies.apple-bundles]
-path = "../apple-bundles"
-version = "0.21.0"
-
-[dependencies.apple-flat-package]
-path = "../apple-flat-package"
-version = "0.20.0"
-
-[dependencies.apple-xar]
-path = "../apple-xar"
-version = "0.20.0"
-
-[target.'cfg(target_os = "macos")'.dependencies]
-security-framework = { version = "2.11.1", features = ["OSX_10_12"] }
-security-framework-sys = { version = "2.12.1", features = ["OSX_10_12"] }
-
-[target.'cfg(target_os = "windows")'.dependencies]
-widestring = { version = "1.1.0" }
-windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Security_Cryptography"] }
-
-[dev-dependencies]
-flate2 = "1.0.35"
-indoc = "2.0.5"
-simple-file-manifest = "0.11.0"
-tar = "0.4.43"
-trycmd-indygreg-fork = "0.14.20"
-zip = { version = "2.2.1", default-features = false }
-
-[features]
-default = ["notarize"]
-notarize = [
- "app-store-connect",
- "aws-config",
- "aws-sdk-s3",
- "aws-smithy-http",
- "aws-smithy-types",
-]
-smartcard = ["yubikey"]
diff --git a/vendor/apple-codesign/docs/Makefile b/vendor/apple-codesign/docs/Makefile
deleted file mode 100644
index fd65294..0000000
--- a/vendor/apple-codesign/docs/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# Minimal makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line, and also
-# from the environment for the first two.
-SPHINXOPTS ?= -W -n
-SPHINXBUILD ?= sphinx-build
-SOURCEDIR = .
-BUILDDIR = _build
-
-# Put it first so that "make" without argument is like "make help".
-help:
- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
-
-.PHONY: help Makefile
-
-# Catch-all target: route all unknown targets to Sphinx using the new
-# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
-%: Makefile
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff --git a/vendor/apple-codesign/docs/apple_codesign.rst b/vendor/apple-codesign/docs/apple_codesign.rst
deleted file mode 100644
index 8cc263a..0000000
--- a/vendor/apple-codesign/docs/apple_codesign.rst
+++ /dev/null
@@ -1,70 +0,0 @@
-.. _apple_codesign:
-
-==================
-Apple Code Signing
-==================
-
-The ``apple-codesign`` Rust crate and its corresponding ``rcodesign`` CLI
-tool implement code signing for Apple platforms.
-
-We believe this crate provides the most comprehensive implementation of Apple
-code signing outside the canonical Apple tools. We have support for the following
-features:
-
-* Signing Mach-O binaries (the executable file format on Apple operating systems).
-* Signing, notarizing, and stapling directory bundles (e.g. ``.app`` directories).
-* Signing, notarizing, and stapling XAR archives / ``.pkg`` installers.
-* Signing, notarizing, and stapling disk images / ``.dmg`` files.
-* Notarizing zip files.
-
-**What this all means is that you can sign, notarize, and release Apple software
-from non-Apple operating systems (like Linux, Windows, and BSDs) without needing
-access to proprietary Apple software!**
-
-Other features include:
-
-* Built-in support for using :ref:`smart cards <apple_codesign_smartcard>` (e.g.
- YubiKeys) for signing and key/certificate management.
-* A *remote signing* mode that enables you to delegate just the low-level
- cryptographic signature generation to a remote machine. This allows you to
- do things like have a CI job initiate signing but use a YubiKey on a remote
- machine to create cryptographic signatures. See
- :ref:`apple_codesign_remote_signing` for more.
-* Certificate Signing Request (CSR) support to enable arbitrary private keys
- (including those generated on smart card devices) to be easily exchanged for
- Apple-issued code signing certificates.
-* Support for dumping and diffing data structures related to Apple code
- signatures.
-* Awareness of Apple's public PKI infrastructure, including CA certificates
- and custom X.509 extensions and OIDs used by Apple.
-* Documentation and code that are likely a treasure trove for others wanting
- to learn and experiment with Apple code signing.
-
-Canonical project links:
-
-* Source code: https://github.com/indygreg/apple-platform-rs/tree/main/apple-codesign
-* Documentation https://gregoryszorc.com/docs/apple-codesign/
-* Rust crate: https://crates.io/crates/apple-codesign
-* Changelog: https://github.com/indygreg/apple-platform-rs/blob/main/apple-codesign/CHANGELOG.rst
-* Bugs and feature requests: https://github.com/indygreg/apple-platform-rs/issues?q=is%3Aopen+is%3Aissue+label%3Aapple-codesign
-
-While this project is developed inside a larger monorepository, it is designed
-to be used as a standalone project.
-
-.. toctree::
- :maxdepth: 2
-
- apple_codesign_getting_started
- apple_codesign_rcodesign
- apple_codesign_certificate_management
- apple_codesign_smartcard
- apple_codesign_github_actions
- apple_codesign_concepts
- apple_codesign_quirks
- apple_codesign_debugging
- apple_codesign_remote_signing
- apple_codesign_remote_signing_protocol
- apple_codesign_remote_signing_design
- apple_codesign_gatekeeper
- apple_codesign_custom_assessment_policies
- apple_codesign_developer_guide
diff --git a/vendor/apple-codesign/docs/apple_codesign_actions_initiator_output.png b/vendor/apple-codesign/docs/apple_codesign_actions_initiator_output.png
deleted file mode 100644
index 692fd4e..0000000
Binary files a/vendor/apple-codesign/docs/apple_codesign_actions_initiator_output.png and /dev/null differ
diff --git a/vendor/apple-codesign/docs/apple_codesign_actions_signer_output.png b/vendor/apple-codesign/docs/apple_codesign_actions_signer_output.png
deleted file mode 100644
index eb4ba58..0000000
Binary files a/vendor/apple-codesign/docs/apple_codesign_actions_signer_output.png and /dev/null differ
diff --git a/vendor/apple-codesign/docs/apple_codesign_actions_sjs_join.png b/vendor/apple-codesign/docs/apple_codesign_actions_sjs_join.png
deleted file mode 100644
index 83ac1be..0000000
Binary files a/vendor/apple-codesign/docs/apple_codesign_actions_sjs_join.png and /dev/null differ
diff --git a/vendor/apple-codesign/docs/apple_codesign_certificate_management.rst b/vendor/apple-codesign/docs/apple_codesign_certificate_management.rst
deleted file mode 100644
index 0d61247..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_certificate_management.rst
+++ /dev/null
@@ -1,255 +0,0 @@
-.. _apple_codesign_certificate_management:
-
-==================================
-Managing Code Signing Certificates
-==================================
-
-In order to add cryptographic signatures using this tool, you'll need to use
-a :ref:`apple_codesign_code_signing_certificate`. (Follow the link for what
-that means.)
-
-In order to perform code signing in a way that is recognized and trusted by Apple
-operating systems, you will need to obtain a code signing certificate that is
-signed/issued by Apple. This requires joining the
-`Apple Developer Program <https://developer.apple.com/programs/>`_, which has an
-annual membership fee.
-
-Once you are a member, there are various ways to generate and manage your
-certificates. But first, a primer about flavors of Apple code signing
-certificates.
-
-Apple Code Signing Certificate Flavors
-======================================
-
-Apple issues different types/flavors of code signing certificates. Each one is
-used to sign a different class of software.
-
-If you are logged into your Apple Developer account, you can see Apple's
-description for these at https://developer.apple.com/account/resources/certificates/add.
-Here's our concise definitions:
-
-*Apple Development*
- Sign applications for Apple operating systems that aren't distributed publicly.
-
-*Apple Distribution*
- Sign applications for submission to the App Store or for Ad Hoc distribution.
-
-*iOS App Development*
- Legacy version of *Apple Development* just for iOS apps. (We think.)
-
-*iOS Distribution*
- Legacy version of *Apple Distribution* just for iOS apps. (We think.)
-
-*Mac Development*
- Legacy version of *Apple Development* just for macOS apps. (We think.)
-
-*Mac App Distribution*
- Sign macOS applications and configure a Distribution Provisioning Profile
- for distribution through Mac App Store.
-
-*Mac Installer Distribution*
- Sign package installers (e.g. ``.pkg`` files) which will be distributed via the
- Mac App Store.
-
-*Developer ID Installer*
- Sign package installers (e.g. ``.pkg`` files) which will be distributed outside
- the Mac App Store. i.e. if users fetch your installer via your website, you sign
- with this.
-
-*Developer ID Application*
- Sign applications which will be distributed outside the Mac App Store. Used for
- signing Mach-O binaries, ``.app`` bundles, and ``.dmg`` files.
-
-Essentially, if you are distributing macOS software to end-users via non-Apple
-channels like your website, you need *Developer ID Application* and/or *Developer ID
-Installer*.
-
-If you are distributing via Apple's App stores, you need *Apple Distribution* or one
-of the other types having *Distribution* in the name.
-
-.. tip::
-
- The ``rcodesign analyze-certificate`` command can be used to print information
- about Apple code signing certificates. Look for a line with ``Certificate Profile``
- in its output to see which flavor of certificate this software thinks it is.
-
-Generating Certificates with Xcode
-==================================
-
-Using Xcode from macOS is probably the easiest way to create and manage
-your certificates as Xcode has built-in UI to facilitate this.
-
-Apple keeps thorough
-`documentation about how to do this <https://help.apple.com/xcode/mac/current/#/dev154b28f09>`_.
-Please follow Apple's documentation to generate a certificate.
-
-Obtaining a Certificate via a Certificate Signing Request
-=========================================================
-
-You can obtain a code signing certificate by uploading a *Certificate Signing
-Request (CSR)* to Apple. Essentially, you generate a CSR, send it to Apple,
-and Apple will issue a new code signing certificate which you can download.
-
-A CSR is produced by creating a cryptographic signature (using a *private
-key*) over a small set of metadata describing the *private key* for which
-a certificate shall be issued.
-
-In order to generate a CSR, you need a *private key*. As of April 2022, Apple
-appears to require the use of RSA 2048 private keys.
-
-If you have access to macOS, the easiest way to generate a private key and
-CSR is to use ``Keychain Access`` using the
-`procedure outlined here <https://developer.apple.com/help/account/create-certificates/create-a-certificate-signing-request>`_.
-
-If you want to generate your own CSR using ``rcodesign``, follow instructions
-in one of the following sections. If you already have a CSR, skip ahead to
-:ref:`apple_codesign_exchange_csr`.
-
-.. _apple_codesign_generate_csr_from_p12:
-
-Generating a CSR from a ``.p12`` / ``.pfx`` File
-------------------------------------------------
-
-If you've exported a ``.p12`` / ``.pfx`` / PKCS#12 file from
-``KeyChain Access.app`` or some other source, you can use ``rcodesign``
-to turn it into a CSR::
-
- rcodesign generate-certificate-signing-request --p12-file cert.p12 --p12-password my-password
-
-This command will print the CSR to stdout. e.g.::
-
- -----BEGIN CERTIFICATE REQUEST-----
- MIHeMIGDAgEAMCExHzAdBgNVBAMMFkFwcGxlIENvZGUgU2lnbmluZyBDU1IwWTAT
- BgcqhkjOPQIBBggqhkjOPQMBBwNCAAQxluBlPIv/HgBDz0O3GLPhhna/NJU7menq
- GzUc9sZFOgZ7XmpR9vQTxHPEyg5D6huBapVQZsDG9IgAXjvSOmimoAAwDAYIKoZI
- zj0EAwIFAANIADBFAiEAoZpbfrlm7HgQXByfwuoPt7/V+QM7DCIILcTKCBrkIZUC
- IEIp8yA9bSg7bM9XJl8bgFesTjermlSYQI/2JY834/z7
- -----END CERTIFICATE REQUEST-----
-
-You probably want to use ``--csr-pem-file`` to write that to a file automatically::
-
- rcodesign generate-certificate-signing-request --p12-file cert.p12 --p12-password my-password --csr-pem-file csr.pem
-
-Generating a CSR From a YubiKey or Other SmartCard Device
----------------------------------------------------------
-
-See the instructions at :ref:`apple_codesign_smartcard_key_generation`.
-
-.. _apple_codesign_generate_rsa_key_and_csr:
-
-Generating an RSA Private Key and CSR
--------------------------------------
-
-To generate an RSA 2048 private key using OpenSSL::
-
- openssl genrsa -out private.pem 2048
-
-.. warning::
-
- The RSA private key will be in plain text on your filesystem. This is not
- very secure!
-
-Then once you have a private key, we can generate a CSR using ``rcodesign``::
-
- rcodesign generate-certificate-signing-request --pem-file private.pem
-
-Like the instructions above, you probably want to use ``--csr-pem-file`` to save the
-CSR data to a file for submission to Apple.
-
-.. _apple_codesign_exchange_csr:
-
-Exchanging a CSR for a Code Signing Certificate
------------------------------------------------
-
-Once you have a CSR file, you can attempt to exchange it for a code signing
-certificate.
-
-1. Go to https://developer.apple.com/account/resources/certificates/add (you must be
- logged into Apple's website)
-2. Select the certificate *flavor* you want to issue.
-3. Click ``Continue`` to advance to the next form.
-4. Select the ``G2 Sub-CA (Xcode 11.4.1 or later)`` *Profile Type* (we support it).
-5. Choose the file containing your CSR.
-6. Click ``Continue``.
-7. If all goes according to plan, you should see a page saying ``Download Your
- Certificate``.
-8. Click the ``Download`` button.
-9. Save the certificate somewhere. (The file content is likely not sensitive and
- doesn't need to be kept secret because this content will be copied to everything
- you sign with it!)
-
-At this point, you have both a *private key* and a *public certificate*: you can
-sign Apple software!
-
-Exporting a Code Signing Certificate to a File
-==============================================
-
-``rcodesign`` supports consuming code signing certificates from multiple
-sources, including hardware devices. But sometimes it is desirable to have
-your code signing certificate exist as a file.
-
-Use the instructions in one of the following sections to export a code signing
-certificate.
-
-.. danger::
-
- It is generally accepted that private keys stored in files are less
- secure than stored in special operating system enclaves like keychains.
- This is because the operating system has protections around accessing
- the private keys and these protections are often much stronger than
- those on a file on the filesystem.
-
- This tool has support for using certificates / keys directly from
- macOS keychains. So exporting to a file is not always necessary.
-
-Using Keychain Access
----------------------
-
-(macOS)
-
-1. Open the ``Keychain Access`` application.
-2. Find the certificate you want to export and command click or right click on it.
-3. Select the ``Export`` option.
-4. Choose the ``Personal Information Exchange (.p12)`` format and select a
- file destination.
-5. Enter a password used to protect the contents of the certificate.
-6. If prompted to enter your system password to unlock your keychain, do so.
-
-The exported certificate is in the PKCS#12 / PFX / p12 file format. Command
-arguments with these labels in the same can be used to interact with the
-exported certificate.
-
-Using Xcode
------------
-
-(macOS)
-
-See `Apple's Xcode documentation <https://help.apple.com/xcode/mac/current/#/dev154b28f09>`_.
-
-Using ``security``
-------------------
-
-(macOS)
-
-1. Run ``security find-identity`` to locate certificates available for export.
-2. Run ``security export -t identities -f pkcs12 -o keys.p12``
-
-If you have multiple identifies (which is common), ``security export`` will export
-all of them. ``security`` doesn't seem to have a command to export just a single
-certificate pair. You will need to invoke some ``openssl`` command to extract
-just the certificate you care about. Please contribute back a fix for this
-documentation once you figure it out!
-
-Using a Self-Signed Certificate
-===============================
-
-If you want to cut some corners and play around with certificates not
-signed by Apple, you can run ``rcodesign generate-self-signed-certificate``
-to generate a self-signed code signing certificate.
-
-This command will include special attributes in the certificate that indicate
-compatibility with Apple code signing. However, since the certificate isn't
-signed by Apple, its signatures won't confer the same trust that Apple signed
-certificates would.
-
-These certificates can be useful for debugging and testing.
diff --git a/vendor/apple-codesign/docs/apple_codesign_concepts.rst b/vendor/apple-codesign/docs/apple_codesign_concepts.rst
deleted file mode 100644
index 635a458..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_concepts.rst
+++ /dev/null
@@ -1,158 +0,0 @@
-.. _apple_codesign_concepts:
-
-========
-Concepts
-========
-
-Code signing on Apple platforms is complex and has many parts. This
-document aims to shed some light on things.
-
-Cryptographic Signatures
-========================
-
-At the heart of code signing is the use of cryptographic signatures.
-
-The Wikipedia article on
-`digital signatures <https://en.wikipedia.org/wiki/Digital_signature>`_ explains
-the concept in far more detail than we care to go into.
-
-Essentially, mathematics is used to prove that an entity in possession of a
-secret *key* digitally attested to the existence of some *signed* entity.
-
-More concretely, an X.509 code signing certificate can be proved to have
-signed some piece of software by inspecting the cryptographic signature it
-produced.
-
-Apple's cryptographic signatures use RFC 5652 / Cryptographic Message Syntax
-(CMS) for representing signatures. This standardized format is used outside
-the Apple ecosystem and libraries and tools like OpenSSL are capable of
-interfacing with it.
-
-Code Signing
-============
-
-*Code signing* (or just *signing*) is the mechanism of producing (and then
-attaching) a signature to some entity.
-
-Typically signing entails producing a cryptographic signature using a code
-signing certificate. However, Mach-O files (the binary file format for
-Apple platforms) has a concept of *ad-hoc* signing where the binary has
-data structures describing the content of the binary but without the
-cryptographic signature present.
-
-Notarization
-============
-
-*Notarization* is the term Apple gives to the process of uploading an asset
-to Apple for inspection.
-
-In order to help safeguard and control their software ecosystems, Apple
-imposes requirements that applications and installers be inspected by Apple
-before they are allowed to run on Apple operating systems - either at all
-or without scary warning signs.
-
-When you notarize software, you are essentially asking for Apple's blessing
-to distribute that software. If Apple's systems are appeased, they will
-issue a *notarization ticket*.
-
-Notarization Ticket
-===================
-
-A *notarization ticket* is a blob of data that essentially proves that Apple
-notarized a piece of software.
-
-The exact format and content of *notarization tickets* is not well known. But
-they do contain some DER-encoded ASN.1 with data structures that common appear
-in X.509 certificates. All that matters is that Apple's operating systems know
-how to read and validate a notarization ticket.
-
-Stapling
-========
-
-*Stapling* is the term Apple gives to the process of attaching a *notarization
-ticket* to some entity. It is literally just fetching a *notarization ticket*
-from Apple's servers and then making that ticket available on the entity that
-was notarized.
-
-You can think of notarization and stapling as Apple-issued cryptographic
-signatures. It establishes a chain of trust between some entity to you
-that also had to be inspected by Apple first.
-
-Mach-O Binaries
-===============
-
-`Mach-O <https://en.wikipedia.org/wiki/Mach-O>`_ is the binary executable
-file format used on Apple operating systems.
-
-When you run an executable like ``/usr/bin/zsh`` on macOS, you are running
-a Mach-O file.
-
-Mach-O binaries are either *thin* or *fat*. A *thin* Mach-O contains code
-for a single architecture, like x86-64 or aarch64 / arm64. A *fat* or
-*universal* binary contains code for multiple architectures. At run-time,
-the operating system will decide which one to execute.
-
-Bundles
-=======
-
-`Bundles <https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1>`_
-are a filesystem based mechanism for encapsulating code and resources.
-
-On macOS, you commonly encounter bundles as ``.app`` and ``.framework``
-directories in ``/Applications`` and ``/System/Library/Frameworks``.
-
-Bundles are essentially a well-defined set of files that the operating
-system knows how to interact with. For example, macOS knows that to
-execute an ``.app`` bundle it should look for a ``Contents/Info.plist``
-to resolve basic application metadata, such as the name of the main
-binary for the bundle, which resides in ``Contents/MacOS/`` within the
-bundle.
-
-DMGs / Disk Images
-==================
-
-`Apple Disk Images <https://en.wikipedia.org/wiki/Apple_Disk_Image>`_ are a
-self-contained file format for holding filesystems. Think of DMGs
-as standalone hard drives that Apple operating systems can recognize.
-
-DMGs are often used to distribute macOS applications.
-
-XARs / Flat Packages / ``.pkg`` Installers
-==========================================
-
-*Flat packages* is a mechanism for installing software.
-
-They take the form of ``.pkg`` files, which are actually XAR archives
-(a tar-like format for storing content for multiple files within a single
-file).
-
-.. _apple_codesign_code_signing_certificate:
-
-Code Signing Certificate
-========================
-
-A code signing certificate is used to produce cryptographic signatures over
-some signed entity.
-
-A code signing certificate consists of a private/secret key (essentially a bunch
-of large numbers or parameters) and a public certificate which describes it.
-
-Code signing certificates are X.509 certificates. X.509 certificates are the
-same technology used to secure communication with https:// websites. However,
-the certificates are used for signing content instead of encrypting it.
-
-The X.509 public certificate contains a bunch of metadata describing the
-certificate. This includes the name of the person or entity it belongs to,
-a date range for when it is valid, and a cryptographic signature attesting
-to its origination.
-
-Apple's operating systems look for special metadata on code signing
-certificates to authenticate and trust them. There are special properties
-on certificates indicating what Apple software distribution they are allowed
-to perform. For example, a ``Developer ID Application`` certificate is required
-for signed Mach-O binaries, bundles, and DMG files to be trusted and a
-``Developer ID Installer`` certificate is required to sign ``.pkg`` installers
-in order for them to be trusted.
-
-In addition, different Apple code signing certificates are cryptographically
-signed by different Apple Certificate Authorities (CAs).
diff --git a/vendor/apple-codesign/docs/apple_codesign_custom_assessment_policies.rst b/vendor/apple-codesign/docs/apple_codesign_custom_assessment_policies.rst
deleted file mode 100644
index b3b929c..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_custom_assessment_policies.rst
+++ /dev/null
@@ -1,160 +0,0 @@
-.. _apple_codesign_custom_assessment_policies:
-
-================================================================
-Selectively Bypassing Gatekeeper with Custom Assessment Policies
-================================================================
-
-By default, Apple locks down their operating systems such that the default
-assessment policies enforced by Gatekeeper restrict what can be run. The
-restrictions vary by operating system (iOS is more locked down than macOS for
-example).
-
-On macOS, it is possible to change the system assessment policies via
-the ``spctl`` tool. By injecting your own rules, you can allow binaries
-through meeting criteria expressible via *code requirements language
-expressions*. This allows you to allow binaries having:
-
-* A specific *code directory hash* (uniquely identifies the binary).
-* A specific code signing certificate identified by its certificate hash.
-* Any code signing certificate whose trust/signing chain leads to a trusted
- certificate.
-* Any code signing certificate signed by a certificate containing a
- certain X.509 extension OID.
-* A code signing certificate with specific values in its subject field.
-* And many more possibilities. See
- `Apple's docs <https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/RequirementLang/RequirementLang.html>`_
- on the requirements language for more possibilities.
-
-Defining custom rules is possible via the under-documented
-``spctl --add --requirement`` mode. In this mode, you can register a code
-requirements expression into the system database for Gatekeeper to
-utilize. The following sections give some examples of this.
-
-Verifying Assessment Policies
-=============================
-
-The sections below document how to define custom assessment policies
-to allow execution of binaries/installers/etc signed by certificates
-that aren't normally supported.
-
-When doing this, you probably want a way to verify things work as
-expected.
-
-The ``spctl --assess`` mode puts ``spctl`` in *assessment mode* and tells you
-what verdict Gatekeeper would render. e.g.::
-
- $ spctl --assess --type execute -vv /Applications/Firefox.app
- /Applications/Firefox.app: accepted
- source=Notarized Developer ID
-
-Do note that this only works on app bundles (not standalone executable
-binaries)! If you run ``spctl --assess`` on a standalone executable, you
-get an error::
-
- $ spctl --assess -vv /usr/bin/ssh
- /usr/bin/ssh: rejected (the code is valid but does not seem to be an app)
- origin=Software Signing
-
-In addition, macOS uses the ``com.apple.quarantine`` extended file attribute
-to *quarantine* files and prevent them from running via the graphical UI.
-It can sometimes be handy to add this attribute back to a file to simulate
-a fresh quarantine. You can do this by running a command like the following::
-
- xattr -w com.apple.quarantine "0001;$(printf %x $(date +%s));manual;$(/usr/bin/uuidgen)" /path/to/file
-
-(This extended attribute isn't added to files downloaded by tools like ``curl``
-or ``wget`` which is why you can execute binaries obtained via these tools but
-can't run the same binary downloaded via a web browser.)
-
-Allowing Execution of Binaries Signed by a Specific Certificate
-===============================================================
-
-Say you have a single code signing certificate and want to be able to
-run all binaries signed by that certificate. We can construct a
-*code requirement expression* that refers to this specific certificate.
-
-The most reliable way to specify a single certificate is via a
-digest of its content. Assuming no two certificates have the same
-digest, this uniquely identifies a certificate.
-
-You can use ``rcodesign analyze-certificate`` to locate a certificate's
-content digest.::
-
- rcodesign analyze-certificate --pem-file path/to/cert | grep fingerprint
- SHA-1 fingerprint: 0b724bcd713c9f3691b0a8b0926ae0ecf9e7edd8
- SHA-256 fingerprint: ac5c4b5936677942e017bca1570aaa9e763674c4b66709231b15118e5842aeca
-
-The *code requirement* language only supports SHA-1 hashes. So we
-construct our expression referring to this certificate as
-``certificate leaf H"0b724bcd713c9f3691b0a8b0926ae0ecf9e7edd8"``.
-
-Now, we define an assessment rule to allow execution of binaries
-signed with this certificate::
-
- sudo spctl --add --type execute --label 'My Cert' --requirement \
- 'certificate leaf H"0b724bcd713c9f3691b0a8b0926ae0ecf9e7edd8"'
-
-Now Gatekeeper should allow execution of all binaries signed with this
-exact code signing certificate!
-
-If the signing certificate hash is registered in the system assessment
-policy database, there is no need to register the certificate in a
-*keychain* or mark that certificate as *trusted* in a keychain. The signing
-certificate also does not need to chain back to an Apple certificate.
-And since the requirement expression doesn't say ``and notarized``, binaries
-don't need to be notarized by Apple either. **This effectively allows you
-to sidestep the default requirement that binaries be signed and notarized
-by certificates that Apple is aware of.** Congratulations, you've just
-escaped Apple's walled garden (at your own risk of course).
-
-Do note that for files with the ``com.apple.quarantine`` extended attribute,
-you may see a dialog the first time you run this file. You can prevent that
-by removing the extended attribute via
-``xattr -d com.apple.quarantine /path/to/file``.
-
-Allowing Execution of Binaries Signed by a Trusted CA
-=====================================================
-
-Say you are an enterprise or distributed organization and want to have
-multiple code signing certificates. Using the approach in the section
-above you could individually register each code signing certificate you
-want to allow. However, the number of certificates can quickly grow and
-become unmanageable.
-
-To solve this problem, you can employ the strategy that Apple itself uses
-for code signing certificates associated with Developer ID accounts: trust
-code signing certificates themselves issued/signed by a trusted certificate
-authority (CA).
-
-To do this, we'll again craft a *code requirement expression* referring to
-our trusted CA certificate.
-
-This looks very similar to above except we change the position of the
-trusted certificate::
-
- sudo spctl --add --type execute --label 'My Trusted CA' --requirement \
- 'certificate 1 H"0b724bcd713c9f3691b0a8b0926ae0ecf9e7edd8"'
-
-That ``certificate 1`` says to apply to the certificate that signed the
-certificate that produced the code signature. By trusting the CA certificate,
-you implicitly trust all certificates signed by that CA certificate.
-
-Note that if you use a custom CA for signing code signing certificates,
-you'll probably want to follow some best practices for running your own
-Public Key Infrastructure (PKI) like publishing a Certificate Revocation List
-(CRL). This is a complex topic outside the scope of this documentation. Ask
-someone with *Security* in their job title for assistance.
-
-For CA certificates issuing/signing code signing certificates, you'll
-want to enable a few X.509 certificate extensions:
-
-* Key Usage (``2.5.29.15``): *Digital Signature* and *Key Cert Sign*
-* Basic Constraints (``2.5.29.19``): CA=yes
-* Extended Key Usage (``2.5.29.37``): Code Signing (``1.3.6.1.5.5.7.3.3``); critical=true
-
-You can create CA certificates in the ``Keychain Access`` macOS application.
-If you create CA certificates another way, you may want to compare certificate
-extensions and other fields against those produced via ``Keychain Access`` to
-make sure they align. It is unknown how much Apple's operating systems
-enforce requirements on the X.509 certificates. But it is a good idea to
-keep things as similar as possible.
diff --git a/vendor/apple-codesign/docs/apple_codesign_debugging.rst b/vendor/apple-codesign/docs/apple_codesign_debugging.rst
deleted file mode 100644
index da89803..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_debugging.rst
+++ /dev/null
@@ -1,49 +0,0 @@
-.. _apple_codesign_debugging:
-
-================================
-How to Debug and Report Problems
-================================
-
-Apple code signing is complex and there will be cases where this tool
-behaves differently from Apple's, possibly to the point where Apple rejects
-the output of this tool.
-
-.. important::
-
- If Apple software rejects the output of this tool, we consider that a bug.
- We encourage end-users to report these bugs to the
- `GitHub issue tracker <https://github.com/indygreg/apple-platform-rs/issues>`_.
-
-Commands to Print Signature Info
-================================
-
-The ``rcodesign print-signature-info`` command can be used to dump YAML
-describing any signable file entity. Just point it at a Mach-O, bundle, DMG,
-or ``.pkg`` installer and it will tell you what it knows about the entity.
-
-The ``rcodesign diff-signatures`` command will internally execute
-``print-signature-info`` against 2 paths and print the differences between them.
-
-``rcodesign diff-signatures`` is exceptionally useful at understanding
-differences in behavior between this tool and Apple's. If Apple is rejecting
-the output of this tool, comparing the output of the same operation with Apple's
-tooling against this tool's is a good way to find the source of the problem.
-
-Reporting Actionable Bugs
-=========================
-
-Please include the following in bug reports to improve chances for action:
-
-* The released version or Git commit that this tool was built from.
-* The command line used.
-* The full output of the command.
-* The output of ``rcodesign diff-signatures`` comparing similar operations
- between Apple's tooling and ours.
-* A copy of the entity you were attempting to sign.
-* Text copy or screenshot of error from Apple tooling indicating what failed.
-
-It is understandable that some people may not desire to file publish issue
-reports or submit a copy of their application to be seen by the world. If
-you send a polite email to [email protected] with ``apple-codesign`` or
-``rcodesign`` in the subject line along with more private/sensitive details,
-support can be given over email.
diff --git a/vendor/apple-codesign/docs/apple_codesign_developer_guide.rst b/vendor/apple-codesign/docs/apple_codesign_developer_guide.rst
deleted file mode 100644
index dfcc710..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_developer_guide.rst
+++ /dev/null
@@ -1,46 +0,0 @@
-.. _apple_codesign_developer_guide:
-
-===============
-Developer Guide
-===============
-
-If you are familiar with Rust, hacking on the ``apple-codesign`` crate should
-feel like any other Rust crate. But there are a few things to watch out for:
-
-* The ``smartcard`` crate feature isn't enabled by default because it pulls in
- library dependencies on Linux that aren't always present. We recommend testing
- with ``--all-features`` to ensure all code in the crate is exercised.
-* There is some conditional code when running on macOS. We've tried to isolate
- that code to the ``macos`` file/module so changes are more obvious.
-* When running tests on macOS, some tests call out to Apple tools (like
- ``csreq``). Non-standard system installs or 3rd party tools on PATH may
- confuse tests. (We generally consider these bugs in the tests and if you
- see a test failure due to a runtime environment issue, please file a bug or
- send a patch to fix.)
-
-Desire for Determinism and Reproducibility
-==========================================
-
-As much code and behavior should be deterministic and bit-for-bit reproducible as
-possible. There are some obvious cases where bits will disagree (such as time-stamp
-tokens from remote timestamp servers). But we strive for the same data inputs to
-produce the same output as much as possible. Unless it can't be avoided due to the
-fundamental nature of an operation (such as a random/remote operation), we consider
-non-determinism to be a bug.
-
-Desire for Compliance with Apple Tooling
-========================================
-
-We bias towards Apple's official tooling to define behavior.
-
-Generally, if our implementation behaves differently from Apple's official
-tooling in a meaningful way (definition of *meaningful* is subject to
-interpretation), the default behavior should be to treat this as a bug.
-If deviation is desirable, the justifications should be documented. Ideally
-in this documentation tree or in inline code comments. But commit messages
-are also fine. The important thing is we leave a breadcrumb trail of known
-deviations and why they exist.
-
-There are plenty of valid reasons to deviate from behavior of Apple's tooling.
-We purposefully let present and future project maintainers interpret *valid
-reasons* as they want.
diff --git a/vendor/apple-codesign/docs/apple_codesign_gatekeeper.rst b/vendor/apple-codesign/docs/apple_codesign_gatekeeper.rst
deleted file mode 100644
index ac40f09..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_gatekeeper.rst
+++ /dev/null
@@ -1,151 +0,0 @@
-.. _apple_codesign_gatekeeper:
-
-======================
-A Primer on Gatekeeper
-======================
-
-*Gatekeeper* is the name Apple gives to a set of technologies that enforce
-application execution policies at the operating system level. Essentially,
-Gatekeeper answers the question *is this software allowed to run*.
-
-When Gatekeeper runs, it performs a *security assessment* against the
-binary and the currently configured system policies from the system policy
-database (see ``man syspolicyd``). If the binary fails to meet the requirements,
-Gatekeeper prevents the binary from running.
-
-The ``spctl`` Tool
-==================
-
-The ``spctl`` program distributed with macOS allows you to query and
-manipulate the assessment policies.
-
-If you run ``sudo spctl --list``, it will print a list of rules. e.g.::
-
- $ sudo spctl --list
- 8[Apple System] P20 allow lsopen
- anchor apple
- 3[Apple System] P20 allow execute
- anchor apple
- 2[Apple Installer] P20 allow install
- anchor apple generic and certificate 1[subject.CN] = "Apple Software Update Certification Authority"
- 17[Testflight] P10 allow execute
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.1] exists and certificate leaf[field.1.2.840.113635.100.6.1.25.1] exists
- 10[Mac App Store] P10 allow install
- anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.10] exists
- 5[Mac App Store] P10 allow install
- anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.10] exists
- 4[Mac App Store] P10 allow execute
- anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] exists
- 16[Notarized Developer ID] P5 allow lsopen
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and notarized
- 12[Notarized Developer ID] P5 allow install
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and (certificate leaf[field.1.2.840.113635.100.6.1.14] or certificate leaf[field.1.2.840.113635.100.6.1.13]) and notarized
- 11[Notarized Developer ID] P5 allow execute
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and notarized
- 9[Developer ID] P4 allow lsopen
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and legacy
- 7[Developer ID] P4 allow install
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and (certificate leaf[field.1.2.840.113635.100.6.1.14] or certificate leaf[field.1.2.840.113635.100.6.1.13]) and legacy
- 6[Developer ID] P4 allow execute
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and (certificate leaf[timestamp.1.2.840.113635.100.6.1.33] absent or certificate leaf[timestamp.1.2.840.113635.100.6.1.33] < timestamp "20190408000000Z")
- 2718[GKE] P0 allow lsopen [(gke)]
- cdhash H"975d9247503b596784dd8a9665fd3ff43eb7722f"
- 2717[GKE] P0 allow execute [(gke)]
- cdhash H"cf782d6467be86b73a83d86cd6d8c9f87d9d9ce5"
- ...
- 18[GKE] P0 allow lsopen [(gke)]
- cdhash H"cf5f88b3b2ff4d8612aabb915f6d1f712e16b6f2"
- 15[Unnotarized Developer ID] P0 deny lsopen
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists
- 14[Unnotarized Developer ID] P0 deny install
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and (certificate leaf[field.1.2.840.113635.100.6.1.14] or certificate leaf[field.1.2.840.113635.100.6.1.13])
- 13[Unnotarized Developer ID] P0 deny execute
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and (certificate leaf[timestamp.1.2.840.113635.100.6.1.33] exists and certificate leaf[timestamp.1.2.840.113635.100.6.1.33] >= timestamp "20190408000000Z")
- ```
-
-The first line of each item identifies the policy. The second line is a
-*code requirement language expression*. This is a DSL that compiles to a
-binary expression tree for representing a test to perform against a binary.
-See ``man csreq`` for more.
-
-Some of these expressions are pretty straightforward. For example,
-the following entry says to allow executing a binary with a code signature
-whose *code directory* hash is ``cf782d6467be86b73a83d86cd6d8c9f87d9d9ce5``::
-
- 2717[GKE] P0 allow execute [(gke)]
- cdhash H"cf782d6467be86b73a83d86cd6d8c9f87d9d9ce5"
-
-The *code directory* refers to a data structure within the code
-signature that contains (among other things) content digests of the binary. The
-hash/digest of the code directory itself is effectively a chained digest to the
-actual binary content and theoretically a unique way of identifying a binary. So
-``cdhash H"cf782d6467be86b73a83d86cd6d8c9f87d9d9ce5"`` is a very convoluted
-way of saying *allow this specific binary (specified by its content hash)
-to execute*.
-
-Other rules are more interesting. For example::
-
- 11[Notarized Developer ID] P5 allow execute
- anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] exists
- and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and notarized
-
-We see the description (``Notarized Developer ID``) but what does that
-expression mean?
-
-Well, first this expression parses into a tree. We won't attempt to format
-the tree here. But essentially the following conditions must ``all`` be true:
-
-* ``anchor apple generic``
-* ``certificate 1[field.1.2.840.113635.100.6.2.6] exists``
-* ``certificate leaf[field.1.2.840.113635.100.6.1.13] exists``
-* ``notarized``
-
-``anchor apple generic`` and ``notarized`` are essentially special expressions
-that expand to mean *the certificate signing chain leads back to an Apple
-root certificate authority (CA)* and *there is a supplemental code signature
-from Apple that can only come from Apple's notarization service*.
-
-But what about those ``certificate`` expressions? That
-``certificate <position>[field.*]`` syntax essentially says *the code signature
-certificate at ``<position>`` in the certificate chain has an X.509 certificate
-extension with OID ``X``* (where ``X`` is a value like ``A.B.C.D.E.F``).
-
-This is all pretty low level. But essentially X.509 certificates can have
-a series of *extensions* that further describe the certificate. Apple code
-signing uses these extensions to convey metadata about the certificate. And
-since code signing certificates are signed, whoever signed those certificates
-is effectively also approving of whatever is conveyed by the extensions
-within.
-
-But what do these extensions actually mean? Running ``rcodesign x509-oids``
-may give us some help::
-
- $ rcodesign x509-oids`
- ...
- Code Signing Certificate Extension OIDs
- ...
- 1.2.840.113635.100.6.1.13 DeveloperIdApplication
- ...
- Certificate Authority Certificate Extension OIDs
- ...
- 1.2.840.113635.100.6.2.6 DeveloperId
-
-We see ``1.2.840.113635.100.6.2.6`` is the OID of an extension on
-certificate authorities indicating they act as the *Apple Developer
-ID* certificate authority. We also see that ``1.2.840.113635.100.6.1.13``
-is the OID of an extension saying the certificate acts as a code signing
-certificate for *applications* associated with an *Apple Developer ID*.
-
-So, what this expression translates to is essentially:
-
-* Trust code signatures whose certificate signing chain leads back to an
- Apple CA.
-* The signer of the code signing certificate must have the extension that
- identifies it as the *Apple Developer ID* certificate authority.
-* The code signing certificate itself must have the extension that says
- it is an *Apple Developer ID* for use with *application* signing.
-* The binary is *notarized*.
-
-In simple terms, this is saying *allow execution of binaries that
-were signed by a Developer ID code signing certificate which was signed
-by Apple's Developer ID certificate authority and are also notarized*.
diff --git a/vendor/apple-codesign/docs/apple_codesign_getting_started.rst b/vendor/apple-codesign/docs/apple_codesign_getting_started.rst
deleted file mode 100644
index 52ffc83..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_getting_started.rst
+++ /dev/null
@@ -1,117 +0,0 @@
-.. _apple_codesign_getting_started:
-
-===============
-Getting Started
-===============
-
-Installing
-==========
-
-Pre-built binaries are published as GitHub Releases. Go to
-https://github.com/indygreg/apple-platform-rs/releases and look for the latest
-release of ``Apple Codesign``.
-
-To install the latest release version of the ``rcodesign`` executable using Cargo
-(Rust's package manager):
-
-.. code-block:: bash
-
- cargo install apple-codesign
-
-To enable smart card integration (i.e. use a YubiKey for signing):
-
-.. code-block:: bash
-
- cargo install --features smartcard apple-codesign
-
-To compile and run from a Git checkout of its canonical repository (developer mode):
-
-.. code-block:: bash
-
- cargo run --bin rcodesign -- --help
-
-To install from a Git checkout of its canonical repository:
-
-.. code-block:: bash
-
- cargo install --bin rcodesign
-
-To install from the latest commit in the canonical Git repository:
-
-.. code-block:: bash
-
- cargo install --git https://github.com/indygreg/apple-platform-rs --branch main rcodesign
-
-Obtaining a Code Signing Certificate
-====================================
-
-Follow the instructions at :ref:`apple_codesign_certificate_management` to obtain
-a code signing certificate. This is required if signing software for
-distribution to other machines.
-
-If you just want to play around, you can use
-``rcodesign generate-self-signed-certificate`` to create a self-signed
-certificate.
-
-.. _apple_codesign_app_store_connect_api_key:
-
-Obtaining an App Store Connect API Key
-======================================
-
-To notarize and staple, you'll need an App Store Connect API Key to
-authenticate connections to Apple's servers.
-
-You can generate one at https://appstoreconnect.apple.com/access/api.
-
-This requires joining the Apple Developer Program, which has an annual
-fee.
-
-See
-https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api
-for Apple's official documentation on creating these API Keys.
-
-.. important::
-
- For the *Access Role*, ``Developer`` should be sufficient.
-
- Other roles may or may not work for notarization.
-
-App Store Connect API Keys have 3 components:
-
-* An *Issuer ID* (likely a UUID).
-* A *Key ID* (an alphanumeric string like ``DEADBEEF42``).
-* A PEM encoded ECDSA private key (a file beginning with
- ``-----BEGIN PRIVATE KEY-----`` that you can download at most
- once when you create an API Key).
-
-All 3 of these components are required to talk to the App Store Connect
-API server. To make management of these keys simpler, we provide the
-``encode-app-store-connect-api-key`` command to write out a JSON document
-holding all the key info.
-
-.. important::
-
- We highly recommend using our JSON keys created with
- ``encode-app-store-connect-api-key`` as it is simpler to manage a single
- entity instead of 3.
-
-You can perform an encode of your key as follows:
-
-.. code-block:: bash
-
- rcodesign encode-app-store-connect-api-key -o ~/.appstoreconnect/key.json \
- <issuer-id> <key-id> /path/to/downloaded/private_key
-
-e.g.
-
-.. code-block:: bash
-
- rcodesign encode-app-store-connect-api-key -o ~/.appstoreconnect/key.json \
- 11dda589-8632-49a8-a432-03b5e17fe1d2 DEADBEEF42 ~/Downloads/AuthKey_DEADBEAF42.p8
-
-Next Steps
-==========
-
-Once you have a code signing certificate and/or App Store Connect API Key,
-read :ref:`apple_codesign_rcodesign` to learn how to sign and/or notarize
-software.
diff --git a/vendor/apple-codesign/docs/apple_codesign_github_actions.rst b/vendor/apple-codesign/docs/apple_codesign_github_actions.rst
deleted file mode 100644
index 2a9b29e..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_github_actions.rst
+++ /dev/null
@@ -1,125 +0,0 @@
-.. _apple_codesign_github_actions:
-
-==========================================
-Signing and Notarizing with GitHub Actions
-==========================================
-
-The `indygreg/apple-code-sign-action <https://github.com/marketplace/actions/apple-code-signing>`_
-GitHub Action provides a relatively turnkey way to sign and notarize using
-``rcodesign``.
-
-Signing
-=======
-
-You will need to make a signing certificate available to GitHub Actions.
-
-You can either install the signing certificate *locally* in the GitHub Actions
-runner/workflow or you can use the :ref:`apple_codesign_remote_signing` feature.
-
-Local Certificate Signing
--------------------------
-
-There are multiple ways to make a local code signing certificate available to
-GitHub Actions. Each have various security / convenience trade-offs.
-
-We recommend storing the certificate private key in a GitHub Actions Secret.
-Storing the private key this way prevents offline attacks.
-
-Find the PEM representation of your signing certificate. It will look something
-like:
-
-.. code-block::
-
- -----BEGIN PRIVATE KEY-----
- MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCkdCzwAgHcNbpH
- awCPZISFqL6vPHstX1F9FjjGiOqQZ60xtXMsj1vpfxhpBZwxO/Q3RDn1ogvCluE5
- ...
- -----END PRIVATE KEY-----
-
-Use the instructions at
-https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository
-to create a secret with this private key content.
-
-Assuming the secret is named ``PRIVATE_KEY``, you can write the private key to
-a file and pass it to the GitHub Action doing something like the following:
-
-.. code-block:: yaml
-
- steps:
- - name: Write PEM encoded private key data to a file
- env:
- PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
- run: |
- echo $PRIVATE_KEY | tr ' ' '\n' > key.pem
-
- - name: Code signing
- uses: indygreg/apple-code-sign-action@v1
- with:
- pem_file: |
- key.pem
- cert.pem
-
-Remote Signing
---------------
-
-In *remote signing* mode, a remote machine has access to the code signing
-certificate so that GitHub Actions never has access to it. This is theoretically
-more secure since if GitHub gets hacked, nobody has an offline copy of your
-signing certificate!
-
-See :ref:`apple_codesign_remote_signing_session_agreement` for an overview
-of the mechanisms for initiating remote signing.
-
-We recommend use of public key agreement over shared secrets because it should
-be more secure.
-
-You can even use your code signing certificate's public key as the public key
-to use.
-
-.. code-block:: yaml
-
- steps:
- - name: Code signing
- uses: indygreg/apple-code-sign-action@v1
- with:
- remote_sign_public_key: |
- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt2CB7Q9oBDpA6Pkd4spG
- CWF+LbOnJUGkUPeCn7frIv8CT6HMxaCE8KokTuNo8nVqJW9Ocy/oFHO2SiJ0H2EM
- FgaWIVgfiJuZKIMwzDzIEtgV48VE9V+9ARaI5JOFm+buivAtlCdTzpUASscIqVb1
- 00Lqyf8oAd679bywsxEyigVTxAFQ+qHFfyk0/D8Z8tg7e+osoXAFoH/E6fdKaUMv
- EUwoMvpulvT/+gqAS9qnnYd2ugbHNtjIrD1YK5JF5oi2JePDS37uF4QmuEXGAh3e
- DlIRDozAqC0Oeg0zPVuFBFZy1iVy4NS8aYY9NiaKH3EMDVkzz077znw/cJp9+wHZ
- WQIDAQAB
-
-Notarizing
-==========
-
-Notarizing requires you to have an App Store Connect API Key.
-
-Follow the instructions at :ref:`apple_codesign_app_store_connect_api_key`.
-
-Assuming you ran ``rcodesign encode-app-store-connect-api-key`` to obtain a
-unified JSON file, we recommend copying that JSON data into a GitHub Actions
-secret.
-
-Then simply write out that secret to a file and reference it from the GitHub
-Actions config:
-
-.. code-block:: yaml
-
- steps:
- - name: Write API Key to file
- env:
- API_KEY: ${{ secrets.APP_STORE_API_KEY }}
- run: echo $API_KEY > app_store_key.json
-
- - name: Notarize
- uses: indygreg/apple-code-sign-action@v1
- with:
- app_store_connect_api_key_json_file: app_store_key.json
- # Remember to enable notarization and to disable signing if you just
- # want to notarize.
- sign: false
- notarize: true
- staple: true
- input_path: MyApp.app
diff --git a/vendor/apple-codesign/docs/apple_codesign_quirks.rst b/vendor/apple-codesign/docs/apple_codesign_quirks.rst
deleted file mode 100644
index 574171c..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_quirks.rst
+++ /dev/null
@@ -1,157 +0,0 @@
-.. _apple_codesign_quirks:
-
-============================
-Known Issues and Limitations
-============================
-
-Apple code signing is complex. While this project strives to provide
-all the features and compatibility that Apple's official tooling provides,
-we won't always get it right. This document captures some of the areas where
-we know we fall short.
-
-Bundle Handling in General
-==========================
-
-Bundle signing is complex for a few reasons:
-
-* The types and layouts of bundles are highly varied. Application bundles.
- Frameworks. Kernel extensions. macOS flavored vs iOS flavored bundles. The
- list goes on.
-* Bundles can be nested.
-* Signatures in nested bundles often need to propagate to their parent bundle.
-* Bundles encapsulate other signable entities, notably Mach-O binaries.
-
-All this complexity means bundle signing is susceptible to a lot of subtle
-bugs and variation from how Apple's tooling does it.
-
-If you find bugs in bundle signing or have suggestions for improving its
-ergonomics, please `file a GitHub issue <https://github.com/indygreg/apple-platform-rs/issues/new>`_!
-
-Cannot Sign File Contents of DMGs
-=================================
-
-We support signing DMGs. But we can't recursively inspect the files within
-DMGs and sign those. e.g. if a DMG contains a Mach-O binary, we can't
-sign that Mach-O by unpacking it from the DMG and writing a new DMG.
-
-The reason we can't do this is because DMGs contain a nested filesystem
-(likely HFS+) and we don't (yet) have a cross-platform mechanism for reading
-and writing HFS+ filesystems.
-
-On macOS, we could call out to ``hdiutil`` to mount a DMG to see its
-contents and again to create a new DMG. However, this isn't implemented
-because we don't perceive there to be value in it: if you have access to
-macOS you should probably just use Apple's official signing tooling!
-
-There are open source libraries for reading and writing HFS+ filesystems.
-We could potentially integrate those to support reading and writing the
-contents of DMGs. We could also potentially leverage a pure Rust HFS+
-implementation (this is a preferred solution).
-
-DMG also supports multiple embedded filesystem types and it is possible
-we could leverage one that isn't HFS+ (or APFS) and produce working DMGs.
-This is an area we haven't yet explored.
-
-If you want to distribute DMGs signed with this tool that themselves have
-signed files, you'll need to sign the files inside the DMG before the DMG
-is created. Then you'll need to create the DMG (using ``hdiutil`` or
-whatever tool you have access to) then feed that DMG into this tool for
-signing.
-
-https://github.com/indygreg/apple-platform-rs/issues/2 is our tracking issue
-for DMG writing support. If you have ideas, please comment there!
-
-Cannot Recursively Sign Flat Packages (``.pkg`` Installers)
-===========================================================
-
-Flat Packages (``.pkg`` installers) are a complex file format.
-
-We have support for signing ``.pkg`` installers by reading the files
-within a flat package. And we are capable of recursively extracting
-and signing the ``.pkg`` installers that themselves are often embedded
-in ``.pkg`` installers.
-
-What we don't yet have support for is mutating the file content within
-flat packages / ``.pkg`` installers. This means we can't recursively sign
-nested ``.pkg`` installers or bundles or Mach-O binaries within.
-
-The main blocker to implementing ``.pkg`` writing is support for
-reading and writing Apple's *Bill of Materials* file format. These are
-the ``Bom`` files within flat packages. The author of this project
-has an unpublished Rust crate to read and write bom files but he
-encountered issues getting it to write files that validate with Apple's
-implementation.
-
-So if you want to sign ``.pkg`` files that themselves containable signable
-entities, you need to sign files going into the ``.pkg`` before creating
-the ``.pkg``. Then you need to create the ``.pkg`` and invoke this tool to
-sign the ``.pkg``. For installers that contained nested ``.pkg`` installers,
-this process will be quite tedious. Invoking ``componentbuild`` and
-``productbuild`` will likely be much simpler.
-
-https://github.com/indygreg/apple-platform-rs/issues/3 is our tracking issue
-for flat packages writing support.
-
-Extra Signing or Time-Stamp Token Operations
-============================================
-
-Signatures often need to encapsulate the size of the resulting signature.
-This creates a chicken-and-egg problem because how can we know the size of
-the resulting signature before we actually produce it!
-
-In some cases, this tool will create a *fake* signature and obtain an
-actual time-stamp token from a server in order to resolve the size of
-the data so we can better estimate the size of the real signature.
-
-We are not sure if Apple's tooling does this. But ours does and the
-extra operations can be annoying because they may require extra unlocks
-of signing keys or communications with a time-stamp token server.
-
-We can likely eliminate the extra use of the signing key for generating
-these stand-in signatures and we can probably only make 1 request to the
-time-stamp token server to obtain the size of its signatures. But we
-haven't implemented this throughout the code base yet.
-
-https://github.com/indygreg/apple-platform-rs/issues/4 and
-https://github.com/indygreg/apple-platform-rs/issues/19 track improvements here.
-
-Launch Constraints and Library Constraints
-==========================================
-
-While we support embedding launch constraints and library constraints in code
-signatures, there's a lot about these constraints we don't yet fully understand.
-For example, there are ``ccat``, ``comp``, and ``vers`` fields in the encoded
-data whose purpose we haven't figured out yet.
-
-We suspect that use of constraints can result in invalid signatures in some
-cases. If using this feature, it would be wise to compare signatures against
-Apple's tooling to ensure things behave similarly.
-
-Long Tail of Random Discrepancies from Apple's Tooling
-======================================================
-
-Apple's code signature format is really, really complex. There are tons of
-data structures and fields with complex values.
-
-There is likely a long tail of minor differences in implementation that
-result in variations between the behavior of our implementation and Apple's.
-
-In general, we consider differences in behavior in our implementation to
-be bugs worth filing. Please follow the instructions at
-:ref:`apple_codesign_debugging` to file GitHub issues with meaningful
-details to debug the differences!
-
-Known areas where discrepancies are likely include:
-
-* The *code requirements* expression embedded into Mach-O binaries. We attempt
- to derive one based on the signing key. The expression may not be exactly what
- Apple's tools derive automatically. We consider this a bug.
-* Executable segment flags and code signing flags. The exact logic for
- determining what flags to set when is complex. In general, we consider
- differences in behavior here to be bugs.
-* Size of embedded signatures. You often need to estimate the size of the produced
- embedded signature before signing because the signature encapsulates its own
- size. Our estimation method varies from Apple's and can result in signatures
- with more or less padded null bytes. This difference should be mostly harmless.
- Improvements to make our signatures use fewer wasteful extra padding are
- appreciated.
diff --git a/vendor/apple-codesign/docs/apple_codesign_rcodesign.rst b/vendor/apple-codesign/docs/apple_codesign_rcodesign.rst
deleted file mode 100644
index d2a2e50..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_rcodesign.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-.. _apple_codesign_rcodesign:
-
-===================
-Using ``rcodesign``
-===================
-
-The ``rcodesign`` executable provided by this project provides a command
-mechanism to interact with Apple code signing.
-
-.. toctree::
- :maxdepth: 2
-
- apple_codesign_rcodesign_signing
- apple_codesign_rcodesign_notarizing
- apple_codesign_rcodesign_config_files
- apple_codesign_settings_scope
diff --git a/vendor/apple-codesign/docs/apple_codesign_rcodesign_config_files.rst b/vendor/apple-codesign/docs/apple_codesign_rcodesign_config_files.rst
deleted file mode 100644
index 54727da..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_rcodesign_config_files.rst
+++ /dev/null
@@ -1,435 +0,0 @@
-.. _apple_codesign_config_files:
-
-=================================
-``rcodesign`` Configuration Files
-=================================
-
-``rcodesign`` supports TOML configuration files.
-
-.. _apple_codesign_config_files_loading_behavior:
-
-File Loading Behavior
-=====================
-
-``rcodesign`` will automatically load configuration files in the
-following order:
-
-#. An ``rcodesign.toml`` file in the user's configuration directory.
- (``$XDG_CONFIG_HOME/rcodesign/`` or ``$HOME/.config/rcodesign/`` on
- Linux, ``FOLDERID_RoamingAppData/rcodesign/`` on Windows, and
- ``$HOME/Library/Application Support/rcodesign/`` on macOS.)
-#. An ``rcodesign.toml`` in the directory ``rcodesign`` was invoked
- from.
-
-The ``-C`` / ``--config-file`` global CLI argument forcefully loads
-an alternative config file. If specified, the default configuration
-files are not loaded.
-
-.. _apple_codesign_config_files_environment_variables:
-
-Config Settings From Environment Variables
-==========================================
-
-Every config setting can also be set via an environment variable.
-
-Environment variables beginning with ``RCODESIGN_`` are mapped to
-configuration settings. Dots (``.``) in config settings names are
-converted to underscores (``_``) in environment variable names.
-
-Profile names are not included in the environment variable name.
-
-For example, for the config setting ``foo.bar`` corresponds to the environment
-variable ``RCODESIGN_FOO_BAR``.
-
-.. _apple_codesign_config_files_setting_precedence:
-
-Config Setting Precedence
-=========================
-
-Configuration settings are loaded from multiple sources and last write
-wins. Configurations are loaded in the following order:
-
-1. Configuration files (the default file search paths or the explicit
- ``-C`` / ``--config-file`` file).
-2. Environment variables.
-3. CLI arguments.
-
-In other words, explicit takes precedence over implicit.
-
-Configuration sources are merged. Simple scalars and arrays are replaced.
-Tables/dicts are union merged (each key is merged independently).
-
-.. _apple_codesign_config_files_toml_structure:
-
-TOML Structure
-==============
-
-Configuration files are `TOML <https://toml.io/>`_.
-
-Top-level keys/sections in config files correspond to named *profiles*.
-
-.. code-block:: toml
-
- # A profile named "default"
- [default]
- foo = "bar"
-
- # A profile named "test"
- [test]
- foo = "baz"
-
-There are two special named profiles with special semantics:
-
-``global``
- Settings in this profile override explicitly set settings in other profiles.
- If a value is set in this section it applies, well, globally to the entire
- file.
-
-``default``
- Settings in this profile are inherited by all other profiles. Unlike
- ``[global]``, settings in this profile can be overwritten by other
- sections/profiles.
-
-The default loaded profile is ``default``. An alternative profile can be
-selected using the ``-P`` / ``--profile`` CLI argument.
-
-Within each profile are TOML tables/dicts/maps/sections roughly corresponding
-to per-command settings. The following sub-sections denote those keys.
-
-``sign`` Command Settings
--------------------------
-
-The ``sign`` table denotes settings for the ``rcodesign sign`` command.
-
-This table can have the following keys:
-
-``signer``
- Denotes the key/certificate used for signing. Is an instance of the
- :ref:`apple_codesign_rcodesign_config_files_signer` data structure.
-
- If not specified, ad-hoc code signing is performed.
-
-``path``
- A table of per-path signing settings.
-
- Keys are paths/scopes the settings apply to. Values are instances of the
- :ref:`apple_codesign_rcodesign_config_files_path_settings` data structure.
-
-.. code-block:: toml
-
- [default.sign]
- # Sign with a smartcard certificate at slot 9c.
- signer.smartcard = { slot = "9c" }
-
- # Sign the path at `Contents/MacOS/extra-binary` with a custom entitlements
- # plist.
- [default.sign.path."Contents/MacOS/extra-binary"]
- entitlements_xml_file = "extra-binary-entitlements.plist"
-
- # Enable the hardened runtime flag on the `Contents/MacOS/secure-binary`
- # Mach-O binary.
- [default.sign.path."Contents/MacOS/secure-binary"]
- code_signature_flags = ["runtime"]
-
- # Skip signing the nested `Electron Framework.framework` bundle.
- [default.sign.path."Contents/Frameworks/Electron Framework.framework/**"]
- exclude = true
-
-``remote-sign`` Command Settings
---------------------------------
-
-The ``remote-sign`` table denotes settings for the ``rcodesign remote-sign``
-command.
-
-This table can have the following keys:
-
-``signer``
- Denotes the key/certificate used for signing. Is an instance of the
- :ref:`apple_codesign_rcodesign_config_files_signer` data structure.
-
-.. code-block:: toml
-
- # Attempt to remote sign using a certificate in the macOS keychain with the
- # specified SHA-256 digest.
- [default.remote-sign]
- signer.macos_keychain = { sha256_fingerprint = "deadbeef..." }
-
-.. _apple_codesign_rcodesign_config_files_data_structures:
-
-Config Data Structures
-======================
-
-.. _apple_codesign_rcodesign_config_files_signer:
-
-Signer
-------
-
-A *signer* denotes a source for a private signing key and its public
-certificate(s).
-
-Specific flavors of signer sources are defined in the sections below.
-
-Typically you define a single source. However, multiple signer sources
-can be combined and are effectively unioned together in an undefined order.
-
-Smartcard Source
-^^^^^^^^^^^^^^^^
-
-The ``signer.smartcard`` key declares a key/certificate source in a smartcard,
-like a YubiKey.
-
-This key is a table/dict/map with the following keys:
-
-``slot``
- The smartcard slot name.
-
- 9c is the slot typically reserved for code signing. But other slots can
- be used.
-
- Run ``rcodesign smartcard-scan`` to see available certificates in your
- smartcard.
-
-``pin``
- PIN string used to unlock the certificate.
-
- The smartcard slot settings may require a PIN to unlock the slot for key
- operations. If this is the case, this setting can be defined to provide said
- PIN.
-
- If not defined and a PIN is required, you will be prompted for the PIN as
- necessary.
-
-.. code-block:: toml
-
- [default.sign]
-
- # Sign using the certificate in slot 9c. Prompt for PIN as necessary.
- signer.smartcard = { slot = "9c" }
-
- # Sign using the certificate in slot 9c and use the specified PIN value
- # instead of prompting.
- signer.smartcard = { slot = "9c", pin = "123456" }
-
-.. important::
-
- The PIN is a secret and storing it in the config file in plain text can be
- dangerous. You may want to consider passing the PIN via an environment
- variable instead.
-
-MacOS KeyChain Source
-^^^^^^^^^^^^^^^^^^^^^
-
-The ``signer.macos_keychain`` key declares a key/certificate source in a macOS
-Keychain.
-
-This key is a table/dict/map with the following keys:
-
-``domains``
- Array of strings denoting the Keychain *domains* to search.
-
- Valid values are ``user``, ``system``, ``common``, ``dynamic``.
-
- The default is ``["user"]``.
-
-``sha256_fingerprint``
- SHA-256 fingerprint of the certificate to use.
-
- You can find these by running ``rcodesign keychain-print-certificates``,
- locating the certificate you want to use, and copying the ``SHA-256
- fingerprint`` value.
-
- Strings should be 64 characters long.
-
-.. code-block:: toml
-
- [default.sign]
- # Try to use a certificate in the user keychain having a SHA-256 fingerprint
- # of ``deadbeef...``.
- signer.macos_keychain = { sha256_fingerprint = "deadbeef..." }
-
-PKCS#12 / P12 / PFX
-^^^^^^^^^^^^^^^^^^^
-
-The ``signer.p12`` key declares a key/certificate source in a PKCS#12 / P12 /
-PFX file. These files commonly have the extensions ``.pfx`` and ``.p12``.
-
-This key is a table/dict/map with the following keys:
-
-``path``
- Path to the PKCS#12 / P12 / PFX file to load.
-
-``password``
- Password to use to open the file.
-
-``password_path``
- Path to a file containing the password to use.
-
-If a password is not specified, you will be prompted to enter a password.
-
-Examples:
-
-.. code-block:: toml
-
- [default.sign]
-
- # Load the key/certificates from the file `signing.p12`. Don't supply
- # a password.
- signer.p12 = { path = "signing.p12" }
-
- # Same as the above but provide the path to a file containing the password.
- signer.p12 = { path = "signing.p12", "password_path" = "path/to/password/file" }
-
-PEM Encoded Files Source
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-The ``signer.pem`` key declares key/certificate sources in PEM encoded
-files.
-
-PEM files are text files with base64 content surrounded by
-``-----BEGIN CERTIFICATE-----``, ``-----BEGIN PRIVATE KEY-----``, etc. Common
-filename extensions are ``.pem``, ``.crt``, and ``.key``.
-
-This key is a table/dict/map with the following keys:
-
-``files``
- Array of paths to PEM files.
-
-.. code-block:: toml
-
- [default.sign]
- signer.pem.files = ["cert.crt", "key.key"]
-
-DER Encoded Certificate Source
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-The ``signer.certificate_der_files`` key declares DER encoded X.509 public
-certificates to load from files.
-
-.. code-block:: toml
-
- signer.certificate_der_files = ["cert1.crt", "cert2.crt"]
-
-Remote Code Signer Source
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-The ``signer.remote`` key declares a remote signing source.
-
-This source engages the :ref:`apple_codesign_remote_signing` feature and
-delegates code signing to a remote peer.
-
-This key is a table/dict/map with the following keys:
-
-``url``
- URL of a remote code signing relay server.
-
- Leave blank to use the default.
-
-``public_key``
- Base64 encoded public key data used to encrypt a message to the remote
- signer.
-
-``public_key_pem_path``
- File containing PEM encoded public key data used to encrypt a message to
- the remote signer.
-
-``shared_secret``
- A shared secret value (i.e. a password/passphrase) used to encrypt a message
- to the remote signer.
-
-Communication between initiating and signer peers is sent through a *relay
-server*. All messages are encrypted in a way that the relay server cannot read
-them.
-
-Messages are encrypted either by using public key encryption (recommended) or a
-shared secret value.
-
-If using public key encryption, the public key data likely begins with ``MII``.
-
-Windows Store Signer Source
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-The ``signer.windows_store`` key declares key/certificate sources in the Windows
-certificate store.
-
-This key is a table/dict/map with the following keys:
-
-``stores``
- Array of strings denoting Windows Store names.
-
- Valid values are ``user``, ``machine``, and ``service``.
-
- Defaults to ``["user"]``.
-
-``sha1_fingerprint``
- SHA-1 fingerprint of certificate in store to use.
-
-.. _apple_codesign_rcodesign_config_files_path_settings:
-
-Path Signing Settings
----------------------
-
-This table/dict/map defines a collection of signing settings that apply to
-a path or set of paths defined by a matching expression.
-
-This table consists of the following keys:
-
-``binary_identifier``
- Binary identifier for Mach-O binaries.
-
- This will typically be derived automatically using reasonable heuristics
- (mainly the file name). But it can be forced to a specific value using this
- setting.
-
- Note: it is possible to produce invalid bundle signatures when the identifier
- is manually set.
-
-``code_requirements_file``
- Path to a file containing a code signing requirements expression.
-
- The requirements must be compiled to the binary form. Use the ``csreq``
- tool to do this from a macOS machine.
-
-``code_signature_flags``
- Array of flags to add to the code signature.
-
-``digests``
- Array of content digests to include in signatures.
-
- Typically reasonable defaults are derived automatically based on the
- targeting settings of the signed binary / bundle. But specific digests
- can be forced using this setting.
-
- If specifying multiple digests, ``sha1`` should be the first or signatures
- may not be valid on older operating systems.
-
-``entitlements_xml_file``
- Path to a file containing plist XML entitlements to embed in a binary.
-
-``info_plist_file``
- Path to an ``Info.plist`` file whose contents to capture in the code signature.
-
- The ``Info.plist`` is typically found automatically when signing bundles.
- When signing standalone Mach-O binaries you may need to provide it
- explicitly.
-
-``launch_constraints_self_file``
- Path to a plist - either XML or binary - containing launch constraints to
- impose on the current executable.
-
-``launch_constraints_parent_file``
- Path to a plist - either XML or binary - containing launch constraints to
- impose on the parent process.
-
-``launch_constraints_responsible_file``
- Path to a plist - either XML or binary - containing launch constraints to
- impose on the responsible process.
-
-``library_constraints_file``
- Path to a plist - either XML or binary - containing constraints to
- impose on loaded libraries.
-
-``runtime_version``
- Apple operating system version representing the minimum version this binary
- can run on.
-
- This is typically derived automatically from metadata in the Mach-O binary.
diff --git a/vendor/apple-codesign/docs/apple_codesign_rcodesign_notarizing.rst b/vendor/apple-codesign/docs/apple_codesign_rcodesign_notarizing.rst
deleted file mode 100644
index 43f7b99..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_rcodesign_notarizing.rst
+++ /dev/null
@@ -1,189 +0,0 @@
-.. _apple_codesign_rcodesign_notarizing:
-
-==========================================
-Notarizing and Stapling with ``rcodesign``
-==========================================
-
-Submit Notarizations with ``notary-submit``
-===========================================
-
-You can notarize a signed asset via ``rcodesign notary-submit``.
-
-Notarization requires an App Store Connect API Key. See
-:ref:`apple_codesign_app_store_connect_api_key` for instructions on how
-to obtain one.
-
-Assuming you used ``rcodesign encode-app-store-connect-api-key`` to produce
-a JSON file with all the API Key information, simply specify ``--api-key-file``
-to define the path to this JSON file.
-
-To notarize an already signed asset::
-
- rcodesign notary-submit \
- --api-key-file ~/.appstoreconnect/key.json \
- path/to/file/to/notarize
-
-By default ``notarize-submit`` just uploads the asset to Apple. To wait
-on its notarization result, add ``--wait``::
-
- rcodesign notary-submit \
- --api-key-file ~/.appstoreconnect/key.json \
- --wait \
- path/to/file/to/notarize
-
-Or to wait and automatically staple the file if notarization was successful::
-
- rcodesign notary-submit \
- --api-key-file ~/.appstoreconnect/key.json \
- --staple \
- path/to/file/to/notarize
-
-Stapling With ``staple``
-========================
-
-If an asset was already notarized, you can attempt to *staple* (read: attach)
-the *notarization ticket* to that entity via the ``staple`` command::
-
- rcodesign staple path/to/file/to/staple
-
-.. tip::
-
- It is possible to staple any asset, not just those notarized by you.
-
-Checking on Submitted Notarizations
-===================================
-
-Notarization is an asynchronous process: you first submit an asset to Apple then
-you wait for an indefinite amount of time (often a few dozen seconds) for
-Apple's servers to scan the asset and issue a notarization ticket.
-
-If a notarization operation is interrupted or if you want to check on its
-status, there are a few support commands to query Apple's servers.
-
-``notary-list`` will list the most recent submitted notarization requests.
-This command will print a list of submission IDs, dates, and a brief status
-of each one.::
-
- rcodesign notary-list --api-key-file ~/.appstoreconnect/key.json
-
-``notary-wait`` can be used to wait on a previously submitted notarization
-request to finish::
-
- rcodesign notary-wait \
- --api-key-file ~/.appstoreconnect/key.json \
- <submission ID>
-
-Here, ``<submission ID>`` is an identifier issued by Apple and printed when
-running ``rcodesign notary-list`` or ``rcodesign notary-submit``.
-
-``notary-log`` can be used to retrieve the notarization log for a submission
-identifier::
-
- rcodesign notary-log \
- --api-key-file ~/.appstoreconnect/key.json \
- <submission ID>
-
-.. _apple_codesign_notarization_problems:
-
-Common Notarization Problems
-============================
-
-Notarization can fail for a myriad of reasons. On software that hasn't been
-successfully notarized before and on untested release pipeline, notarization
-failures before success are somewhat expected.
-
-Apple's requirements for notarization are enumerated at
-`Notarizing macOS software before distribution <https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution>`_.
-
-The sections below document common notarization failures and how to mitigate
-them. They somewhat mirror Apple's official guidance at
-`Resolving common notarization issues <https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues>`_,
-which we highly recommend you read before this documentation.
-
-.. _apple_codesign_notarization_for_notarization:
-
-Using `sign --for-notarization`
--------------------------------
-
-The ``rcodesign sign`` command has a ``--for-notarization`` argument that
-attempts to engage *Apple notarization compatibility mode*.
-
-When this flag is used:
-
-* The signing configuration is validated for notarization compatibility.
-* Signing settings are automatically changed to help ensure notarization compatibility.
-
-This flag is best effort. If you encounter notarization failures when using
-this flag that you think could be automatically detected or prevented,
-please consider filing a bug report.
-
-Usage example::
-
- rcodesign sign \
- --for-notarization \
- --pem-source developer-id-application.pem \
- MyApp.app
-
-.. _apple_codesign_notarization_problem_apple_first:
-
-Notarize with Apple Tooling First
----------------------------------
-
-For applications that haven't been notarized before or when debugging issues
-with notarization, we highly recommend using Apple's official tooling and
-workflows for notarizing from a macOS machine before attempting to debug
-notarization with ``rcodesign``.
-
-This is because notarization and its errors can be challenging to work through.
-Having an existence proof that a piece of software can be notarized with Apple's
-tooling proves that software is capable of passing notarization. It means that
-failures in ``rcodesign`` notarization are due to invoking ``rcodesign``
-incorrectly or due to a bug in ``rcodesign``.
-
-We highly recommend reading Apple's notarization documentation (linked above)
-when debugging notarization failures.
-
-.. _apple_codesign_notarization_problem_hardened_runtime:
-
-Hardened Runtime Not Enabled
-----------------------------
-
-The hardened runtime needs to be enabled to pass notarization. If you don't
-have the hardened runtime enabled, notarization has been known to fail with
-the error: ``The executable does not have the hardened runtime enabled.``
-
-To enable the hardened runtime with ``rcodesign sign``, the ``runtime``
-code signature flag must be enabled via the ``--code-signature-flags`` argument.
-e.g.::
-
- rcodesign sign \
- --code-signature-flags runtime \
- MyApp.app
-
-``--code-signature-flags`` only applies to the _main_ entity being signed by
-default. If you are signing an application bundle with multiple binaries, for
-example, you will need to use the _scoped_ syntax to ``--code-signature-flags``
-to specify code signature flags for each additional path being signed. e.g.::
-
- rcodesign sign \
- --code-signature-flags runtime \
- --code-signature-flags Contents/MacOS/additional-binary:runtime \
- MyApp.app
-
-For complex bundles consisting of several binaries or nested bundles, this
-can grow quite cumbersome and it is easy to forget to annotate a binary,
-especially if new files appear in the bundles. For complex signing scenarios,
-we recommend using :ref:`configuration files <apple_codesign_config_files>` to
-define the signing settings.
-
-.. _apple_codesign_notarization_problem_signing_key:
-
-Incorrect Signing Certificate
------------------------------
-
-Another common notarization problem is not signing with an Apple issued signing
-certificate or not using the appropriate certificate for signing a particular
-entity.
-
-See Apple's `Use a valid Developer ID certificate <https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087721>`_
-for more.
diff --git a/vendor/apple-codesign/docs/apple_codesign_rcodesign_signing.rst b/vendor/apple-codesign/docs/apple_codesign_rcodesign_signing.rst
deleted file mode 100644
index 5616b91..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_rcodesign_signing.rst
+++ /dev/null
@@ -1,55 +0,0 @@
-.. _apple_codesign_rcodesign_signing:
-
-===============================
-Signing with ``rcodesign sign``
-===============================
-
-The ``rcodesign sign`` command is used to sign a filesystem path.
-
-If you simply ``rcodesign sign <path>``, it will attempt to create an ad-hoc
-signature (read: no code signing certificate), rewriting the file/directory
-in place. Arguments like ``--p12-file``, ``pem-file``, and ``--smartcard-slot``
-can be used to sign with a code signing certificate/key.
-
-Nested Signing By Default
-=========================
-
-One of the areas where ``rcodesign sign`` varies from Apple's ``codesign`` is
-that we recursively sign entities by default. e.g. if you sign a bundle, we'll
-recursively sign nested bundles/frameworks and Mach-O binaries inside that bundle
-unless told otherwise.
-
-Unlike Apple's ``codesign``, ``rcodesign`` has a signing settings mechanism
-that allows you to scope settings to particular paths. This gives you low-level
-control over how every binary, bundle, and even individual Macho-O within a
-universal Macho-O binary are signed. Whereas ``codesign`` requires N invocations
-with N different settings configurations, ``rcodesign`` can perform the same
-operation in a single invocation.
-
-Simple Examples
-===============
-
-To sign a Mach-O executable::
-
- rcodesign sign \
- --p12-file developer-id.p12 --p12-password-file ~/.certificate-password \
- --code-signature-flags runtime \
- path/to/executable
-
-To sign an ``.app`` bundle (and all Mach-O binaries inside)::
-
- rcodesign sign \
- --p12-file developer-id.p12 --p12-password-file ~/.certificate-password \
- path/to/My.app
-
-To sign a DMG image::
-
- rcodesign sign \
- --p12-file developer-id.p12 --p12-password-file ~/.certificate-password \
- path/to/app.dmg
-
-To sign a ``.pkg`` installer::
-
- rcodesign sign \
- --p12-file developer-id-installer.p12 --p12-password-file ~/.certificate-password \
- path/to/installer.pkg
\ No newline at end of file
diff --git a/vendor/apple-codesign/docs/apple_codesign_remote_signing.rst b/vendor/apple-codesign/docs/apple_codesign_remote_signing.rst
deleted file mode 100644
index 8a36aea..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_remote_signing.rst
+++ /dev/null
@@ -1,352 +0,0 @@
-.. _apple_codesign_remote_signing:
-
-===================
-Remote Code Signing
-===================
-
-This project has support for *remote signing*. This is a feature where
-cryptographic signature operations (requiring access to the private key)
-are delegated to a remote machine.
-
-From a high level, two machines establish a secure communications bridge with
-each other through a central server. The *initiating* machine starts signing
-operations like normal. But when it gets to an operation that requires producing
-a cryptographic signature, it sends an end-to-end encrypted message to the
-bound *signer* peer with the message to sign. The *signer* then uses its
-private key to create a signature, which it sends back to the *initiator*,
-who incorporates it into the code signature.
-
-Remote signing is essentially peer-to-peer, not client-server. The central
-server exists for relaying encrypted messages between peers and not for
-performing signing operations itself. Each signing *session* is ephemeral
-and short-lived. Since the signing keys are offline by default and a human must
-take action to join a signing session and use the signing keys, remote signing
-is theoretically more secure than solutions like giving a (CI) machine
-unlimited access to a code signing certificate or HSM.
-
-Remote signing is intended for use cases where the machine initiating signing
-must not or can not have access to the private key material or unlimited
-access to it. Popular scenarios include:
-
-* CI environments where you don't want a CI worker to have unlimited access
- to the signing key because CI workers are notoriously difficult to secure.
- (If someone can run arbitrary jobs on your CI they can likely exfiltrate any
- CI secrets with ease.)
-* When hardware security devices are used and machines initiating the signing
- don't have direct access to this device. Think a remote CI machine or
- coworker wanting to sign with a certificate in a YubiKey or HSM whose
- access is entrusted to a specific person (or group of people in the case of
- an HSM).
-
-.. important::
-
- This feature is considered alpha and will likely change in future versions.
-
-.. danger::
-
- The custom cryptosystem for remote signing has not yet undergone an audit.
- The end-to-end message encryption and tampering resistance claims we've
- made may be undermined by weaknesses in the design of the cryptosystem and
- its implementation and interaction in code.
-
- In other words, use this feature at your own risk.
-
- `Issue 5 <https://github.com/indygreg/apple-platform-rs/issues/5>`_ tracks
- performing an audit of this feature.
-
-How It Works
-============
-
-A full overview of the protocol and cryptography involved is available at
-:ref:`apple_codesign_remote_signing_protocol` and you can read more about the
-design and security at :ref:`apple_codesign_remote_signing_design`.
-
-From a high-level, signing operations involve 2 parties:
-
-* The *initiator* of the signing request. This is the entity that wants
- something to be signed but doesn't having the signing certificate / key.
-* The *signer*. This is the entity who has access to the private signing key.
-
-The signing procedure is essentially:
-
-1. *Initiator* opens a persistent websocket to a central server and publishes
- details about that session and how to connect to it.
-2. *Signer* follows the instructions from *initiator* and joins the *signing
- session* by opening a websocket to the same server as the *initiator*.
- Cryptography is employed to derive encryption keys so all subsequently
- exchanged messages are end-to-end encrypted, preventing the server or any
- privileged network actors from eavesdropping on signing operations or forging
- a signing request.
-3. *Initiator* sends a request to *signer* asking them to sign a message.
-4. *Signer* inspects the request and issues a cryptographic signature, which it
- sends back to *initiator*.
-5. Steps 3-4 are repeated as long as necessary.
-
-Using
-=====
-
-The *initiator* begins a remote signing *session* via ``rcodesign sign
---remote-signer``. (Some additional arguments are required - see below.)
-
-This command will print out an ``rcodesign`` command that the *signer* must
-subsequently run to *join* the signing session. e.g.::
-
- $ rcodesign sign --remote-signer --remote-shared-secret-env SHARED_SECRET
- ...
- connecting to wss://ws.codesign.gregoryszorc.com/
- session successfully created on server
- Run the following command to join this signing session:
-
- rcodesign remote-sign gm1zaGFyZWRzZWNyZXQwg...
-
- (waiting for remote signer to join)
-
-At this point, that long opaque string - which we call a *session join string* -
-needs to be copied or entered on the *signer*. e.g.::
-
- $ rcodesign remote-sign --p12-file developer_id.p12 --remote-shared-secret-env SHARED_SECRET \
- gm1zaGFyZWRzZWNyZXQwg...
-
-If everything goes according to plan, the 2 processes will communicate with
-each other and *initiator* will delegate all of its signing operations to
-*signer*, who will issue cryptographic signatures which it sends back to the
-*initiator*.
-
-.. _apple_codesign_remote_signing_session_agreement:
-
-Session Agreement
-=================
-
-Remote signing currently requires that the *initiator* and *signer* exchange
-and agree about *something* before signing operations. This ahead-of-time
-exchange improves the security of signing operations by helping to prevent
-signers from creating unwanted signatures.
-
-The sections below detail the different types of agreement and how they are
-used.
-
-Public Key Agreement
-====================
-
-.. important::
-
- This is the most secure and preferred method to use.
-
-In this operating mode, the *signer* possesses a private key that can decrypt
-messages. When the *initiator* begins a signing operation, it encrypts a message
-that only the *signer*'s private key can decrypt. This encrypted message is
-encapsulated in the *session join string* exchanged between the *initiator* and
-*signer*.
-
-This mode can be activated by passing one of the following arguments defining
-the public key:
-
-``--remote-public-key``
- Accepts base64 encoded public key data.
-
- Specifically, the value is the DER encoded SubjectPublicKeyInfo (SPKI)
- data structure defined by RFC 5280.
-
-``--remote-public-key-pem-file``
- The path to a file containing the PEM encoded public key data.
-
- The file can begin with ``-----BEGIN PUBLIC KEY-----`` or
- ``-----BEGIN CERTIFICATE-----``. The former defines just the SPKI data
- structure. The latter an X.509 certificate (which has the SPKI data
- inside of it).
-
-Both the public key and certificate data can be obtained by running the
-``rcodesign analyze-certificate`` command against a (code signing) certificate.
-
-The *signer* needs to use the corresponding private key specified by the
-*initiator* in order to join the signing session. By default, ``rcodesign
-remote-sign`` attempts to use the in-use code signing certificate for
-decryption.
-
-So, an end-to-end workflow might look like the following:
-
-1. Run ``rcodesign analyze-certificate`` and locate the
- ``-----BEGIN PUBLIC KEY-----`` block.
-2. Save this to a file, ``signing_public_key.pem``. You can check this file into
- source control - the contents aren't secret.
-3. On the initiator, run ``rcodesign sign --remote-signer
- --remote-public-key-pem-file signing_public_key.pem /path/to/input
- /path/to/output``.
-4. On the signer, run ``rcodesign remote-sign --smartcard-slot 9c
- ``<session join string>``.
-
-We believe this method to be the most secure for establishing sessions because:
-
-* The state required to bootstrap the secure session is encrypted and can only
- be decrypted by the private key it is encrypted for. If you are practicing
- proper key management, there is exactly 1 copy of the private key and access
- to the private key is limited. This means you need access to the private key
- in order to compromise the security of the signing session.
-* The session ID is encrypted and can't be discovered if the session join string
- is observed. This eliminates a denial of service vector.
-
-Shared Secret Agreement
-=======================
-
-.. important::
-
- This method is less secure than the preferred *public key agreement* method.
-
-In this operating mode, *initiator* and *signer* agree on some shared secret
-value. A password, passphrase, or some random value, such as a type 4 UUID.
-
-This mode is activated by passing one of the following arguments defining the
-shared secret:
-
-``--remote-shared-secret-env``
- Defines the environment variable holding the value of a shared secret.
-
-``--remote-shared-secret``
- Accepts the raw shared secret string.
-
- This method is not very secure since the secret value is captured in plain
- text in process arguments!
-
-An end-to-end workflow might look like the following:
-
-1. A secure, random password is generated using a password manager.
-2. The secret value is stored in a password manager, registered as a CI secret,
- etc.
-3. The initiator runs ``rcodesign sign --remote-signer --remote-shared-secret-env
- REMOTE_SIGNING_SECRET /path/to/input /path/to/output``.
-4. The signer runs ``rcodesign remote-sign --remote-shared-secret-env
- REMOTE_SIGNING_SECRET --smartcard-slot 9c``.
-
-Important security considerations:
-
-* Anybody who obtains the shared password could coerce the signer into signing
- unwanted content.
-* Weak password will undermine guarantees of secure message exchange and could
- make it easier to decrypt or forge communications.
-
-Because the password exists in multiple locations, must be known by both
-parties, and the process for generating it are not well defined, the overall
-security of this solution is not as strong as the preferred *public key
-agreement* method. However, this method is easier to use and may be preferred
-by some users.
-
-.. _apple_codesign_remote_signing_github_actions:
-
-Using with GitHub Actions
-=========================
-
-It is pretty simple to initiate remote code signing from GitHub Actions! In
-fact, this scenario is one of the primary use cases for the design of the
-feature.
-
-Here are the general steps.
-
-Configuring a Workflow / Actions
---------------------------------
-
-First, export the public key data of the signing certificate to a file
-checked into source control. Use ``rcodesign analyze-certificate`` and
-copy the ``-----BEGIN PUBLIC KEY----`` block to a file in your
-repository. e.g. https://github.com/indygreg/apple-platform-rs/blob/main/ci/developer-id-application.pem
-defines the ``Developer ID Application`` public key data for the maintainer
-of this project.
-
-.. note::
-
- The public key data is included in the code signatures embedded in signed
- artifacts so there is generally not a concern with making the public key
- data widely available in the repository.
-
-Next, create a GitHub workflow or action that invokes ``rcodesign sign``.
-
-The `indygreg/apple-code-sign-action <https://github.com/indygreg/apple-code-sign-action/>`_
-action provides a turnkey way to do this. But implementing this action yourself isn't
-too much work either! See
-https://github.com/indygreg/apple-platform-rs/blob/main/.github/workflows/sign-apple-exe.yml
-for an example of such a workflow. ()This particular workflow is using
-``on.workflow_dispatch`` so the workflow is only triggered manually. See
-the `workflow_dispatch documentation <https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch>`_
-and `Manually running a workflow <https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow>`_
-docs for more.)
-
-.. important::
-
- A manually triggered workflow is strongly recommended because a signer must
- take manual action to perform remote signing and an automated trigger will
- likely hang unless a person is around to attend to it.
-
-.. important::
-
- For security reasons, you should set ``timeout-minutes`` on either the job
- or step initiating remote signing to limit how long a signer will wait.
-
-The important steps in a remote signing action/workflow are:
-
-1. Securely obtain ``rcodesign``. We recommend downloading a release artifact
- from https://github.com/indygreg/apple-platform-rs/releases and pinning/verifying
- the SHA-256 digest on download.
-2. Download the artifact you want signed. The
- `Download workflow artifact <https://github.com/marketplace/actions/download-workflow-artifact>`_
- action can be useful for downloading artifacts from other workflows in the
- current repository (since the official ``download-artifact`` action limits
- you to artifacts in the current workflow).
-3. Invoke ``rcodesign sign --remote-signer
- --remote-public-key-pem-file path/to/public_key.pem``.
-4. Do something with the signed result (like upload it as an artifact).
-
-Running the Workflow / Action
------------------------------
-
-Now that you have a GitHub workflow or action in place, here's how you use it.
-
-If you followed the recommendations from above, the workflow is manually
-triggered via ``on.workflow_dispatch``. You can trigger the workflow via
-the GitHub web UI or via API. For API, the path of least resistance is likely
-the ``gh`` `GitHub CLI <https://cli.github.com/>`_ tool. e.g.::
-
- gh workflow run sign-apple-exe.yml \
- --ref ci-main \
- -f workflow=rcodesign.yml \
- -f run_id=2214520041 \
- -f artifact=exe-rcodesign-macos-universal \
- -f exe_name=rcodesign
-
-If your workflow is highly parameterized (like this one), you may want to
-script its invocation to make it more turnkey.
-
-When ``rcodesign sign --remote-signer`` runs in GitHub Actions, it will print
-instructions on how to join the signing session. You will need to follow
-these instructions in a timely manner to complete the code signing operation.
-
-Here is what you are looking for in the job output:
-
-.. image:: apple_codesign_actions_sjs_join.png
- :alt: Screenshot of GitHub Actions run showing session join string
-
-Then, simply follow instructions on the machine with the signing key
-to commence signing!
-
-.. important::
-
- When you view the logs of a running GitHub Actions job, only the output
- from after the point you started viewing them is visible. This means that
- if you are *too late* you may not see the printed instructions for joining
- the signing session!
-
- There are definitely some mitigations we can take for this. For the moment,
- you need to be quick to open the job output in your browser. Or you can do
- things like add a ``sleep`` before running ``rcodesign sign``.
-
-If all goes according to plan, you should see progress being printed
-both in the signing process and from the near real time output from
-GitHub Actions.
-
-Here is the output from the GitHub Actions (Linux) machine:
-
-.. image:: apple_codesign_actions_initiator_output.png
- :alt: Signing output from GitHub Actions worker
-
-And from the signing Windows machine using a YubiKey for signing:
-
-.. image:: apple_codesign_actions_signer_output.png
- :alt: Signing output from signing machine
diff --git a/vendor/apple-codesign/docs/apple_codesign_remote_signing_design.rst b/vendor/apple-codesign/docs/apple_codesign_remote_signing_design.rst
deleted file mode 100644
index bb5f298..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_remote_signing_design.rst
+++ /dev/null
@@ -1,195 +0,0 @@
-.. _apple_codesign_remote_signing_design:
-
-======================================================
-Remote Code Signing Design and Security Considerations
-======================================================
-
-Design Goals and Constraints
-============================
-
-The design of remote signing is influenced with the following primary goals in
-mind:
-
-* The initiating machine MUST NOT have direct access to the private signing
- key. Ever. The private key (or ability to create signatures with it) is only
- ever in possession of the signer.
-* The private key cannot be used without the signer's knowledge (and optional
- consent to each use).
-* The initiating machine must be able to run remotely / non-interactively.
-
-We also imposed the following constraints when considering designs:
-
-* The initiating machine is partially trusted. We assume that if you trust the
- initiating machine to invoke a signing operation then you trust that machine
- to e.g. not lie about the signing requests it subsequently presents to the
- signer.
-* We should place minimal trust in any 3rd party servers or machines. Assume
- all 3rd parties are malicious and will attempt to coerce signers into signing
- arbitrary content.
-* 3rd party servers should have access to as little information about signing
- activity as possible. e.g. 3rd party servers should not be able to observe
- the messages that are signed, the produced signatures, or the certificates
- used to sign. They may observe details that leak through side channels, such
- as the number of messages exchanged and the sizes of encrypted ciphertexts.
-* We assume the existence of an out-of-band side-channel for 2 peers to exchange
- information at signing time. This means we require some synchronous activity
- by the signer in order to fulfill signing requests. (The signer isn't just
- running an always-running server that responds to signing requests.)
-
-Threat Models
-=============
-
-The following threat models dictate some design choices:
-
-* A malicious brokering server or man-in-the-middle could coerce the signer into
- signing unwanted content.
-* A malicious 3rd party could disrupt signing operations by sending garbage
- messages to the brokering server, either in general or directed at established
- sessions. i.e. DoS against the server.
-* A malicious brokering server or man-in-the-middle could fulfill signature
- requests using the *wrong* certificate.
-
-If signing sessions were conducted without any prior knowledge of the peer,
-neither peer would be able to trust or authenticate the other. You could
-securely exchange end-to-end encrypted messages with a peer. But the *initiator*
-wouldn't be able to answer the question *is this signed by who I want it to be
-signed by*. And more importantly, the *signer* wouldn't be able to answer
-*do I trust the initiator to send me content that I want to sign*.
-
-You can't establish a trust relationship without a trust anchor. **So in order
-to establish trust we require that peers share pre-existing knowledge of the
-other before signing operations.** The exact mechanism can vary. But *some*
-pre-existing knowledge needs to be conveyed to the other peer in order to serve
-as a trust anchor.
-
-Since all designs rule out the possibility of the private key being directly
-accessed or used by the *initiator*, the next best attack vector is tricking
-the *signer* into signing untrusted/malicious content.
-
-The easiest way to conduct this attack is for a malicious server or
-man-in-the-middle to intercept communications and/or issue a malicious signing
-request. There are a few mitigations for this.
-
-First, *signers* must have presence in order to create signatures. When signers
-go offline, they can't produce signatures. So attacks against signers must occur
-when the signer is online.
-
-Second, we employ end-to-end encryption of peer-to-peer messages using
-ephemeral encryption keys unique to the session and logically derived from a
-pre-existing trust anchor. A malicious 3rd party would need access to data
-never transmitted in plaintext through the server in order to decrypt messages
-or issue fake/malicious messages.
-
-Security Analysis in the Bigger Picture
-=======================================
-
-When considering the overall security of remote code signing, we have to
-consider the broader ecosystem in which it exists.
-
-Without remote code signing, the following are all commonly true:
-
-* Signing keys are copied to multiple machines to make it easier to access
- them.
-* Signing keys are made available as secrets on CI workers.
-* Access to perform operations on the signing key is always on. e.g.
- anybody who can talk to the HSM can create a signature.
-* Security conscious people (those who want to minimize risk for private
- keys) need to impose a more complicated release pipeline - one that
- typically entails copying assets to a separate machine, signing them,
- then copying elsewhere. These steps are often tedious and effectively
- constitute a barrier to good security hygiene.
-
-There are general principles of private key management:
-
-* You should have as few copies of the private key as possible. Ideally 1.
-* Keys should be as short lived as possible or access to them should be
- limited in time duration.
-
-Traditional solutions to code signing violate these principles because
-there's not an easy-to-use / viable alternative. So in the absence of
-remote code signing, commonly practiced code signing key management is
-generally not great.
-
-We believe that our design of remote code signing is intrinsically more
-secure than what is commonly practiced because:
-
-* The signer in possession of the private key must be present. There is
- no unlimited access to the private key outside an active signing session.
-* You can have exactly 1 copy of the private key without compromising on
- usability. The urge to make copies to streamline CI/CD is largely mitigated
- via an easy-to-use remote signing UI.
-
-In addition, the design and implementation of the relay server further
-bolsters security by:
-
-* Purging sessions after a maximum time to live (measured in minutes).
-* Refusing to allow N>2 peers from sending messages to a session.
-* Requiring active presence for message exchange. The server doesn't store
- a copy of relayed signing messages so there isn't a potential for someone
- to deposit a malicious message for later retrieval.
-
-And these security properties are delivered without even factoring in
-end-to-end message encryption! The end-to-end encryption is effectively
-protections against a malicious server or man-in-the-middle. These are
-arguably necessary protections - especially when using a server hosted by
-an (untrusted) 3rd party. But for scenarios where you run your own server
-and you trust the network, end-to-end encryption isn't buying you much beyond
-what signer presence requirements and server design already deliver.
-
-Default Remote Code Signing Server
-==================================
-
-By default, this project uses the remote code signing server at
-``wss://ws.codesign.gregoryszorc.com/``.
-
-This service is operated by the maintainer of this project and is provided
-for free for use by the community. However, there is no formal or legal
-agreement around the availability of its service or its operation.
-
-The service is hosted on AWS and uses API Gateway + Lambda + DynamoDB
-and should be highly reliable, as these services rarely experience outages.
-
-The :ref:`apple_codesign_remote_signing_protocol` and implementation of the
-server have been purposefully designed to be respectful of privacy of its
-users.
-
-Meaningful messages between clients are end-to-end encrypted and the server
-is unable to determine the contents of those messages. The server only has
-access to protocol-level details, such as which APIs are being invoked and
-the sizes of the payloads.
-
-The server does have access to client IPs and any additional metadata
-in HTTP requests and websocket frames. However, IPs or other identifying
-information is not read by our custom code powering the websocket server or
-retained in any logs to the best of our knowledge. (We believe user data
-to be toxic and don't want anything to do with it.)
-
-Some metrics to monitor the health of the service and help prevent abuse
-are recorded. These include the counts of different API invocations and
-the sizes of message payloads.
-
-The code powering the server and the Terraform for deploying it on AWS
-are open source and available to audit. See
-:ref:`apple_codesign_remote_signing_running_your_own_server` for details.
-Of course, there's no way to prove that ``ws.codesign.gregoryszorc.com``
-is running the same configuration as the provided open source code. You
-*just* have to trust that the maintainer of this project values the privacy
-of his users.
-
-.. _apple_codesign_remote_signing_running_your_own_server:
-
-Running Your Own Server
-=======================
-
-If you are unable or unwilling to use the default remote signing server
-operated by the maintainer of this project, it is possible to deploy your
-own server instance.
-
-The source code for the server and a Terraform module for deploying it into
-AWS are available in this repository in the
-``terraform-modules/remote-code-signing`` directory. The canonical location
-is https://github.com/indygreg/apple-platform-rs/tree/main/terraform-modules/remote-code-signing.
-
-See its README for instructions on how to use. Once deployed at a different
-hostname, you'll need to provide the ``--remote-signing-url`` argument to
-relevant commands to override the default signing server URL.
diff --git a/vendor/apple-codesign/docs/apple_codesign_remote_signing_protocol.rst b/vendor/apple-codesign/docs/apple_codesign_remote_signing_protocol.rst
deleted file mode 100644
index 4cd3e1f..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_remote_signing_protocol.rst
+++ /dev/null
@@ -1,836 +0,0 @@
-.. _apple_codesign_remote_signing_protocol:
-
-============================
-Remote Code Signing Protocol
-============================
-
-Overview
-========
-
-The remote signing protocol facilitates the cryptographic signing of messages
-involving 2 discrete network peers.
-
-The peer that wants something signed is the **initiator**.
-
-The peer with access to the signing key that produces cryptographic
-signatures is the **signer**.
-
-Peers establish persistent websocket connections to a central server to
-enable them to speak with each through firewalls and NATs.
-
-Peers register an ephemeral *session* with the server, which is essentially
-a binding between 2 connected websocket clients.
-
-Peers derive session-specific encryption keys using mutually agreed upon
-ahead of time data. They then relay end-to-end encrypted messages through
-the central server and perform cryptographic signing operations.
-
-Wire Protocol
-=============
-
-The protocol entails the exchange of JSON encoded objects via websockets.
-
-The JSON objects sent from clients to the server have the following keys:
-
-``request_id``
- (string) (required) A unique identifier for this request.
-
-``api``
- (string) (required) The name of the API / method to invoke on the server.
-
-``payload``
- (object) (optional) Parameters passed to this API invocation.
-
-The JSON objects sent from servers to clients have the following keys:
-
-``request_id``
- (string) (optional) Echo of ``request_id`` from the message that generated
- this one. The value could be unknown to the receiver if this message was
- generated from the other peer in the session.
-
-``type``
- (string) (required) The message type.
-
-``ttl``
- (number) (optional) Integer number of seconds remaining before the session
- expires and will be automatically deleted by the server.
-
-``payload``
- (object) (optional) Payload further describing this message.
-
-All other fields in the top-level object are reserved for future use.
-
-Messages sent from the client to server ALWAYS result in the server responding
-to that API request.
-
-It is also possible for servers to send messages to clients asynchronously
-of any client-initiated message.
-
-Initial Connection Protocol
-===========================
-
-When a client connects to the server, it SHOULD issue a ``hello`` API
-message and wait for the server's response.
-
-If the response contains a *message of the day* string, it MUST be displayed
-to the end-user.
-
-Clients SHOULD also make a best effort attempt to validate the server's
-advertised capabilities and make a determination about compatibility and
-error or print warnings if incompatibility is detected.
-
-.. _apple_codesign_remote_signing_sessions:
-
-Session Negotiation
-===================
-
-The *initiator* and *signer* pair with each other by forming a *session*.
-
-From the server's perspective, a *session* is an opaque identifier string
-with associated state, such as the unique websocket connection IDs of the
-*initiator* and *signer* clients.
-
-Sessions are ephemeral and expire automatically after a duration specified
-by the initiating client. (The server can impose a maximum duration to prevent
-service abuse.)
-
-Sessions are generally created by the *initiator*.
-
-The *initiator* creates a unique session ID, ``SessionId``. ``SessionId`` MUST
-be randomly chosen. It SHOULD have sufficient entropy to prevent server-side
-collisions. The use of type 4 UUIDs for session IDs is recommended.
-
-Once a server-side session is created, the *initiator* then shares a
-*session join string* with the signer via an out-of-band mechanism.
-See :ref:`apple_codesign_remote_session_join_strings` for more.
-
-At this point, mechanisms diverge based on the session joining mechanism
-employed. But generally speaking, the *signer* sends a
-:ref:`apple_codesign_remote_api_client_join_session` to the server
-to register itself as the other peer in the session. At this point, both
-peers derive encryption keys and communicate with each other by issuing
-:ref:`apple_codesign_remote_api_client_send_message` messages. See
-:ref:`apple_codesign_remote_signing_protocol_encrypted_protocol` for more.
-
-.. _apple_codesign_remote_session_join_strings:
-
-Session Join Strings
-====================
-
-The *initiator* and *signer* need to leverage an out-of-band mechanism for
-communicating metadata with each other in order to join a server-established
-session. There are various potential solutions for this and we've purposefully
-designed the mechanism to be extensible.
-
-Generically, the mechanism to join a session is expressed through a
-**session join string**, or SJS.
-
-The SJS is ultimately a CBOR encoded array of length 2. The array's elements
-are:
-
-* (string) The scheme being used.
-* (varied) The payload for that scheme.
-
-But to end-users it is an opaque string.
-
-The SJS can be encoded as:
-
-* Base64 using the RFC 3548 *URL safe* character set with optional ``=``
- padding.
-* PEM using ``SESSION JOIN STRING`` as the armoring tag.
-
-In general, the *session join string* is shared out-of-band with the other
-peer, who uses it to join the session.
-
-In general, *session join strings* are designed such that a 3rd party
-becoming aware of the SJS will not jeopardize the security of the current or
-future signing operations. However, denial of service could occur if the SJS
-exposes the session ID and a 3rd party joins the session before the *intended*
-peer.
-
-The following sections denote the defined *session join string* schemes.
-Sections names are the ``scheme`` value.
-
-``publickey0``
---------------
-
-The ``publickey0`` session joining mechanism relies on public key cryptography
-to authenticate the 2nd peer in a session by leveraging knowledge of the
-2nd peer's public encryption key.
-
-The initiating peer, ``A``, MUST know the public key of the joining peer,
-``B``.
-
-``A`` generates a random value at least 32 bytes long, ``ChallengeSecret``.
-
-``A`` generates a new RFC 7748 Curve 25519 private key. Its private /
-public components are ``AAgreementPrivate`` and ``AAgreementPublic``,
-respectively.
-
-``A`` generates a new random 16 byte value, ``SharedAESKey``.
-
-``A`` loads the public key of ``B``, ``BPublic``. It usually does so by
-extracting the X.509 SubjectPublicKeyInfo (SPKI) (RFC 5280 Section 4.1.2.7)
-from an X.509 certificate or DER/PEM fragment of just the SPKI.
-
-``A`` prepares a plaintext message to be sent to ``B``, ``AJoinPlaintext``.
-This message is a CBOR array with the following elements:
-
-``serverUrl``
- (Index 0) (optional string) URL of the server to connect to.
-
-``sessionId``
- (Index 1) (string) The session identifier created on the server.
-
-``challenge``
- (Index 2) (bytes) The content of ``ChallengeSecret``.
-
-``agreementPublic``
- (Index 3) (bytes) ``SubjectPublicKeyInfo`` for ``AAgreementPublic``.
-
-``A`` encrypts ``AJoinPlaintext`` using AES-128 in GCM with ``SharedAESKey``,
-yielding ``AJoinCiphertext``. A 12 byte nonce is used where the bytes are all
-``0x42``. The 16 byte authentication tag is appended to the raw ciphertext
-and constitutes the final bytes of ``AJoinCiphertext``.
-
-``A`` encrypts ``SharedAESKey`` using asymmetric encryption targeting
-``BPublic``, yielding ``SharedAESCiphertext``.
-
-For RSA, OAEP padding with SHA-256 digests MUST be used.
-
-The payload of the *session join string* is a CBOR array with the following
-elements:
-
-``aes_ciphertext``
- (Index 0) (bytes) The ``SharedAESCiphertext`` generated above.
-
-``bPublic``
- (Index 1) (bytes) The SPKI describing which public key was used to
- encrypt ``SharedAESCiphertext``.
-
-``message_ciphertext``
- (Index 2) (bytes) The ``AJoinCiphertext`` generated above.
-
-So, the final *session join string* is
-``["publickey0", [SharedAESCiphertext, BSPKI, AJoinCiphertext]]``.
-
-The *session join string* is summarily CBOR and base64 encoded and made
-available to ``B``.
-
-``B`` receives and decodes the SJS.
-
-``B`` locates the decryption key from the provided SPKI structure. (``B``
-may want to impose restrictions here to prevent clients from fishing for
-specific keys.)
-
-``B`` decrypts ``SharedAESCiphertext`` using ``BPrivate``, yielding back
-``SharedAESKey``.
-
-Using ``SharedAESKey``, ``B`` verifies and decrypts ``AJoinCiphertext``,
-yielding ``AJoinPlaintext``.
-
-On success, ``B`` generates a new RFC 7748 Curve 25519 private key,
-``BAgreementPrivate`` and ``BAgreementPublic``.
-
-``B`` connects to the server and sends a
-:ref:`apple_codesign_remote_api_client_join_session` message with ``context``
-set to ``BAgreementPublic``.
-
-At this point, ``A`` and ``B`` both perform key agreement using their
-ephemeral ED25519 private key and the public key of the other peer, each
-mutually deriving ``SessionSharedKey``.
-
-At this point, the procedure described in
-:ref:`apple_codesign_remote_signing_aead_keys` is used to derive new symmetric
-encryption keys. ``ChallengeSecret`` is used as the additional value to
-derive ``IdentifierA`` and ``IdentifierB``.
-
-Security Considerations
-^^^^^^^^^^^^^^^^^^^^^^^
-
-The *session join string* consists of 2 discrete encrypted payloads and is
-generally safe against offline attacks. Unless ciphers are broken, the
-private key is required to obtain for anything beyond side-channels (like
-total payload size).
-
-``SessionId`` is encrypted, so compromise of the SJS can't easily lead to a
-DoS by an unwanted peer joining the session.
-
-The server doesn't see anything: the encrypted AES key and AES encrypted
-peer metadata are both encapsulated in the SJS. We could potentially move
-some of these to the server to reduce the length of the SJS.
-
-Open Questions for Security Audit
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-* We don't sign / HMAC the asymmetrically encrypted AES key. Nor do we
- include an IV or other prepended message. This seems to go against
- best practices. Does it matter? Does the additional layer of AEAD feeding
- into the key agreement compensate for this?
-* Is the use of a constant nonce for the ``SharedAES`` -> ``AJoinCiphertext``
- acceptable? The AES key is randomly generated and is used exactly once, so
- do the nonces even matter?
-* Is AES-128 in GCM mode a sufficient key/cipher for encrypting the main
- message?
-* We currently generate 2 distinct private keys: 1 for key agreement and 1
- for AES encryption. They are generated independently. Does this make sense
- or should perhaps HKDF be used against a common key?
-* Right now there is no explicit trust anchoring between the asymmetric
- encryption targeting ``B`` and the derived shared secret key. Should ``B``
- produce a cryptographic signature using ``BPrivate`` so ``A`` doesn't assume
- that *ability to decrypt* authenticates ``B``? Or is *ability to decrypt*
- along with the assumption that only ``B`` possesses ``agreementPublic``
- sufficient?
-
-``sharedsecret0``
------------------
-
-The ``sharedsecret0`` session joining mechanism uses SPAKE2 to derive a shared
-encryption key using an ahead-of-time mutually agreed upon shared secret,
-``SharedSecret``.
-
-The peer creating the session, henceforth ``A``, generates unique/random
-``SessionId`` and ``Identifier`` values. These values are used to construct
-the SPAKE2 identifier strings: ``A:{SessionId}:{Identifier}`` and
-``B:{SessionId}:{Identifier}``.
-
-``A`` begins SPAKE2 role A initialization using ``SharedSecret`` and role A's
-identifier string. This produces ``SpakeAInit``.
-
-``A`` calls :ref:`apple_codesign_remote_api_client_create_session` to
-register the new session with the server. Its ``context`` field is empty.
-
-The *session join string* value is a CBOR array with the following elements:
-
-``sessionId``
- (Index 0) (string) The session identifier string.
-
-``identifier``
- (Index 1) (bytes) The random ``Identifier`` value produced earlier.
-
-``spakeAInit``
- (Index 2) (bytes) The SPAKE2 Role A initialization message.
-
-The final CBOR *session join string* is
-``["sharedsecret0", [SessionId, Identifier, SpakeAInit]]``.
-
-The *session join string* is summarily CBOR and base64 encoded and made
-available to ``B``.
-
-``B`` receives and decodes the SJS.
-
-``B`` performs SPAKE2 Role B initialization, producing ``SpakeBInit``.
-
-``B`` sends a :ref:`apple_codesign_remote_api_client_join_session` message
-to the server with ``context`` set to the base64 encoding of ``SpakeBInit``.
-``SpakeBInit`` is relayed to ``A`` via the server.
-
-At this point, both ``A`` and ``B`` are able to finalize SPAKE2 using
-``SpakeBInit`` and ``SpakeAInit``, respectively. They should mutually derive
-a shared encryption key, ``SessionSharedKey``.
-
-At this point, the procedure described in
-:ref:`apple_codesign_remote_signing_aead_keys` is used to derive new symmetric
-encryption keys. ``Identifier`` is used as the additional value used to
-derive ``IdentifierA`` and ``IdentifierB``.
-
-Security Considerations
-^^^^^^^^^^^^^^^^^^^^^^^
-
-The *session join string* containing the plaintext ``SessionId``,
-``Identifier``, and ``SpakeAInit`` generally does not need to be highly
-secure or made secret.
-
-``SharedSecret`` cannot be derived from knowledge of the *session join string*.
-
-The server does not directly observe the value for ``Identifier``, only
-``SpakeBInit``. So it would need knowledge of the *session join string*
-and ``SharedSecret`` to decrypt messages.
-
-A 3rd party in a privileged network position (including the server) with
-knowledge of ``SharedSecret``, ``SessionId``, and ``Identifier`` would be
-able to decrypt and forge messages, as it would be able to derive ``RoleAKey``
-and ``RoleBKey``. So it is important to use transport-level encryption,
-a trusted server, and keep ``SharedSecret`` a secret value.
-
-Open Questions for Security Audit
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-* Is SPAKE2 the best mechanism for deriving session encryption keys from a
- shared secret?
-* Should ``SpakeAInit`` be in the *session join string* or stored on the server
- and hidden from plaintext view? What are the tradeoffs with each approach?
-* As proposed, the SPAKE2 identifier contains ``SessionId`` and yet another
- random value. That random value is not sent to the server but is possibly
- world readable in the *session join string*. Is this second source of entropy
- necessary? Does attempting to prevent the server from having access to it buy
- us any security value? Or is just the client-chosen ``SessionId`` string good
- enough?
-* The SPAKE2 specification seems to insist on the use of key confirmation
- messages. Since we're using HKDF into AEAD, which has built-in authentication,
- do we need to perform the SPAKE2 key confirmation since any failures in SPAKE2
- land would lead to AEAD failures anyway?
-* How sensitive is SPAKE2 to the entropy of ``SharedSecret``? While we want to
- encourage a relatively strong ``SharedSecret``, we can't guarantee this.
- Should we be doing e.g. PBKDF2 on ``SharedSecret`` before feeding it into
- SPAKE2 or will SPAKE2 do sufficient *key stretching* on its own?
-
-.. _apple_codesign_remote_signing_aead_keys:
-
-AEAD Key Derivation
--------------------
-
-The schemes above commonly detail the steps to enable 2 peers to mutually
-derive a session-ephemeral shared encryption key, ``SessionSharedKey``.
-
-Rather than use ``SessionSharedKey`` directly for subsequent message exchange,
-we instead derive additional keys from it for use with Authenticated Encryption
-and Additional Data (AEAD) encryption / message exchange.
-
-An identifier value is associated with peers assuming roles ``A`` (the session
-initiator) and ``B`` (the session joiner). The value is a bytes concatenation
-of:
-
-* The role name. e.g. ``A`` / ``0x41`` or ``B`` / ``0x42``.
-* A colon (``:`` / ``0x3a``)
-* The ``SessionId`` identifier, UTF-8 encoded.
-* A colon (``:`` / ``0x3a``)
-* An additional value communicated in the session join string. e.g.
- ``ChallengeSecret``.
-
-These values are known as ``IdentifierA`` and ``IdentifierB``.
-
-HKDF is used to derive new keys.
-
-Step 1 / HKDF-Extract uses an empty salt and ``SessionSharedKey`` to produce
-a pseudorandom key, ``PRK``.
-
-Step 2 / HKDF-Expand is performed twice to derive 2 new keys. The first
-invocation uses ``IdentifierA`` for ``info`` and ``32`` for ``L``, producing
-``RoleAKey``. The second invocation uses ``IdentifierB`` for ``info`` and ``32``
-for ``L``, producing ``RoleBKey``.
-
-``RoleAKey`` and ``RoleBKey`` are used to empower AEAD encryption / message
-exchange. ChaCha20+Poly1305 is used. Nonces are 12 bytes where the first 4
-bytes are a little-endian u32 counter whose initial used value is ``0`` and
-the subsequent 8 bytes are always ``0``. Additionally authenticated data
-(``AAD``) is generally not used.
-
-``RoleAKey`` is used by ``A`` to encrypt messages and by ``B`` to
-verify/decrypt messages from ``A``. ``RoleBKey`` is used by ``B`` to
-encrypt messages and by ``A`` to verify/decrypt messages from ``B``.
-
-Open Questions for Security Audit
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-* Is ChaCha20+Poly1305 a reasonable cipher choice? Or should we be using
- block ciphers (e.g. AES)?
-* Using a simple, easily guessable counter for nonces seems wrong. Using a
- random value seems more appropriate. But both parties need to know what the
- nonce we be. Do we use a random value for the nonce but encode the nonce in
- plaintext next to the exchanged ciphertext messages? Or do we need something
- else entirely?
-* We could potentially use additionally authenticated data (AAD) to encapsulate
- more details of the request, such as the request ID. Does that buy us
- security benefits?
-
-
-.. _apple_codesign_remote_signing_protocol_encrypted_protocol:
-
-Signing Protocol
-================
-
-Once 2 peers have established a session and derived encryption keys to
-facilitate end-to-end encrypted communication, they communicate with each
-other using :ref:`peer to peer messages <apple_codesign_remote_api_peer_messages>`
-by invoking the :ref:`apple_codesign_remote_api_client_send_message` API.
-
-This process generally involves a handshake:
-
-1. Both peers simultaneously send :ref:`apple_codesign_remote_api_peer_ping`
- messages.
-2. Upon receipt, each peer sends a :ref:`apple_codesign_remote_api_peer_pong`
- in response. This dance confirms peer presence and that the derived
- encryption keys work.
-3. The *initiator* sends a
- :ref:`apple_codesign_remote_api_peer_request_signing_certificate` to request
- information about the signer's public certificate. This is necessary in
- order to allow the signer to do things like estimate the sizes of signatures
- and to derive additional details needed for signing.
-4. The *signer* sends a
- :ref:`apple_codesign_remote_api_peer_signing_certificate` in response.
-
-At this point, both peers are ready to commence signing.
-
-5. The *initiator* sends a :ref:`apple_codesign_remote_api_peer_sign_request`.
-6. The *signer* receives the request, assesses it, creates a cryptographic
- signature, and sends a :ref:`apple_codesign_remote_api_peer_signature`
- in reply.
-7. Steps 5-6 are repeated as necessary.
-
-Finally,
-
-8. Either peer sends a :ref:`apple_codesign_remote_api_client_goodbye` to
- finalize the session.
-
-Client Issued Messages
-======================
-
-The following sections denote the types of messages issued from clients to
-servers.
-
-Section names denote the value of the ``api`` key in the messages.
-
-.. _apple_codesign_remote_api_client_hello:
-
-``hello``
----------
-
-Greets the server and obtains information about the server.
-
-This message type has no payload.
-
-Servers respond to this message with a
-:ref:`apple_codesign_remote_api_server_greeting`.
-
-.. _apple_codesign_remote_api_client_create_session:
-
-``create-session``
-------------------
-
-Requests the creation of a new session on the server.
-
-Sent by the *initiator* as part of session negotiation.
-
-Fields:
-
-``session_id``
- (string) (required) Unique identifier to use for this session.
-
-``ttl``
- (number) (required) Requested session duration, in seconds.
-
-``context``
- (string) (optional) Additional context to be passed to the peer when it
- joins the session.
-
-Servers SHOULD automatically expire the server-side session state after its
-TTL duration expires. Servers MAY close connections to connected clients when
-their session expires. Servers MAY impose a shorter TTL if the requested TTL
-is too long.
-
-Servers respond to this message with a
-:ref:`apple_codesign_remote_api_server_session_created`.
-
-.. _apple_codesign_remote_api_client_join_session:
-
-``join-session``
-----------------
-
-Attempts to join an existing session.
-
-Sent by the *signer* as part of session negotiation.
-
-Fields:
-
-``session_id``
- (string) (required) Identifier of session to join.
-
-``context``
- (string) (optional) Additional context to pass through to the other
- peer.
-
-Servers respond to this message with a
-:ref:`apple_codesign_remote_api_server_session_joined`.
-
-.. _apple_codesign_remote_api_client_send_message:
-
-``send-message``
-----------------
-
-Sends an (encrypted) message to the other peer in this session.
-
-Fields:
-
-``session_id``
- (string) (required) Identifier of session to use for peer lookup.
-
-``message``
- (string) (required) Base64 encoded ciphertext of an AEAD encrypted
- message to send to the peer.
-
-Server implementations MUST ensure that the client issuing this request
-are bound to the session they are attempting to send a message to.
-
-Servers react to this message by sending a
-:ref:`apple_codesign_remote_api_server_peer_message` to the other peer
-in the specified session.
-
-Servers respond to this message with a
-:ref:`apple_codesign_remote_api_server_message_sent`.
-
-.. _apple_codesign_remote_api_client_goodbye:
-
-``goodbye``
------------
-
-Indicates the client is finished and will be disconnecting.
-
-Fields:
-
-``session_id``
- (string) (required) Identifier of session to use for peer lookup.
-
-``reason``
- (string) (option) Reason the client is disconnecting.
-
-Server implementations MUST ensure that the client issuing this request
-is bound to the session they are attempting to close.
-
-Servers react to this message by sending a
-:ref:`apple_codesign_remote_api_server_session_closed` to the other peer
-in the specified session.
-
-Servers respond to this message with a
-:ref:`apple_codesign_remote_api_server_session_closed`.
-
-Server Sent Messages
-====================
-
-The following sections denote the types of messages sent from the server
-to clients.
-
-Section names denote the value of the ``type`` field in the message.
-
-.. _apple_codesign_remote_api_server_greeting:
-
-``error``
----------
-
-Conveys information about a server-side error.
-
-Could be sent in reply to any API request or sent asynchronously if some
-error occurred (such as the peer disconnecting unexpectedly).
-
-Fields:
-
-``code``
- (string) (required) Value that uniquely identifies this error type.
-
-``message``
- (string) (required) Human readable error message.
-
-``greeting``
-------------
-
-Conveys information about the server.
-
-Sent in reply to a :ref:`apple_codesign_remote_api_client_hello` request.
-
-Fields:
-
-``apis``
- (array of strings) (required) Names of APIs that the server supports.
-
-``motd``
- (string) (optional) *Message of the day* conveying messaging that the
- server operator wishes clients to know about.
-
-.. _apple_codesign_remote_api_server_session_created:
-
-``session-created``
--------------------
-
-Conveys the successful creation of a session.
-
-Sent in reply to a :ref:`apple_codesign_remote_api_client_create_session`
-request.
-
-.. _apple_codesign_remote_api_server_session_joined:
-
-``session-joined``
-------------------
-
-Conveys the successful joining into a session.
-
-Sent in reply to a :ref:`apple_codesign_remote_api_client_join_session`
-request.
-
-Sent asynchronously by servers in response to a
-:ref:`apple_codesign_remote_api_client_join_session` issued by the joining
-peer.
-
-Fields:
-
-``context``
- (string) (optional) Data from the peer required to finish initializing
- the session.
-
- If this message was sent in reply to a
- :ref:`apple_codesign_remote_api_client_join_session`, the value will be
- from the initiating peer.
-
- If this message was sent to the pre-existing peer in reaction to a
- :ref:`apple_codesign_remote_api_client_join_session`, the value will be
- from the joining peer.
-
-.. _apple_codesign_remote_api_server_message_sent:
-
-``message-sent``
-----------------
-
-Conveys the successful sending of a message to the session peer.
-
-Sent in reply to a :ref:`apple_codesign_remote_api_client_send_message`
-request.
-
-.. _apple_codesign_remote_api_server_peer_message:
-
-``peer-message``
-----------------
-
-Delivers an (encrypted) message from the peer in this session.
-
-Sent asynchronously by servers in response to a
-:ref:`apple_codesign_remote_api_client_send_message` issued by the
-other peer in a session.
-
-Fields:
-
-``message``
- (string) (required) Base64 encoded AEAD message.
-
-.. _apple_codesign_remote_api_server_session_closed:
-
-``session-closed``
-------------------
-
-Conveys that the session has been finalized and can no longer be used.
-
-Sent in reply to a :ref:`apple_codesign_remote_api_client_goodbye` request
-as well as asynchronously to the peer in its session.
-
-Fields:
-
-``reason``
- (string) (optional) Provides further context on why the session was closed.
-
-.. _apple_codesign_remote_api_peer_messages:
-
-Peer to Peer Messages
-=====================
-
-Peers within a session communicate with each other by sending and receiving
-:ref:`apple_codesign_remote_api_client_send_message` and
-:ref:`apple_codesign_remote_api_server_peer_message`, respectively.
-
-The ``message`` field denotes a base64 encoded AEAD encrypted message. The
-message consists of the ciphertext with the authentication tag appended. The
-plaintext of these messages is the JSON encoding of an object having the
-following keys:
-
-``type``
- (string) (required) The message type. This is unique message namespace from
- server-sent messages.
-
-``payload``
- (object) (optional) Payload for this message.
-
-The following sections denote the types of peer-to-peer messages. The section
-names denote the value for the ``type`` field.
-
-.. _apple_codesign_remote_api_peer_ping:
-
-``ping``
---------
-
-Check on the status of the peer.
-
-Receivers should send a :ref:`apple_codesign_remote_api_peer_pong` in response.
-
-.. _apple_codesign_remote_api_peer_pong:
-
-``pong``
---------
-
-Respond to a status check from a peer.
-
-Sent in response to a :ref:`apple_codesign_remote_api_peer_ping` message.
-
-.. _apple_codesign_remote_api_peer_request_signing_certificate:
-
-``request-signing-certificate``
--------------------------------
-
-Requests the peer to send it information about its signing certificate.
-
-Receivers should send a
-:ref:`apple_codesign_remote_api_peer_signing_certificate` in response.
-
-Should only be sent by the *initiator*.
-
-.. _apple_codesign_remote_api_peer_signing_certificate:
-
-``signing-certificate``
------------------------
-
-Describes the signing certificate(s) that is being used by the signer.
-
-Sent in response to a
-:ref:`apple_codesign_remote_api_peer_request_signing_certificate`.
-
-Fields:
-
-``certificates``
- (array of object) (required) Contains a list of signing certificates that
- will potentially be used.
-
- Each entry is an object described below.
-
- Today, there is likely a single certificate in this array. We've
- left the door open for supporting the use of multiple signing
- certificates in the future.
-
-Each entry in the ``certificatess`` array is an object with the following
-fields:
-
-``certificate``
- (string) (required) Base64 encoded DER of the public X.509 certificate.
-
-``chain``
- (array of strings) (optional) Base64 encoded DER of additional public
- X.509 certificates in the signing chain for this certificate.
-
-.. _apple_codesign_remote_api_peer_sign_request:
-
-``sign-request``
-----------------
-
-Requests the cryptographic signing of a message.
-
-Fields:
-
-``message``
- (string) (required) Base64 encoded message to be signed.
-
-.. _apple_codesign_remote_api_peer_signature:
-
-``signature``
--------------
-
-Conveys the cryptographic signature over a message.
-
-Sent in response to a
-:ref:`apple_codesign_remote_api_peer_sign_request`.
-
-Fields:
-
-``message``
- (string) (required) Base64 encoded message that was signed.
-
-``signature``
- (string) (required) Base64 encoded signature data.
-
-``algorithm_oid``
- (string) (required) Base64 encoded DER encoding of OID denoting the
- signature algorithm.
diff --git a/vendor/apple-codesign/docs/apple_codesign_settings_scope.rst b/vendor/apple-codesign/docs/apple_codesign_settings_scope.rst
deleted file mode 100644
index 8136834..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_settings_scope.rst
+++ /dev/null
@@ -1,58 +0,0 @@
-.. _apple_codesign_settings_scope:
-
-===============
-Settings Scopes
-===============
-
-Various signing settings and configuration settings can be *scoped* to a
-specific path or pattern. This is accomplished using a mini language/syntax,
-which is described by this document.
-
-A *scoping string* is syntax that denotes a path or entity to apply
-a setting to.
-
-The following *scoping string* syntax is defined:
-
-``<string>``
- e.g. ``path/to.file``. Applies to content at a given path.
-
- This is probably the most common scoping syntax.
-
- The string is a bundle-relative path to a signable entity (a Mach-O
- binary, a nested bundle, etc). e.g. ``Contents/MacOS/extra-bin``.
-
- If the path belongs to a nested bundle, settings with this scope will
- apply to all signable entities in the bundle.
-
-``main``
- Applies to the main entity being signed and to nested/children entities.
-
-``@<integer>``
- e.g. ``@0`` or ``@1``. Applies to Mach-O binaries within a universal/fat
- binary at the specified index. ``0`` means the first Mach-O in a universal
- binary.
-
-``@[cpu_type=<integer>]``
- e.g. ``@[cpu_type=7]``. Applies to a Mach-O within a universal binary targeting
- a numbered CPU architecture, using the numeric constants as defined by Mach-O.
-
-``@[cpu_type=<string>]``
- e.g. ``@[cpu_type=x86_64]``. Applies to a Mach-O within a universal binary
- targeting a CPU architecture identified by a string. See below for the set of
- recognized architecture names.
-
-``<string>@<integer>`` ``<string>@[cpu_type=<integer|string>]``
- These syntax are an extension of the ``<string>`` and various ``@*`` syntax
- above. They allow you to target a specified Mach-O binary within a universal
- Mach-O at a given path.
-
- Like the ``<string>`` syntax, if the path matches a bundle, the setting applies
- to all Mach-O binaries in that bundle.
-
-Architecture Names
-------------------
-
-* ``arm``
-* ``arm64``
-* ``arm64_32``
-* ``x86_64``
diff --git a/vendor/apple-codesign/docs/apple_codesign_smartcard.rst b/vendor/apple-codesign/docs/apple_codesign_smartcard.rst
deleted file mode 100644
index fa66907..0000000
--- a/vendor/apple-codesign/docs/apple_codesign_smartcard.rst
+++ /dev/null
@@ -1,164 +0,0 @@
-.. _apple_codesign_smartcard:
-
-==================
-Smart Card Support
-==================
-
-This project has some support for integrating with Smart Cards. This
-enables you to perform cryptographic signing using a certificate that
-is stored in a hardware device.
-
-Certificates stored this way are more secure, as it typically requires
-that a physical device be unlocked in order to use the private key. And
-access to the raw private key matter is typically not allowed.
-
-Cargo Feature
-=============
-
-Smart card integration requires the optional and disabled-by-default
-``smartcard`` Cargo feature to be enabled.
-
-On macOS and Windows, this feature should *just work*.
-
-On Linux, you'll need a package providing ``pcsclite`` installed or you may
-get a cryptic build error due to missing dependencies. On Debian based distros,
-you want to ``apt install libpcsclite1 libpcsclite-dev`` (or something of that
-nature).
-
-Limitations
-===========
-
-We currently use `yubikey.rs <https://github.com/iqlusioninc/yubikey.rs>`_ for
-smart card integration. This likely means that only YubiKeys currently work.
-
-However, we would like to switch to a more generic interface (such as
-`pcsc <https://crates.io/crates/pcsc/2.7.0>`_ in the future to allow more flexible
-usage.
-
-There is currently no support for setting the management key. If you have
-set a custom management key, you won't be able to import certificates onto
-your smart card. However, signing should still work.
-
-Validating Smart Card Integration
-=================================
-
-To see if your smart card device is recognized and certificates can be found::
-
- $ rcodesign smartcard-scan
- Device 0: Yubico YubiKey OTP+FIDO+CCID 0
- Device 0: Serial: 12345678
- Device 0: Version: 5.2.7
- Device 0: Certificate in slot Signature / 9c
- Subject CN: gps
- Issuer CN: gps
- Subject is Issuer?: true
- Team ID: <missing>
- SHA-1 fingerprint: c847e830c01845517d7e3775805ab56313aa11c8
- SHA-256 fingerprint: 7c0bc8fe1a2d7831ca0b0787dc6d5c28c6f562c2723a7eaaab42d39e7a3b7924
- Signed by Apple?: false
- Guessed Certificate Profile: none
- Is Apple Root CA?: false
- Is Apple Intermediate CA?: false
- Apple CA Extension: none
- Apple Extended Key Usage Purpose Extensions:
- Apple Code Signing Extensions:
-
-Pointing Commands at a Smart Card Certificate
-=============================================
-
-``rcodesign`` command that operate against certificates expose a
-``--smartcard-slot`` argument to specify which smartcard slot to use.
-
-Slot ``9c`` is the standard slot for holding certificates used for
-signing.
-
-To sign with your smart card certificate at slot ``9c``, do something like::
-
- rcodesign sign \
- --smartcard-slot 9c \
- path/to/entity/to/sign
-
-Smartcards often require a PIN on signing operations. You should be prompted
-for your PIN value if the signing operation is initially unauthenticated.
-
-Importing Certificates Into a Smart Card
-========================================
-
-The ``rcodesign smartcard-import`` command can be used to import an existing
-code signing certificate into your smart card.
-
-Let's assume you created an Apple code signing certificate and exported it
-to the file ``developer_id.p12``. You can import this certificate by doing
-the following::
-
- $ rcodesign smartcard-import \
- --smartcard-slot 9c \
- --p12-file developer_id.p12 --p12-password password
-
- $ rcodesign smartcard-scan
- Device 0: Yubico YubiKey OTP+FIDO+CCID 0
- Device 0: Serial: 1234567
- Device 0: Version: 5.2.7
- Device 0: Certificate in slot Signature / 9c
- Subject CN: Developer ID Application: Gregory Szorc (MK22MZP987)
- Issuer CN: Developer ID Certification Authority
- Subject is Issuer?: false
- Team ID: MK22MZP987
- SHA-1 fingerprint: 44d7155bcabf3b9a9221b01b8e198040ae04e0ad
- SHA-256 fingerprint: 8f610de4caea4bc138e85b56726ed4d330f7464d99cfa5957568904b6a6375ec
- Signed by Apple?: true
- Apple Issuing Chain:
- - Developer ID Certification Authority
- - Apple Root CA
- - Apple Root Certificate Authority
- Guessed Certificate Profile: DeveloperIdApplication
- Is Apple Root CA?: false
- Is Apple Intermediate CA?: false
- Apple CA Extension: none
- Apple Extended Key Usage Purpose Extensions:
- - 1.3.6.1.5.5.7.3.3 (CodeSigning)
- Apple Code Signing Extensions:
- - 1.2.840.113635.100.6.1.33 (DeveloperIdDate)
- - 1.2.840.113635.100.6.1.13 (DeveloperIdApplication)
-
-.. _apple_codesign_smartcard_key_generation:
-
-Creating a Certificate with a Private Key Exclusive to the Smart Card
-=====================================================================
-
-It is possible to generate a private key directly on the smart card and create
-a code signing certificate derived from this private key.
-
-Code signing certificates created this way are theoretically much more secure
-than other private key generation methods because most smart cards never allow the
-private key content to be exported/viewed. Assuming operations involving the
-private key are protected with the appropriate access protections (like pin or
-touch policies), compromise of the machine or even the smart key itself may not
-result in unwanted access to the private key.
-
-To create a code signing certificate whose private key has never left the
-smart card device itself, do something like the following.
-
-First, generate a new private key on the smart card::
-
- rcodesign smartcard-generate-key --smartcard-slot 9c
-
-Then create a certificate signing request (CSR)::
-
- rcodesign generate-certificate-signing-request \
- --smartcard-slot 9c \
- --csr-pem-file csr.pem
-
-Then follow the instructions at :ref:`apple_codesign_exchange_csr` to submit the
-CSR file to Apple and obtain a *public certificate*.
-
-Finally, import the Apple-issued public certificate into the smart card::
-
- rcodesign smartcard-import \
- --certificate-der-file developerID_application.cer \
- --existing-key \
- --smartcard-slot 9c
-
-At this point, the smart card is ready to sign using an Apple issued certificate
-and the private key never has - and probably never will - leave the smart card
-itself.
diff --git a/vendor/apple-codesign/docs/conf.py b/vendor/apple-codesign/docs/conf.py
deleted file mode 100644
index 41bf2c4..0000000
--- a/vendor/apple-codesign/docs/conf.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at https://mozilla.org/MPL/2.0/.
-
-import os
-import pathlib
-import re
-
-HERE = pathlib.Path(os.path.dirname(__file__))
-ROOT = pathlib.Path(os.path.dirname(HERE))
-
-release = "unknown"
-
-with (ROOT / "Cargo.toml").open("r") as fh:
- for line in fh:
- m = re.match('^version = "([^"]+)"', line)
- if m:
- release = m.group(1)
- break
-
-
-project = "Apple Codesign"
-copyright = "2022, Gregory Szorc"
-author = "Gregory Szorc"
-extensions = ["sphinx.ext.intersphinx"]
-templates_path = ["_templates"]
-exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
-html_theme = "alabaster"
-master_doc = "index"
-intersphinx_mapping = {
- "python": ("https://docs.python.org/3", None),
- "setuptools": ("https://setuptools.pypa.io/en/latest", None),
-}
-tags.add("apple_codesign")
diff --git a/vendor/apple-codesign/docs/index.rst b/vendor/apple-codesign/docs/index.rst
deleted file mode 100644
index 4e4e755..0000000
--- a/vendor/apple-codesign/docs/index.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-==================
-Apple Code Signing
-==================
-
-.. toctree::
- :maxdepth: 2
-
- apple_codesign
diff --git a/vendor/apple-codesign/tests/cli_tests.rs b/vendor/apple-codesign/tests/cli_tests.rs
deleted file mode 100644
index 2216671..0000000
--- a/vendor/apple-codesign/tests/cli_tests.rs
+++ /dev/null
@@ -1,290 +0,0 @@
-// This Source Code Form is subject to the terms of the Mozilla Public
-// License, v. 2.0. If a copy of the MPL was not distributed with this
-// file, You can obtain one at https://mozilla.org/MPL/2.0/.
-
-use {
- anyhow::anyhow,
- reqwest::Url,
- std::{
- io::Read,
- path::{Path, PathBuf},
- },
- trycmd_indygreg_fork::{schema::TryCmd, Error, TestCases},
-};
-
-const COREUTILS_VERSION: &str = "0.0.22";
-/// List of coreutils binaries to materialize in trycmd test environments.
-const COREUTILS_BINARIES: [&str; 11] = [
- "cat", "cp", "hashsum", "ln", "ls", "mkdir", "mv", "rm", "sort", "test", "touch",
-];
-
-const COREUTILS_ARTIFACT_URL: &str = "https://github.com/uutils/coreutils/releases/download";
-const COREUTILS_TAR_TRIPLES: [&str; 4] = [
- "aarch64-unknown-linux-gnu",
- "i686-unknown-linux-musl",
- "x86_64-apple-darwin",
- "x86_64-unknown-linux-musl",
-];
-
-const COREUTILS_ZIP_TRIPLES: [&str; 2] = ["i686-pc-windows-msvc", "x86_64-pc-windows-msvc"];
-
-/// Ensures Rust coreutils multicall binary is available.
-///
-/// Essentially runs `cargo install coreutils` into the `target/coreutils` directory
-/// for the current Cargo workspace project.
-fn ensure_coreutils_multicall() -> anyhow::Result<PathBuf> {
- let current_exe = std::env::current_exe()?;
-
- let target_dir = current_exe
- .parent()
- .ok_or_else(|| anyhow!("unable to determine current exe parent"))?
- .parent()
- .ok_or_else(|| anyhow!("unable to determine parent directory of current exe directory"))?
- .parent()
- .ok_or_else(|| anyhow!("unable to parent grandparent of current exe directory"))?;
-
- let coreutils_dir = target_dir.join("coreutils");
-
- let coreutils_bin_dir = coreutils_dir.join("bin");
-
- let multicall_bin = coreutils_bin_dir.join("coreutils");
-
- let multicall_bin = materialize_coreutils(&coreutils_dir, &multicall_bin)?;
-
- Ok(multicall_bin)
-}
-
-fn materialize_coreutils(coreutils_dir: &Path, multicall_bin: &Path) -> anyhow::Result<PathBuf> {
- let triple = if cfg!(all(target_os = "linux", target_arch = "x86")) {
- Some("i686-unknown-linux-musl")
- } else if cfg!(all(target_os = "linux", target_arch = "x86_64")) {
- Some("x86_64-unknown-linux-musl")
- } else if cfg!(all(target_os = "macos", target_arch = "x86_64")) {
- Some("x86_64-apple-darwin")
- } else if cfg!(all(target_os = "windows", target_arch = "x86")) {
- Some("i686-pc-windows-msvc")
- } else if cfg!(all(target_os = "windows", target_arch = "x86_64")) {
- Some("x86_64-pc-windows-msvc")
- } else {
- None
- };
-
- let mut multicall_bin = multicall_bin.to_path_buf();
-
- if let Some(triple) = triple {
- if triple.contains("-windows-") {
- multicall_bin.set_extension("exe");
- }
- }
-
- if multicall_bin.exists() {
- return Ok(multicall_bin);
- }
-
- match triple {
- Some(triple) => {
- let suffix = if COREUTILS_TAR_TRIPLES.contains(&triple) {
- "tar.gz"
- } else if COREUTILS_ZIP_TRIPLES.contains(&triple) {
- "zip"
- } else {
- panic!("unhandled triple")
- };
-
- let filename = multicall_bin
- .file_name()
- .unwrap()
- .to_string_lossy()
- .to_string();
-
- let exe_data = download_coreutils_artifact(triple, suffix, &filename)?;
- eprintln!("writing {}", multicall_bin.display());
-
- if let Some(parent) = multicall_bin.parent() {
- std::fs::create_dir_all(parent)?;
- }
-
- std::fs::write(&multicall_bin, exe_data)?;
- simple_file_manifest::set_executable(&mut std::fs::File::open(&multicall_bin)?)?;
-
- Ok(multicall_bin)
- }
- None => {
- let cargo_bin = std::env::var_os("CARGO")
- .ok_or_else(|| anyhow!("unable to resolve CARGO environment variable"))?;
-
- eprintln!("installing Rust coreutils to {}", coreutils_dir.display());
- let output = std::process::Command::new(cargo_bin)
- .args(vec![
- "install".to_string(),
- "--root".to_string(),
- coreutils_dir.display().to_string(),
- "--version".to_string(),
- COREUTILS_VERSION.to_string(),
- "coreutils".to_string(),
- ])
- .output()?;
-
- if !output.status.success() {
- return Err(anyhow!(
- "error installing coreutils: stdout: {}; stderr: {}",
- String::from_utf8_lossy(&output.stdout),
- String::from_utf8_lossy(&output.stderr)
- ));
- }
-
- Ok(multicall_bin)
- }
- }
-}
-
-fn download_coreutils_artifact(
- triple: &str,
- suffix: &str,
- multicall_filename: &str,
-) -> anyhow::Result<Vec<u8>> {
- let url = format!("{COREUTILS_ARTIFACT_URL}/{COREUTILS_VERSION}/coreutils-{COREUTILS_VERSION}-{triple}.{suffix}");
-
- let client = get_http_client()?;
- eprintln!("downloading {}", url);
- let mut res = client.get(url).send()?;
- let mut data = vec![];
- res.read_to_end(&mut data)?;
-
- match suffix {
- "tar.gz" => {
- eprintln!("looking for {} in tar.gz", multicall_filename);
- let d = flate2::read::GzDecoder::new(std::io::Cursor::new(data));
-
- let mut ar = tar::Archive::new(d);
-
- for entry in ar.entries()? {
- let mut entry = entry?;
- let path = entry.path()?;
-
- if !path.display().to_string().ends_with(multicall_filename) {
- continue;
- }
-
- eprintln!("extracting {} from tar.gz", path.display());
- let mut buf = vec![];
- entry.read_to_end(&mut buf)?;
-
- return Ok(buf);
- }
-
- Err(anyhow!("could not find multicall binary in archive"))
- }
- "zip" => {
- eprintln!("looking for {} in zip file", multicall_filename);
- let mut archive = zip::ZipArchive::new(std::io::Cursor::new(data))?;
-
- let archive_name = archive
- .file_names()
- .find(|f| f.ends_with(multicall_filename))
- .ok_or_else(|| anyhow!("could not find multicall binary in zip file"))?
- .to_string();
-
- eprintln!("extracting {} from zip file", archive_name);
- let mut zf = archive.by_name(&archive_name)?;
- let mut buf = vec![];
- zf.read_to_end(&mut buf)?;
-
- Ok(buf)
- }
- _ => panic!("unhandled coreutils file extension"),
- }
-}
-
-pub fn get_http_client() -> reqwest::Result<reqwest::blocking::Client> {
- let mut builder = reqwest::blocking::ClientBuilder::new();
-
- for (key, value) in std::env::vars() {
- let key = key.to_lowercase();
- if key.ends_with("_proxy") {
- let end = key.len() - "_proxy".len();
- let schema = &key[..end];
-
- if let Ok(url) = Url::parse(&value) {
- if let Some(Ok(proxy)) = match schema {
- "http" => Some(reqwest::Proxy::http(url.as_str())),
- "https" => Some(reqwest::Proxy::https(url.as_str())),
- _ => None,
- } {
- builder = builder.proxy(proxy);
- }
- }
- }
- }
-
- builder.build()
-}
-
-#[cfg(unix)]
-fn install_coreutils_bin(multicall_bin: &Path, bin: &Path) -> Result<(), std::io::Error> {
- std::os::unix::fs::symlink(multicall_bin, bin)
-}
-
-#[cfg(windows)]
-fn install_coreutils_bin(multicall_bin: &Path, bin: &Path) -> Result<(), std::io::Error> {
- std::fs::copy(multicall_bin, bin).map(|_| ())
-}
-
-/// Custom loader for .trycmd files.
-fn load_trycmd(path: &Path) -> Result<TryCmd, Error> {
- let mut cmd = TryCmd::load_trycmd(path)?;
-
- // CWD should be the crate root.
- let cwd = std::env::current_dir().map_err(Error::new)?;
-
- // We set the test to execute from a sandboxed copy of the crate root.
- // This allows tests to create their own files without disturbing the
- // source checkout.
- cmd.fs.base = Some(cwd.clone());
- cmd.fs.cwd = Some(cwd.clone());
- cmd.fs.sandbox = Some(true);
-
- Ok(cmd)
-}
-
-#[test]
-fn cli_tests() {
- let coreutils_multicall = ensure_coreutils_multicall().unwrap();
- let coreutils_bin = coreutils_multicall.parent().unwrap();
-
- let cases = TestCases::new();
-
- for bin in COREUTILS_BINARIES {
- let mut bin_path = coreutils_bin.join(bin);
- if cfg!(windows) {
- bin_path.set_extension("exe");
- }
-
- if bin_path.symlink_metadata().is_err() {
- install_coreutils_bin(&coreutils_multicall, &bin_path).unwrap();
- }
-
- cases.register_bin(bin, bin_path);
- }
-
- cases.file_extension_loader("trycmd", load_trycmd);
-
- cases.case("tests/cmd/*.trycmd").case("tests/cmd/*.toml");
-
- // Help output breaks without notarize feature.
- if cfg!(not(feature = "notarize")) {
- cases.skip("tests/cmd/encode-app-store-connect-api-key.trycmd");
- cases.skip("tests/cmd/help.trycmd");
- cases.skip("tests/cmd/notary*.trycmd");
- }
-
- // Tests with `ln -s` may not work on Windows. So just skip them.
- if cfg!(windows) {
- cases.skip("tests/cmd/sign-bundle-framework.trycmd");
- cases.skip("tests/cmd/sign-bundle-with-nested-framework.trycmd");
- cases.skip("tests/cmd/sign-bundle-electron.trycmd");
- cases.skip("tests/cmd/sign-bundle-exclude.trycmd");
- cases.skip("tests/cmd/sign-bundle-nested-symlinks.trycmd");
- cases.skip("tests/cmd/sign-bundle-symlink-overwrite.trycmd");
- }
-}
diff --git a/vendor/apple-codesign/tests/cmd/analyze-certificate.trycmd b/vendor/apple-codesign/tests/cmd/analyze-certificate.trycmd
deleted file mode 100644
index 2336f7f..0000000
--- a/vendor/apple-codesign/tests/cmd/analyze-certificate.trycmd
+++ /dev/null
@@ -1,348 +0,0 @@
-```
-$ rcodesign analyze-certificate --help
-Analyze an X.509 certificate for Apple code signing properties.
-
-Given the path to a PEM encoded X.509 certificate, this command will read the certificate and print information about it relevant to Apple code signing.
-
-The output of the command can be useful to learn about X.509 certificate extensions used by code signing certificates and to debug low-level properties related to certificates.
-
-Usage: rcodesign[EXE] analyze-certificate [OPTIONS]
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --smartcard-slot <SLOT>
- Smartcard slot number of signing certificate to use (9c is common)
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --smartcard-pin <SECRET>
- Smartcard PIN used to unlock certificate
-
- If not provided, you will be prompted for a PIN as necessary.
-
- --smartcard-pin-env <STRING>
- Environment variable holding the smartcard PIN
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --keychain-domain <DOMAIN>
- (macOS only) Keychain domain to operate on
-
- [possible values: user, system, common, dynamic]
-
- --keychain-fingerprint <SHA256 FINGERPRINT>
- (macOS only) SHA-256 fingerprint of certificate in Keychain to use
-
- --windows-store-name <STORE>
- (Windows only) Windows Store to operate on
-
- [possible values: user, machine, service]
-
- --windows-store-sha1-fingerprint <SHA1 FINGERPRINT>
- (Windows only) SHA-1 fingerprint of certificate in Windows Store to use
-
- --pem-file <PATH>
- Path to file containing PEM encoded certificate/key data
-
- --p12-file <PATH>
- Path to a .p12/PFX file containing a certificate key pair
-
- --p12-password <SECRET>
- The password to use to open the --p12-file file
-
- --p12-password-file <PATH>
- Path to file containing password for opening --p12-file file
-
- --remote-signing-url <URL>
- URL of a remote code signing server
-
- --remote-public-key <BASE64 ENCODED PUBLIC KEY>
- Base64 encoded public key data describing the signer
-
- --remote-public-key-pem-file <PATH>
- PEM encoded public key data describing the signer
-
- --remote-shared-secret <SECRET>
- Shared secret used for remote signing
-
- --remote-shared-secret-env <ENV VAR NAME>
- Environment variable holding the shared secret used for remote signing
-
- --certificate-der-file <PATH>
- Path to file containing DER encoded certificate data
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
-
-```
-$ rcodesign analyze-certificate --keychain-domain user --keychain-fingerprint fingerprint
-? 2
-error: the argument '--keychain-domain <DOMAIN>' cannot be used with '--keychain-fingerprint <SHA256 FINGERPRINT>'
-
-Usage: rcodesign[EXE] analyze-certificate --keychain-domain <DOMAIN>
-
-For more information, try '--help'.
-
-```
-
-```
-$ rcodesign analyze-certificate --p12-password foo --p12-password-file path
-? 2
-error: the argument '--p12-password <SECRET>' cannot be used with '--p12-password-file <PATH>'
-
-Usage: rcodesign[EXE] analyze-certificate --p12-password <SECRET>
-
-For more information, try '--help'.
-
-```
-
-```
-$ rcodesign analyze-certificate --remote-public-key foo --remote-public-key-pem-file path
-? 2
-error: the argument '--remote-public-key <BASE64 ENCODED PUBLIC KEY>' cannot be used with '--remote-public-key-pem-file <PATH>'
-
-Usage: rcodesign[EXE] analyze-certificate --remote-public-key <BASE64 ENCODED PUBLIC KEY>
-
-For more information, try '--help'.
-
-```
-
-```
-$ rcodesign analyze-certificate --remote-shared-secret secret --remote-shared-secret-env env
-? 2
-error: the argument '--remote-shared-secret <SECRET>' cannot be used with '--remote-shared-secret-env <ENV VAR NAME>'
-
-Usage: rcodesign[EXE] analyze-certificate --remote-shared-secret <SECRET>
-
-For more information, try '--help'.
-
-```
-
-```
-$ rcodesign analyze-certificate --der-source src/testdata/apple-signed-developer-id-application.cer
-reading DER file src/testdata/apple-signed-developer-id-application.cer
-# Certificate 0
-
-Subject CN: Developer ID Application: Gregory Szorc (MK22MZP987)
-Issuer CN: Developer ID Certification Authority
-Subject is Issuer?: false
-Team ID: MK22MZP987
-SHA-1 fingerprint: d6b1f9320ce2cc552ad34f05b7fd29a62a047e87
-SHA-256 fingerprint: 7bf474b50849b231c4524731de63fa035c434ce68589db7b3c22e3d04f1dab7e
-Not Valid Before: 2021-04-22T01:08:32+00:00
-Not Valid After: 2026-04-23T01:08:31+00:00
-Key Algorithm: RSA
-Signature Algorithm: SHA-256 with RSA encryption
-Public Key Data: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs52TZuX8/9SVXNBr6Vz5CZOmis3lCpRsSP6pKPnIfK46DlOSoob6u/wALiPKOZJOYKnnbHuJ1pjvFEHif/eJkdfovu82bwAMJnFrbCGBHmOsqfuURfc5cfaIcpred9P0mFUVpu194n74ZR2sjxJIFIMxJXgh7dSE4dKKokf/o5Orlb3d84i1/yY/ePSdnFIMotxrv0lvuZjdlIZE6ugoElueSyH1ZwF03UqQznJ1uuw1DSRyC0YD2l7paO+CKKpHAvsTSAZcj4X6qwx+aVgxiYcfl1z6nVDVv1m6+ChAOGyo06KpGPxFeON/Dp704UJyfyrRF7xDIf/Cu+2ftMlLswIDAQAB
-Signed by Apple?: true
-Apple Issuing Chain:
- - Developer ID Certification Authority
- - Apple Root CA
- - Apple Root Certificate Authority
-Guessed Certificate Profile: DeveloperIdApplication
-Is Apple Root CA?: false
-Is Apple Intermediate CA?: false
-Apple Extended Key Usage Purpose Extensions:
- - 1.3.6.1.5.5.7.3.3 (CodeSigning)
-Apple Code Signing Extensions:
- - 1.2.840.113635.100.6.1.33 (DeveloperIdDate)
- - 1.2.840.113635.100.6.1.13 (DeveloperIdApplication)
-
------BEGIN PUBLIC KEY-----
-MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs52TZuX8/9SVXNBr6Vz5
-CZOmis3lCpRsSP6pKPnIfK46DlOSoob6u/wALiPKOZJOYKnnbHuJ1pjvFEHif/eJ
-kdfovu82bwAMJnFrbCGBHmOsqfuURfc5cfaIcpred9P0mFUVpu194n74ZR2sjxJI
-FIMxJXgh7dSE4dKKokf/o5Orlb3d84i1/yY/ePSdnFIMotxrv0lvuZjdlIZE6ugo
-ElueSyH1ZwF03UqQznJ1uuw1DSRyC0YD2l7paO+CKKpHAvsTSAZcj4X6qwx+aVgx
-iYcfl1z6nVDVv1m6+ChAOGyo06KpGPxFeON/Dp704UJyfyrRF7xDIf/Cu+2ftMlL
-swIDAQAB
------END PUBLIC KEY-----
-
------BEGIN CERTIFICATE-----
-MIIFpjCCBI6gAwIBAgIIfTmR3fnRGfowDQYJKoZIhvcNAQELBQAweTEtMCsGA1UE
-AwwkRGV2ZWxvcGVyIElEIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSYwJAYDVQQL
-DB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTETMBEGA1UECgwKQXBwbGUg
-SW5jLjELMAkGA1UEBhMCVVMwHhcNMjEwNDIyMDEwODMyWhcNMjYwNDIzMDEwODMx
-WjCBlTEaMBgGCgmSJomT8ixkAQEMCk1LMjJNWlA5ODcxPTA7BgNVBAMMNERldmVs
-b3BlciBJRCBBcHBsaWNhdGlvbjogR3JlZ29yeSBTem9yYyAoTUsyMk1aUDk4Nykx
-EzARBgNVBAsMCk1LMjJNWlA5ODcxFjAUBgNVBAoMDUdyZWdvcnkgU3pvcmMxCzAJ
-BgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs52TZuX8
-/9SVXNBr6Vz5CZOmis3lCpRsSP6pKPnIfK46DlOSoob6u/wALiPKOZJOYKnnbHuJ
-1pjvFEHif/eJkdfovu82bwAMJnFrbCGBHmOsqfuURfc5cfaIcpred9P0mFUVpu19
-4n74ZR2sjxJIFIMxJXgh7dSE4dKKokf/o5Orlb3d84i1/yY/ePSdnFIMotxrv0lv
-uZjdlIZE6ugoElueSyH1ZwF03UqQznJ1uuw1DSRyC0YD2l7paO+CKKpHAvsTSAZc
-j4X6qwx+aVgxiYcfl1z6nVDVv1m6+ChAOGyo06KpGPxFeON/Dp704UJyfyrRF7xD
-If/Cu+2ftMlLswIDAQABo4ICEzCCAg8wDAYDVR0TAQH/BAIwADAfBgNVHSMEGDAW
-gBRXF+2iz9x8mKEQ4Py+hy0s8uMXVDBABggrBgEFBQcBAQQ0MDIwMAYIKwYBBQUH
-MAGGJGh0dHA6Ly9vY3NwLmFwcGxlLmNvbS9vY3NwMDMtZGV2aWQwNjCCAR0GA1Ud
-IASCARQwggEQMIIBDAYJKoZIhvdjZAUBMIH+MIHDBggrBgEFBQcCAjCBtgyBs1Jl
-bGlhbmNlIG9uIHRoaXMgY2VydGlmaWNhdGUgYnkgYW55IHBhcnR5IGFzc3VtZXMg
-YWNjZXB0YW5jZSBvZiB0aGUgdGhlbiBhcHBsaWNhYmxlIHN0YW5kYXJkIHRlcm1z
-IGFuZCBjb25kaXRpb25zIG9mIHVzZSwgY2VydGlmaWNhdGUgcG9saWN5IGFuZCBj
-ZXJ0aWZpY2F0aW9uIHByYWN0aWNlIHN0YXRlbWVudHMuMDYGCCsGAQUFBwIBFipo
-dHRwOi8vd3d3LmFwcGxlLmNvbS9jZXJ0aWZpY2F0ZWF1dGhvcml0eS8wFgYDVR0l
-AQH/BAwwCgYIKwYBBQUHAwMwHQYDVR0OBBYEFJWxErKAkOUMhUHKIfurpWswr6OM
-MA4GA1UdDwEB/wQEAwIHgDAfBgoqhkiG92NkBgEhBBEMDzIwMjEwNDIyMDAwMDAw
-WjATBgoqhkiG92NkBgENAQH/BAIFADANBgkqhkiG9w0BAQsFAAOCAQEAGpHZefiX
-l5n79MZM8GFVs5oGJOdspORMFa9SxWa59LaBAWpkUbVtgic25CQtaIZddb7vgMpq
-uCqQIFiYz3MfdaPgKMqM1MGNVOw14Z4nM1z9CgLctBS7ie2ScKf9nJnbLCm2qCeS
-5A13mUagb7lwdzI3Z5G6JP3+ea46Kg0bY9c4TCAZr8v/vpBWktnBimuQ9Rz3PPTT
-HPCYuazSBKos0g3gNLgzGdQyZLDvyfyqJ3SvIAvGBYC1SxoGUB8RBeZuYLRQOylA
-72DfBd+bt1wASaSNTosSAauo3Sd3cvIwAtlTtWAT3ISZ36ygnbgwfaarz8Q04MDc
-4Y74EVg2IvFyLA==
------END CERTIFICATE-----
-
-
-```
-
-```
-$ rcodesign analyze-certificate --pem-source src/testdata/apple-signed-developer-id-application.pem
-reading PEM data from src/testdata/apple-signed-developer-id-application.pem
-# Certificate 0
-
-Subject CN: Developer ID Application: Gregory Szorc (MK22MZP987)
-Issuer CN: Developer ID Certification Authority
-Subject is Issuer?: false
-Team ID: MK22MZP987
-SHA-1 fingerprint: d6b1f9320ce2cc552ad34f05b7fd29a62a047e87
-SHA-256 fingerprint: 7bf474b50849b231c4524731de63fa035c434ce68589db7b3c22e3d04f1dab7e
-Not Valid Before: 2021-04-22T01:08:32+00:00
-Not Valid After: 2026-04-23T01:08:31+00:00
-Key Algorithm: RSA
-Signature Algorithm: SHA-256 with RSA encryption
-Public Key Data: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs52TZuX8/9SVXNBr6Vz5CZOmis3lCpRsSP6pKPnIfK46DlOSoob6u/wALiPKOZJOYKnnbHuJ1pjvFEHif/eJkdfovu82bwAMJnFrbCGBHmOsqfuURfc5cfaIcpred9P0mFUVpu194n74ZR2sjxJIFIMxJXgh7dSE4dKKokf/o5Orlb3d84i1/yY/ePSdnFIMotxrv0lvuZjdlIZE6ugoElueSyH1ZwF03UqQznJ1uuw1DSRyC0YD2l7paO+CKKpHAvsTSAZcj4X6qwx+aVgxiYcfl1z6nVDVv1m6+ChAOGyo06KpGPxFeON/Dp704UJyfyrRF7xDIf/Cu+2ftMlLswIDAQAB
-Signed by Apple?: true
-Apple Issuing Chain:
- - Developer ID Certification Authority
- - Apple Root CA
- - Apple Root Certificate Authority
-Guessed Certificate Profile: DeveloperIdApplication
-Is Apple Root CA?: false
-Is Apple Intermediate CA?: false
-Apple Extended Key Usage Purpose Extensions:
- - 1.3.6.1.5.5.7.3.3 (CodeSigning)
-Apple Code Signing Extensions:
- - 1.2.840.113635.100.6.1.33 (DeveloperIdDate)
- - 1.2.840.113635.100.6.1.13 (DeveloperIdApplication)
-
------BEGIN PUBLIC KEY-----
-MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs52TZuX8/9SVXNBr6Vz5
-CZOmis3lCpRsSP6pKPnIfK46DlOSoob6u/wALiPKOZJOYKnnbHuJ1pjvFEHif/eJ
-kdfovu82bwAMJnFrbCGBHmOsqfuURfc5cfaIcpred9P0mFUVpu194n74ZR2sjxJI
-FIMxJXgh7dSE4dKKokf/o5Orlb3d84i1/yY/ePSdnFIMotxrv0lvuZjdlIZE6ugo
-ElueSyH1ZwF03UqQznJ1uuw1DSRyC0YD2l7paO+CKKpHAvsTSAZcj4X6qwx+aVgx
-iYcfl1z6nVDVv1m6+ChAOGyo06KpGPxFeON/Dp704UJyfyrRF7xDIf/Cu+2ftMlL
-swIDAQAB
------END PUBLIC KEY-----
-
------BEGIN CERTIFICATE-----
-MIIFpjCCBI6gAwIBAgIIfTmR3fnRGfowDQYJKoZIhvcNAQELBQAweTEtMCsGA1UE
-AwwkRGV2ZWxvcGVyIElEIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSYwJAYDVQQL
-DB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTETMBEGA1UECgwKQXBwbGUg
-SW5jLjELMAkGA1UEBhMCVVMwHhcNMjEwNDIyMDEwODMyWhcNMjYwNDIzMDEwODMx
-WjCBlTEaMBgGCgmSJomT8ixkAQEMCk1LMjJNWlA5ODcxPTA7BgNVBAMMNERldmVs
-b3BlciBJRCBBcHBsaWNhdGlvbjogR3JlZ29yeSBTem9yYyAoTUsyMk1aUDk4Nykx
-EzARBgNVBAsMCk1LMjJNWlA5ODcxFjAUBgNVBAoMDUdyZWdvcnkgU3pvcmMxCzAJ
-BgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs52TZuX8
-/9SVXNBr6Vz5CZOmis3lCpRsSP6pKPnIfK46DlOSoob6u/wALiPKOZJOYKnnbHuJ
-1pjvFEHif/eJkdfovu82bwAMJnFrbCGBHmOsqfuURfc5cfaIcpred9P0mFUVpu19
-4n74ZR2sjxJIFIMxJXgh7dSE4dKKokf/o5Orlb3d84i1/yY/ePSdnFIMotxrv0lv
-uZjdlIZE6ugoElueSyH1ZwF03UqQznJ1uuw1DSRyC0YD2l7paO+CKKpHAvsTSAZc
-j4X6qwx+aVgxiYcfl1z6nVDVv1m6+ChAOGyo06KpGPxFeON/Dp704UJyfyrRF7xD
-If/Cu+2ftMlLswIDAQABo4ICEzCCAg8wDAYDVR0TAQH/BAIwADAfBgNVHSMEGDAW
-gBRXF+2iz9x8mKEQ4Py+hy0s8uMXVDBABggrBgEFBQcBAQQ0MDIwMAYIKwYBBQUH
-MAGGJGh0dHA6Ly9vY3NwLmFwcGxlLmNvbS9vY3NwMDMtZGV2aWQwNjCCAR0GA1Ud
-IASCARQwggEQMIIBDAYJKoZIhvdjZAUBMIH+MIHDBggrBgEFBQcCAjCBtgyBs1Jl
-bGlhbmNlIG9uIHRoaXMgY2VydGlmaWNhdGUgYnkgYW55IHBhcnR5IGFzc3VtZXMg
-YWNjZXB0YW5jZSBvZiB0aGUgdGhlbiBhcHBsaWNhYmxlIHN0YW5kYXJkIHRlcm1z
-IGFuZCBjb25kaXRpb25zIG9mIHVzZSwgY2VydGlmaWNhdGUgcG9saWN5IGFuZCBj
-ZXJ0aWZpY2F0aW9uIHByYWN0aWNlIHN0YXRlbWVudHMuMDYGCCsGAQUFBwIBFipo
-dHRwOi8vd3d3LmFwcGxlLmNvbS9jZXJ0aWZpY2F0ZWF1dGhvcml0eS8wFgYDVR0l
-AQH/BAwwCgYIKwYBBQUHAwMwHQYDVR0OBBYEFJWxErKAkOUMhUHKIfurpWswr6OM
-MA4GA1UdDwEB/wQEAwIHgDAfBgoqhkiG92NkBgEhBBEMDzIwMjEwNDIyMDAwMDAw
-WjATBgoqhkiG92NkBgENAQH/BAIFADANBgkqhkiG9w0BAQsFAAOCAQEAGpHZefiX
-l5n79MZM8GFVs5oGJOdspORMFa9SxWa59LaBAWpkUbVtgic25CQtaIZddb7vgMpq
-uCqQIFiYz3MfdaPgKMqM1MGNVOw14Z4nM1z9CgLctBS7ie2ScKf9nJnbLCm2qCeS
-5A13mUagb7lwdzI3Z5G6JP3+ea46Kg0bY9c4TCAZr8v/vpBWktnBimuQ9Rz3PPTT
-HPCYuazSBKos0g3gNLgzGdQyZLDvyfyqJ3SvIAvGBYC1SxoGUB8RBeZuYLRQOylA
-72DfBd+bt1wASaSNTosSAauo3Sd3cvIwAtlTtWAT3ISZ36ygnbgwfaarz8Q04MDc
-4Y74EVg2IvFyLA==
------END CERTIFICATE-----
-
-
-```
-
-```
-$ rcodesign analyze-certificate --p12-file src/apple-codesign-testuser.p12 --p12-password incorrect
-? 1
-Error: incorrect password given when decrypting PFX data
-
-$ rcodesign analyze-certificate --p12-file src/apple-codesign-testuser.p12 --p12-password password123
-# Certificate 0
-
-Subject CN: Test User
-Issuer CN: Test User
-Subject is Issuer?: true
-Team ID: <missing>
-SHA-1 fingerprint: b1c7f1807bb9eb61ab3d13b0ffc12a363311dbd2
-SHA-256 fingerprint: f2e635017332bcb96b44f8cc65c07f5141f5932599e706f66023314adf8b9d07
-Not Valid Before: 2021-04-22T21:51:28+00:00
-Not Valid After: 2022-04-22T21:51:28+00:00
-Key Algorithm: RSA
-Signature Algorithm: SHA-256 with RSA encryption
-Public Key Data: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApp0SntOtH7dgkQ1jIKrzgjW58VxqbRXpz/5sQp6AIulGS87IWMjLd/9k0+3X9+fKypMPADnbMb6CX3KgbKCJSNc2SI/g4tVg1HTo2wuVNpe1o/LaKMRZY+u/KvZBsN6gAtspayZAxYCSBxEQ7JndHq57Z+ZK4o/yT5LftOJ+LpJQk7pBMPbW6uHmYZWOMH119i7VBEtBNZhwwloAX7DlFGWBG3NtJ4HBTxwSvNkCNG04a+HK9OFuSO1vfYy5/6OqmQ5sKjgkEBWrud9TPp5hWCzrx0cGGYWprMDQ6ix2pCVp9dToecYiZOpNhgSAxioHU317M4Pf060tDUmsBBnykQIDAQAB
-Signed by Apple?: false
-Guessed Certificate Profile: none
-Is Apple Root CA?: false
-Is Apple Intermediate CA?: false
-Apple Extended Key Usage Purpose Extensions:
- - 1.3.6.1.5.5.7.3.3 (CodeSigning)
-Apple Code Signing Extensions:
-
------BEGIN PUBLIC KEY-----
-MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApp0SntOtH7dgkQ1jIKrz
-gjW58VxqbRXpz/5sQp6AIulGS87IWMjLd/9k0+3X9+fKypMPADnbMb6CX3KgbKCJ
-SNc2SI/g4tVg1HTo2wuVNpe1o/LaKMRZY+u/KvZBsN6gAtspayZAxYCSBxEQ7Jnd
-Hq57Z+ZK4o/yT5LftOJ+LpJQk7pBMPbW6uHmYZWOMH119i7VBEtBNZhwwloAX7Dl
-FGWBG3NtJ4HBTxwSvNkCNG04a+HK9OFuSO1vfYy5/6OqmQ5sKjgkEBWrud9TPp5h
-WCzrx0cGGYWprMDQ6ix2pCVp9dToecYiZOpNhgSAxioHU317M4Pf060tDUmsBBny
-kQIDAQAB
------END PUBLIC KEY-----
-
------BEGIN CERTIFICATE-----
-MIIDWTCCAkGgAwIBAgIBATANBgkqhkiG9w0BAQsFADBaMRIwEAYDVQQDDAlUZXN0
-IFVzZXIxEzARBgNVBAoMClB5T3hpZGl6ZXIxCzAJBgNVBAYTAlVTMSIwIAYJKoZI
-hvcNAQkBFhNzb21lb25lQGV4YW1wbGUuY29tMB4XDTIxMDQyMjIxNTEyOFoXDTIy
-MDQyMjIxNTEyOFowWjESMBAGA1UEAwwJVGVzdCBVc2VyMRMwEQYDVQQKDApQeU94
-aWRpemVyMQswCQYDVQQGEwJVUzEiMCAGCSqGSIb3DQEJARYTc29tZW9uZUBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKadEp7TrR+3
-YJENYyCq84I1ufFcam0V6c/+bEKegCLpRkvOyFjIy3f/ZNPt1/fnysqTDwA52zG+
-gl9yoGygiUjXNkiP4OLVYNR06NsLlTaXtaPy2ijEWWPrvyr2QbDeoALbKWsmQMWA
-kgcREOyZ3R6ue2fmSuKP8k+S37Tifi6SUJO6QTD21urh5mGVjjB9dfYu1QRLQTWY
-cMJaAF+w5RRlgRtzbSeBwU8cErzZAjRtOGvhyvThbkjtb32Muf+jqpkObCo4JBAV
-q7nfUz6eYVgs68dHBhmFqazA0OosdqQlafXU6HnGImTqTYYEgMYqB1N9ezOD39Ot
-LQ1JrAQZ8pECAwEAAaMqMCgwDgYDVR0PAQH/BAQDAgeAMBYGA1UdJQEB/wQMMAoG
-CCsGAQUFBwMDMA0GCSqGSIb3DQEBCwUAA4IBAQASENQJdugbU/zcaCU/JjBMQF+L
-IYlNqVRcV5c/CUo0sxMyEIbCQ+tRjsr6wS4Z/BqP4znveP8MChRQqTk+ldP9VtIF
-SXtB/HtT9V9XNdJ/R0aoGi//WCQXzS2gzsn9JQKOAQAOkYJg71puHWj1M3CPxxzv
-4beXq2t9J1hgtLOiM5AsbHRI8kTgM/J8GKGe0Dw/xgJgwaWPTZPmGtJhoEsFZUyY
-ywiSsc83dsllkjFA4MiADfAHdnW48/KSeK6qGetUm4VQImFbcgA0cZTzYdggnaHO
-YKYJwXPX2vI/4b+WyqrpQ3ToXGb66oowlD7e16zMfHFQ1Tp415bC3vjtKE/u
------END CERTIFICATE-----
-
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/compute-code-hashes.trycmd b/vendor/apple-codesign/tests/cmd/compute-code-hashes.trycmd
deleted file mode 100644
index 5c6043d..0000000
--- a/vendor/apple-codesign/tests/cmd/compute-code-hashes.trycmd
+++ /dev/null
@@ -1,48 +0,0 @@
-```
-$ rcodesign help compute-code-hashes
-Compute code hashes for a binary
-
-Usage: rcodesign[EXE] compute-code-hashes [OPTIONS] <PATH>
-
-Arguments:
- <PATH>
- Path to Mach-O binary to examine
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --hash <HASH>
- Hashing algorithm to use
-
- [default: sha256]
- [possible values: none, sha1, sha256, sha256-truncated, sha384, sha512]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --page-size <PAGE_SIZE>
- Chunk size to digest over
-
- [default: 4096]
-
- --universal-index <UNIVERSAL_INDEX>
- Index of Mach-O binary to operate on within a universal/fat binary
-
- [default: 0]
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/debug-create-macho.trycmd b/vendor/apple-codesign/tests/cmd/debug-create-macho.trycmd
deleted file mode 100644
index 8b7abb5..0000000
--- a/vendor/apple-codesign/tests/cmd/debug-create-macho.trycmd
+++ /dev/null
@@ -1,168 +0,0 @@
-```
-$ rcodesign help debug-create-macho
-Create a Mach-O binary from parameters
-
-Usage: rcodesign[EXE] debug-create-macho [OPTIONS] <OUTPUT_PATH>
-
-Arguments:
- <OUTPUT_PATH>
- Filename of Mach-O binary to write
-
-Options:
- --architecture <ARCHITECTURE>
- Architecture of Mach-O binary
-
- [default: aarch64]
- [possible values: aarch64, x86-64]
-
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --file-type <FILE_TYPE>
- The Mach-O file type
-
- [default: executable]
- [possible values: executable, dylib]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --no-targeting
- Do not write platform targeting to Mach-O binary
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --minimum-os-version <MINIMUM_OS_VERSION>
- The minimum operating system version the binary will run on
-
- --sdk-version <SDK_VERSION>
- The platform SDK version used to build the binary
-
- --text-segment-start-offset <TEXT_SEGMENT_START_OFFSET>
- Set the file start offset of the __TEXT segment
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
-
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign extract macho-header exe
-Header {
- magic: 0xfeedfacf,
- cputype: 16777228,
- cpusubtype: 0x0,
- filetype: "EXECUTE",
- ncmds: 7,
- sizeofcmds: 728,
- flags: 0x0,
- reserved: 0x0,
-}
-
-$ rcodesign extract macho-load-commands exe
-load command count: 7
-LC_SEGMENT_64; offsets=0x20-0x68 (32-104); size=72
-LC_SEGMENT_64; offsets=0x68-0x150 (104-336); size=232
-LC_SEGMENT_64; offsets=0x150-0x1e8 (336-488); size=152
-LC_SEGMENT_64; offsets=0x1e8-0x280 (488-640); size=152
-LC_SEGMENT_64; offsets=0x280-0x2c8 (640-712); size=72
-LC_SYMTAB; offsets=0x2c8-0x2e0 (712-736); size=24
-LC_BUILD_VERSION; offsets=0x2e0-0x2f8 (736-760); size=24
-
-$ rcodesign extract macho-load-commands-raw exe
-LoadCommand { offset: 32, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 80, 65, 71, 69, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 4294967296, fileoff: 0, filesize: 0, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 104, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 232, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 0, filesize: 16384, maxprot: 0, initprot: 0, nsects: 2, flags: 0 }) }
-LoadCommand { offset: 336, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 95, 67, 79, 78, 83, 84, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 488, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 640, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 2, fileoff: 16384, filesize: 2, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 712, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 16384, nsyms: 0, stroff: 16385, strsize: 1 }) }
-LoadCommand { offset: 736, command: BuildVersion(BuildVersionCommand { cmd: 50, cmdsize: 24, platform: 1, minos: 720896, sdk: 720896, ntools: 0 }) }
-
-$ rcodesign extract macho-segments exe
-segments count: 5
-segment #0; __PAGEZERO; offsets=0x0-0x0 (0-0); addresses=0x0-0x100000000; vm/file size 4294967296/0; section count 0
-segment #1; __TEXT; offsets=0x0-0x4000 (0-16384); addresses=0x100000000-0x100000000; vm/file size 0/16384; section count 2
-segment #1; section #0: __text; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #1; section #1: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #2; __DATA_CONST; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #2; section #0: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #3; __DATA; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #3; section #0: __data; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #4; __LINKEDIT; offsets=0x4000-0x4002 (16384-16386); addresses=0x100000000-0x100000002; vm/file size 2/2; section count 0
-
-```
-
-Defining custom targeting settings works
-
-```
-$ rcodesign debug-create-macho --minimum-os-version 11.2.0 exe
-writing Mach-O to exe
-
-$ rcodesign extract macho-load-commands-raw exe
-LoadCommand { offset: 32, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 80, 65, 71, 69, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 4294967296, fileoff: 0, filesize: 0, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 104, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 232, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 0, filesize: 16384, maxprot: 0, initprot: 0, nsects: 2, flags: 0 }) }
-LoadCommand { offset: 336, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 95, 67, 79, 78, 83, 84, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 488, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 640, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 2, fileoff: 16384, filesize: 2, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 712, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 16384, nsyms: 0, stroff: 16385, strsize: 1 }) }
-LoadCommand { offset: 736, command: BuildVersion(BuildVersionCommand { cmd: 50, cmdsize: 24, platform: 1, minos: 721408, sdk: 721408, ntools: 0 }) }
-
-$ rcodesign debug-create-macho --sdk-version 10.9.0 exe
-writing Mach-O to exe
-
-$ rcodesign extract macho-load-commands-raw exe
-LoadCommand { offset: 32, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 80, 65, 71, 69, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 4294967296, fileoff: 0, filesize: 0, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 104, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 232, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 0, filesize: 16384, maxprot: 0, initprot: 0, nsects: 2, flags: 0 }) }
-LoadCommand { offset: 336, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 95, 67, 79, 78, 83, 84, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 488, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 640, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 2, fileoff: 16384, filesize: 2, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 712, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 16384, nsyms: 0, stroff: 16385, strsize: 1 }) }
-LoadCommand { offset: 736, command: BuildVersion(BuildVersionCommand { cmd: 50, cmdsize: 24, platform: 1, minos: 657664, sdk: 657664, ntools: 0 }) }
-
-$ rcodesign debug-create-macho --minimum-os-version 10.9.0 --sdk-version 12.0.0 exe
-writing Mach-O to exe
-
-$ rcodesign extract macho-load-commands-raw exe
-LoadCommand { offset: 32, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 80, 65, 71, 69, 90, 69, 82, 79, 0, 0, 0, 0, 0, 0], vmaddr: 0, vmsize: 4294967296, fileoff: 0, filesize: 0, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 104, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 232, segname: [95, 95, 84, 69, 88, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 0, filesize: 16384, maxprot: 0, initprot: 0, nsects: 2, flags: 0 }) }
-LoadCommand { offset: 336, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 95, 67, 79, 78, 83, 84, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 488, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 152, segname: [95, 95, 68, 65, 84, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 0, fileoff: 16384, filesize: 0, maxprot: 0, initprot: 0, nsects: 1, flags: 0 }) }
-LoadCommand { offset: 640, command: Segment64(SegmentCommand64 { cmd: 25, cmdsize: 72, segname: [95, 95, 76, 73, 78, 75, 69, 68, 73, 84, 0, 0, 0, 0, 0, 0], vmaddr: 4294967296, vmsize: 2, fileoff: 16384, filesize: 2, maxprot: 0, initprot: 0, nsects: 0, flags: 0 }) }
-LoadCommand { offset: 712, command: Symtab(SymtabCommand { cmd: 2, cmdsize: 24, symoff: 16384, nsyms: 0, stroff: 16385, strsize: 1 }) }
-LoadCommand { offset: 736, command: BuildVersion(BuildVersionCommand { cmd: 50, cmdsize: 24, platform: 1, minos: 657664, sdk: 786432, ntools: 0 }) }
-
-```
-
-Setting a custom __TEXT start offset works
-
-```
-$ rcodesign debug-create-macho --text-segment-start-offset 4096 exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign extract macho-segments exe
-segments count: 5
-segment #0; __PAGEZERO; offsets=0x0-0x0 (0-0); addresses=0x0-0x100000000; vm/file size 4294967296/0; section count 0
-segment #1; __TEXT; offsets=0x1000-0x4000 (4096-16384); addresses=0x100000000-0x100000000; vm/file size 0/12288; section count 2
-segment #1; section #0: __text; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #1; section #1: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #2; __DATA_CONST; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #2; section #0: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #3; __DATA; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #3; section #0: __data; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #4; __LINKEDIT; offsets=0x4000-0x4002 (16384-16386); addresses=0x100000000-0x100000002; vm/file size 2/2; section count 0
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/diff-signatures.trycmd b/vendor/apple-codesign/tests/cmd/diff-signatures.trycmd
deleted file mode 100644
index f0f577d..0000000
--- a/vendor/apple-codesign/tests/cmd/diff-signatures.trycmd
+++ /dev/null
@@ -1,35 +0,0 @@
-```
-$ rcodesign help diff-signatures
-Print a diff between the signature content of two paths
-
-Usage: rcodesign[EXE] diff-signatures [OPTIONS] <PATH0> <PATH1>
-
-Arguments:
- <PATH0>
- The first path to compare
-
- <PATH1>
- The second path to compare
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/encode-app-store-connect-api-key.trycmd b/vendor/apple-codesign/tests/cmd/encode-app-store-connect-api-key.trycmd
deleted file mode 100644
index 6e59c37..0000000
--- a/vendor/apple-codesign/tests/cmd/encode-app-store-connect-api-key.trycmd
+++ /dev/null
@@ -1,70 +0,0 @@
-```
-$ rcodesign help encode-app-store-connect-api-key
-Encode App Store Connect API Key metadata to JSON
-
-App Store Connect API Keys
-(https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api)
-are defined by 3 components:
-
-* The Issuer ID (likely a UUID)
-* A Key ID (an alphanumeric value like `DEADBEEF42`)
-* A PEM encoded ECDSA private key (typically a file beginning with
- `-----BEGIN PRIVATE KEY-----`).
-
-This command is used to encode all API Key components into a single JSON
-object so you only have to refer to a single entity when performing
-operations (like notarization) using these API Keys.
-
-The API Key components are specified as positional arguments.
-
-By default, the JSON encoded unified representation is printed to stdout.
-You can write to a file instead by passing `--output-path <path>`.
-
-# Security Considerations
-
-The App Store Connect API Key contains a private key and its value should be
-treated as sensitive: if an unwanted party obtains your private key, they
-effectively have access to your App Store Connect account.
-
-When this command writes JSON files, an attempt is made to limit access
-to the file. However, file access restrictions may not be as secure as you
-want. Security conscious individuals should audit the permissions of the
-file and adjust accordingly.
-
-Usage: rcodesign[EXE] encode-app-store-connect-api-key [OPTIONS] <ISSUER_ID> <KEY_ID> <PRIVATE_KEY_PATH>
-
-Arguments:
- <ISSUER_ID>
- The issuer of the API Token. Likely a UUID
-
- <KEY_ID>
- The Key ID. A short alphanumeric string like DEADBEEF42
-
- <PRIVATE_KEY_PATH>
- Path to a file containing the private key downloaded from Apple
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -o, --output-path <OUTPUT_PATH>
- Path to a JSON file to create the output to
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/extract.trycmd b/vendor/apple-codesign/tests/cmd/extract.trycmd
deleted file mode 100644
index 1417b69..0000000
--- a/vendor/apple-codesign/tests/cmd/extract.trycmd
+++ /dev/null
@@ -1,369 +0,0 @@
-```
-$ rcodesign help extract
-Print/extract various information from a Mach-O binary.
-
-Given the path to a Mach-O binary (including fat/universal binaries), this command will attempt to locate and format the requested data.
-
-Usage: rcodesign extract [OPTIONS] <COMMAND> <INPUT_PATH>
-
-Commands:
- blobs Code directory blobs
- cms-info Information about cryptographic message syntax signature
- cms-pem PEM encoded cryptographic message syntax signature
- cms-raw Binary cryptographic message syntax signature. Should be BER encoded ASN.1 data
- cms ASN.1 decoded cryptographic message syntax data
- code-directory Information from the main code directory data structure
- code-directory-raw Raw binary data composing the code directory data structure
- code-directory-serialized Reserialize the parsed code directory, parse it again, and then print it like `code-directory` would
- code-directory-serialized-raw Reserialize the parsed code directory and emit its binary
- linkedit-info Information about the __LINKEDIT Mach-O segment
- linkedit-segment-raw Complete content of the __LINKEDIT Mach-O segment
- macho-header Mach-O file header data
- macho-load-commands High-level information about Mach-O load commands
- macho-load-commands-raw Debug formatted Mach-O load command data structures
- macho-segments Information about Mach-O segments
- macho-target Mach-O targeting info
- requirements Parsed code requirement statement/expression
- requirements-raw Raw binary data composing the requirements blob/slot
- requirements-rust Dump the internal Rust data structures representing the requirements expressions
- requirements-serialized Reserialize the code requirements blob, parse it again, and then print it like `requirements` would
- requirements-serialized-raw Like `requirements-serialized` except emit the binary data representation
- signature-raw Raw binary data constituting the signature data embedded in the binary
- superblob Show information about the SuperBlob record and high-level details of embedded Blob records
- help Print this message or the help of the given subcommand(s)
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --universal-index <UNIVERSAL_INDEX>
- Index of Mach-O binary to operate on within a universal/fat binary
-
- [default: 0]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
-
-```
-$ rcodesign debug-create-macho --minimum-os-version 11.2.0 exe
-writing Mach-O to exe
-
-$ rcodesign sign exe
-signing exe in place
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe
-
-$ rcodesign extract blobs exe
-ParsedBlob {
- blob_entry: BlobEntry {
- index: 0,
- slot: CodeDirectory (0),
- offset: 36,
- length: 316,
- magic: CodeDirectory,
- },
- blob: CodeDirectory(
- CodeDirectoryBlob {
- version: 132096,
- flags: CodeSignatureFlags(
- ADHOC,
- ),
- code_limit: 16400,
- digest_size: 32,
- digest_type: Sha256,
- platform: 0,
- page_size: 4096,
- spare2: 0,
- scatter_offset: None,
- spare3: Some(
- 0,
- ),
- code_limit_64: Some(
- 0,
- ),
- exec_seg_base: Some(
- 0,
- ),
- exec_seg_limit: Some(
- 16384,
- ),
- exec_seg_flags: Some(
- ExecutableSegmentFlags(
- MAIN_BINARY,
- ),
- ),
- runtime: None,
- pre_encrypt_offset: None,
- linkage_hash_type: None,
- linkage_truncated: None,
- spare4: None,
- linkage_offset: None,
- linkage_size: None,
- ident: "exe",
- team_name: None,
- code_digests: [
- 4f3c762ac97e47d0e37922d5b276e7c751b66e37f4b410a0421e6d5aacf44415,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- 374708fff7719dd5979ec875d56cd2286f6d3cf7ec317a3b25632aab28ec37bb,
- ],
- special_digests: {
- Info (1): 0000000000000000000000000000000000000000000000000000000000000000,
- RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986,
- },
- },
- ),
-}
-ParsedBlob {
- blob_entry: BlobEntry {
- index: 1,
- slot: RequirementSet (2),
- offset: 352,
- length: 12,
- magic: RequirementSet,
- },
- blob: RequirementSet(
- RequirementSetBlob {
- requirements: {},
- },
- ),
-}
-ParsedBlob {
- blob_entry: BlobEntry {
- index: 2,
- slot: CMS Signature (65536),
- offset: 364,
- length: 8,
- magic: BlobWrapper,
- },
- blob: BlobWrapper(
- ,
- ),
-}
-
-$ rcodesign extract code-directory exe
-CodeDirectoryBlob {
- version: 132096,
- flags: CodeSignatureFlags(
- ADHOC,
- ),
- code_limit: 16400,
- digest_size: 32,
- digest_type: Sha256,
- platform: 0,
- page_size: 4096,
- spare2: 0,
- scatter_offset: None,
- spare3: Some(
- 0,
- ),
- code_limit_64: Some(
- 0,
- ),
- exec_seg_base: Some(
- 0,
- ),
- exec_seg_limit: Some(
- 16384,
- ),
- exec_seg_flags: Some(
- ExecutableSegmentFlags(
- MAIN_BINARY,
- ),
- ),
- runtime: None,
- pre_encrypt_offset: None,
- linkage_hash_type: None,
- linkage_truncated: None,
- spare4: None,
- linkage_offset: None,
- linkage_size: None,
- ident: "exe",
- team_name: None,
- code_digests: [
- 4f3c762ac97e47d0e37922d5b276e7c751b66e37f4b410a0421e6d5aacf44415,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- 374708fff7719dd5979ec875d56cd2286f6d3cf7ec317a3b25632aab28ec37bb,
- ],
- special_digests: {
- Info (1): 0000000000000000000000000000000000000000000000000000000000000000,
- RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986,
- },
-}
-
-$ rcodesign extract code-directory-serialized exe
-CodeDirectoryBlob {
- version: 132096,
- flags: CodeSignatureFlags(
- ADHOC,
- ),
- code_limit: 16400,
- digest_size: 32,
- digest_type: Sha256,
- platform: 0,
- page_size: 4096,
- spare2: 0,
- scatter_offset: None,
- spare3: Some(
- 0,
- ),
- code_limit_64: Some(
- 0,
- ),
- exec_seg_base: Some(
- 0,
- ),
- exec_seg_limit: Some(
- 16384,
- ),
- exec_seg_flags: Some(
- ExecutableSegmentFlags(
- MAIN_BINARY,
- ),
- ),
- runtime: None,
- pre_encrypt_offset: None,
- linkage_hash_type: None,
- linkage_truncated: None,
- spare4: None,
- linkage_offset: None,
- linkage_size: None,
- ident: "exe",
- team_name: None,
- code_digests: [
- 4f3c762ac97e47d0e37922d5b276e7c751b66e37f4b410a0421e6d5aacf44415,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7,
- 374708fff7719dd5979ec875d56cd2286f6d3cf7ec317a3b25632aab28ec37bb,
- ],
- special_digests: {
- Info (1): 0000000000000000000000000000000000000000000000000000000000000000,
- RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986,
- },
-}
-
-$ rcodesign extract linkedit-info exe
-__LINKEDIT segment index: 4
-__LINKEDIT segment start offset: 16384
-__LINKEDIT segment end offset: 22544
-__LINKEDIT segment size: 6160
-__LINKEDIT signature global start offset: 16400
-__LINKEDIT signature global end offset: 22544
-__LINKEDIT signature local segment start offset: 16
-__LINKEDIT signature local segment end offset: 6160
-__LINKEDIT signature size: 6144
-
-$ rcodesign extract macho-load-commands exe
-load command count: 8
-LC_SEGMENT_64; offsets=0x20-0x68 (32-104); size=72
-LC_SEGMENT_64; offsets=0x68-0x150 (104-336); size=232
-LC_SEGMENT_64; offsets=0x150-0x1e8 (336-488); size=152
-LC_SEGMENT_64; offsets=0x1e8-0x280 (488-640); size=152
-LC_SEGMENT_64; offsets=0x280-0x2c8 (640-712); size=72
-LC_SYMTAB; offsets=0x2c8-0x2e0 (712-736); size=24
-LC_BUILD_VERSION; offsets=0x2e0-0x2f8 (736-760); size=24
-LC_CODE_SIGNATURE; offsets=0x2f8-0x308 (760-776); size=16
-
-$ rcodesign extract macho-segments exe
-segments count: 5
-segment #0; __PAGEZERO; offsets=0x0-0x0 (0-0); addresses=0x0-0x100000000; vm/file size 4294967296/0; section count 0
-segment #1; __TEXT; offsets=0x0-0x4000 (0-16384); addresses=0x100000000-0x100000000; vm/file size 0/16384; section count 2
-segment #1; section #0: __text; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #1; section #1: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #2; __DATA_CONST; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #2; section #0: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #3; __DATA; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #3; section #0: __data; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #4; __LINKEDIT; offsets=0x4000-0x5810 (16384-22544); addresses=0x100000000-0x100004000; vm/file size 16384/6160; section count 0
-
-$ rcodesign extract macho-target exe
-Platform: macOS
-Minimum OS: 11.2.0
-SDK: 11.2.0
-
-$ rcodesign extract requirements exe
-
-$ rcodesign extract requirements-rust exe
-
-$ rcodesign extract requirements-serialized exe
-RequirementSetBlob {
- requirements: {},
-}
-
-$ rcodesign extract superblob exe
-file start offset: 16400
-file end offset: 22544
-__LINKEDIT start offset: 16
-__LINKEDIT end offset: 6160
-length: 372
-blob count: 3
-blobs:
-- index: 0
- offsets: 0x24-0x15f (36-351)
- length: 316
- slot: CodeDirectory (0)
- magic: CodeDirectory (0xfade0c02)
- sha1: ee23bf4fb629c06fd2a4c052e64e6d82cba191d6
- sha256: 504dc3f849477fdb537ed810992d02e008f5302d8cde77b0076bd6cbefb10de6
- sha256-truncated: 504dc3f849477fdb537ed810992d02e008f5302d
- sha384: 38564345445744b17a61213dda9fd116bd5e0f0943cd7d6994d5f1e0fcf0d1b28e4646245c75aa51d5e43cd9e1e8a8c9
- sha512: ba96f00e6cc58310a76a99d51b5571e4beb9d73abc6678df02b942116d458f1be7d028eef670088aed2eeb1c1dcb055f6f8a51e587ac59bd7ad2cf0ef475673e
- sha1-base64: 7iO/T7YpwG/SpMBS5k5tgsuhkdY=
- sha256-base64: UE3D+ElHf9tTftgQmS0C4Aj1MC2M3newB2vWy++xDeY=
- sha256-truncated-base64: UE3D+ElHf9tTftgQmS0C4Aj1MC0=
- sha384-base64: OFZDRURXRLF6YSE92p/RFr1eDwlDzX1plNXx4Pzw0bKORkYkXHWqUdXkPNnh6KjJ
- sha512-base64: upbwDmzFgxCnapnVG1Vx5L651zq8ZnjfArlCEW1Fjxvn0Cju9nAIiu0u6xwdywVfb4pR5YesWb160s8O9HVnPg==
-- index: 1
- offsets: 0x160-0x16b (352-363)
- length: 12
- slot: RequirementSet (2)
- magic: RequirementSet (0xfade0c01)
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- sha256-truncated: 987920904eab650e75788c054aa0b0524e6a80bf
- sha384: df9b77e787dcf0f66952973f309be7ac0718558792e9e10984a26231048034d31cdd208d65fd38143a8d96aecd32084d
- sha512: a2038f9fd1ebade88b0f261db83eaef30ecf7c9ebe7c9212c62a30ba534dbf59e6423e922edfbdba969848663377ac4f9130ee8f4510144b4fa411398e3ae97c
- sha1-base64: OnX22wWFKRSOFN1+obRynMCeyXM=
- sha256-base64: mHkgkE6rZQ51eIwFSqCwUk5qgL/HGqMt+NI3phdD+YY=
- sha256-truncated-base64: mHkgkE6rZQ51eIwFSqCwUk5qgL8=
- sha384-base64: 35t354fc8PZpUpc/MJvnrAcYVYeS6eEJhKJiMQSANNMc3SCNZf04FDqNlq7NMghN
- sha512-base64: ogOPn9HrreiLDyYduD6u8w7PfJ6+fJISxiowulNNv1nmQj6SLt+9upaYSGYzd6xPkTDuj0UQFEtPpBE5jjrpfA==
-- index: 2
- offsets: 0x16c-0x173 (364-371)
- length: 8
- slot: CMS Signature (65536)
- magic: BlobWrapper (0xfade0b01)
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- sha256-truncated: e6c83bc98a10348492c7d4d2378a54572ef29e1a
- sha384: 01415351c4e0230fa499def0260fa6ac175625f2b06f9f45e607ff3fd513c60dfbeefd85327e777f7ab19c5512da9a82
- sha512: 9968a4b379cdb74bfb92a9d24c90649e9252f8fe905b76927d0e435cc09deb6c370b63c83678e98d137589a62f5678657fb05d1f14328c4e4efd624f6192282a
- sha1-base64: KnJUMTqkF5YHm7Dp0PBENF9p+Ys=
- sha256-base64: 5sg7yYoQNISSx9TSN4pUVy7ynhpWkszQK14p9Ldi1qA=
- sha256-truncated-base64: 5sg7yYoQNISSx9TSN4pUVy7ynho=
- sha384-base64: AUFTUcTgIw+kmd7wJg+mrBdWJfKwb59F5gf/P9UTxg377v2FMn53f3qxnFUS2pqC
- sha512-base64: mWiks3nNt0v7kqnSTJBknpJS+P6QW3aSfQ5DXMCd62w3C2PINnjpjRN1iaYvVnhlf7BdHxQyjE5O/WJPYZIoKg==
-
-```
\ No newline at end of file
diff --git a/vendor/apple-codesign/tests/cmd/generate-csr.trycmd b/vendor/apple-codesign/tests/cmd/generate-csr.trycmd
deleted file mode 100644
index 341421b..0000000
--- a/vendor/apple-codesign/tests/cmd/generate-csr.trycmd
+++ /dev/null
@@ -1,88 +0,0 @@
-```
-$ rcodesign generate-certificate-signing-request --help
-Generates a certificate signing request that can be sent to Apple and exchanged for a signing certificate
-
-Usage: rcodesign[EXE] generate-certificate-signing-request [OPTIONS]
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --csr-pem-file <CSR_PEM_PATH>
- Path to file to write PEM encoded CSR to
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --smartcard-slot <SLOT>
- Smartcard slot number of signing certificate to use (9c is common)
-
- --smartcard-pin <SECRET>
- Smartcard PIN used to unlock certificate
-
- If not provided, you will be prompted for a PIN as necessary.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --smartcard-pin-env <STRING>
- Environment variable holding the smartcard PIN
-
- --keychain-domain <DOMAIN>
- (macOS only) Keychain domain to operate on
-
- [possible values: user, system, common, dynamic]
-
- --keychain-fingerprint <SHA256 FINGERPRINT>
- (macOS only) SHA-256 fingerprint of certificate in Keychain to use
-
- --windows-store-name <STORE>
- (Windows only) Windows Store to operate on
-
- [possible values: user, machine, service]
-
- --windows-store-sha1-fingerprint <SHA1 FINGERPRINT>
- (Windows only) SHA-1 fingerprint of certificate in Windows Store to use
-
- --pem-file <PATH>
- Path to file containing PEM encoded certificate/key data
-
- --p12-file <PATH>
- Path to a .p12/PFX file containing a certificate key pair
-
- --p12-password <SECRET>
- The password to use to open the --p12-file file
-
- --p12-password-file <PATH>
- Path to file containing password for opening --p12-file file
-
- --remote-signing-url <URL>
- URL of a remote code signing server
-
- --remote-public-key <BASE64 ENCODED PUBLIC KEY>
- Base64 encoded public key data describing the signer
-
- --remote-public-key-pem-file <PATH>
- PEM encoded public key data describing the signer
-
- --remote-shared-secret <SECRET>
- Shared secret used for remote signing
-
- --remote-shared-secret-env <ENV VAR NAME>
- Environment variable holding the shared secret used for remote signing
-
- --certificate-der-file <PATH>
- Path to file containing DER encoded certificate data
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/generate-self-signed-cert.trycmd b/vendor/apple-codesign/tests/cmd/generate-self-signed-cert.trycmd
deleted file mode 100644
index 10d0496..0000000
--- a/vendor/apple-codesign/tests/cmd/generate-self-signed-cert.trycmd
+++ /dev/null
@@ -1,139 +0,0 @@
-```
-$ rcodesign generate-self-signed-certificate --help
-Generate a self-signed certificate for code signing
-
-This command will generate a new key pair using the algorithm of choice then create an X.509 certificate wrapper for it that is signed with the just-generated private key. The created X.509 certificate has extensions that mark it as appropriate for code signing.
-
-Certificates generated with this command can be useful for local testing. However, because it is a self-signed certificate and isn't signed by a trusted certificate authority, Apple operating systems may refuse to load binaries signed with it.
-
-By default the command prints 2 PEM encoded blocks. One block is for the X.509 public certificate. The other is for the PKCS#8 private key (which can include the public key).
-
-The `--pem-filename` argument can be specified to write the generated certificate pair to a pair of files. The destination files will have `.crt` and `.key` appended to the value provided.
-
-When the certificate is written to a file, it isn't printed to stdout.
-
-Usage: rcodesign[EXE] generate-self-signed-certificate [OPTIONS] --person-name <PERSON_NAME>
-
-Options:
- --algorithm <ALGORITHM>
- Which key type to use
-
- [default: rsa]
- [possible values: ecdsa, ed25519, rsa]
-
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --profile <PROFILE>
- [default: apple-development]
- [possible values: mac-installer-distribution, apple-distribution, apple-development, developer-id-application, developer-id-installer]
-
- --team-id <TEAM_ID>
- Team ID (this is a short string attached to your Apple Developer account)
-
- [default: unset]
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --person-name <PERSON_NAME>
- The name of the person this certificate is for
-
- --country-name <COUNTRY_NAME>
- Country Name (C) value for certificate identifier
-
- [default: XX]
-
- --validity-days <VALIDITY_DAYS>
- How many days the certificate should be valid for
-
- [default: 365]
-
- --pem-filename <PEM_FILENAME>
- Base name of files to write PEM encoded certificate to
-
- --pem-unified-file <PATH>
- Filename to write PEM encoded private key and public certificate to
-
- --p12-file <PATH>
- Filename to write a PKCS#12 / p12 / PFX encoded certificate to
-
- --p12-password <P12_PASSWORD>
- Password to use to encrypt --p12-path.
-
- If not provided you will be prompted for a password.
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
-
-```
-$ rcodesign generate-self-signed-certificate --profile apple-development --person-name 'Johnny Apple'
------BEGIN CERTIFICATE-----
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
------END CERTIFICATE-----
------BEGIN PRIVATE KEY-----
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
-[..]
------END PRIVATE KEY-----
-
-```
-
-Try a PKCS#12 file
-
-```
-$ rcodesign generate-self-signed-certificate --profile apple-development --person-name 'Johnny Apple' --p12-file test.p12 --p12-password password
-writing PKCS#12 certificate to test.p12
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/help.trycmd b/vendor/apple-codesign/tests/cmd/help.trycmd
deleted file mode 100644
index f1bba78..0000000
--- a/vendor/apple-codesign/tests/cmd/help.trycmd
+++ /dev/null
@@ -1,159 +0,0 @@
-```
-$ rcodesign
-? 2
-Sign and notarize Apple programs. See https://gregoryszorc.com/docs/apple-codesign/main/ for more docs
-
-Usage: rcodesign[EXE] [OPTIONS] <COMMAND>
-
-Commands:
- analyze-certificate
- Analyze an X.509 certificate for Apple code signing properties
- compute-code-hashes
- Compute code hashes for a binary
- diff-signatures
- Print a diff between the signature content of two paths
- encode-app-store-connect-api-key
- Encode App Store Connect API Key metadata to JSON
- extract
- Print/extract various information from a Mach-O binary
- generate-certificate-signing-request
- Generates a certificate signing request that can be sent to Apple and exchanged for a signing certificate
- generate-self-signed-certificate
- Generate a self-signed certificate for code signing
- keychain-export-certificate-chain
- Export Apple CA certificates from the macOS Keychain
- keychain-print-certificates
- Print information about certificates in the macOS keychain
- macho-universal-create
- Create a universal ("fat") Mach-O binary
- notary-list
- List notarization submissions
- notary-log
- Fetch the notarization log for a previous submission
- notary-submit
- Upload an asset to Apple for notarization and possibly staple it
- notary-wait
- Wait for completion of a previous submission
- parse-code-signing-requirement
- Parse binary Code Signing Requirement data into a human readable string
- print-signature-info
- Print signature information for a filesystem path
- remote-sign
- Create signatures initiated from a remote signing operation
- sign
- Adds code signatures to a signable entity.
- smartcard-generate-key
- Generate a new private key on a smartcard
- smartcard-import
- Import a code signing certificate and key into a smartcard
- smartcard-scan
- Show information about available smartcard (SC) devices
- staple
- Staples a notarization ticket to an entity
- verify
- Verifies code signature data
- windows-store-export-certificate-chain
- Export CA certificates from the Windows Store
- windows-store-print-certificates
- Print information about certificates in the Windows Store
- x509-oids
- Print information about X.509 OIDs related to Apple code signing
- help
- Print this message or the help of the given subcommand(s)
-
-Options:
- -C, --config-file <CONFIG_PATH> Explicit configuration file to load
- -P, --profile <PROFILE> Configuration profile to load
- -v, --verbose... Increase logging verbosity. Can be specified multiple times
- -h, --help Print help (see more with '--help')
- -V, --version Print version
-
-```
-
-```
-$ rcodesign help
-Sign and notarize Apple programs. See https://gregoryszorc.com/docs/apple-codesign/main/ for more docs
-
-Usage: rcodesign[EXE] [OPTIONS] <COMMAND>
-
-Commands:
- analyze-certificate
- Analyze an X.509 certificate for Apple code signing properties
- compute-code-hashes
- Compute code hashes for a binary
- diff-signatures
- Print a diff between the signature content of two paths
- encode-app-store-connect-api-key
- Encode App Store Connect API Key metadata to JSON
- extract
- Print/extract various information from a Mach-O binary
- generate-certificate-signing-request
- Generates a certificate signing request that can be sent to Apple and exchanged for a signing certificate
- generate-self-signed-certificate
- Generate a self-signed certificate for code signing
- keychain-export-certificate-chain
- Export Apple CA certificates from the macOS Keychain
- keychain-print-certificates
- Print information about certificates in the macOS keychain
- macho-universal-create
- Create a universal ("fat") Mach-O binary
- notary-list
- List notarization submissions
- notary-log
- Fetch the notarization log for a previous submission
- notary-submit
- Upload an asset to Apple for notarization and possibly staple it
- notary-wait
- Wait for completion of a previous submission
- parse-code-signing-requirement
- Parse binary Code Signing Requirement data into a human readable string
- print-signature-info
- Print signature information for a filesystem path
- remote-sign
- Create signatures initiated from a remote signing operation
- sign
- Adds code signatures to a signable entity.
- smartcard-generate-key
- Generate a new private key on a smartcard
- smartcard-import
- Import a code signing certificate and key into a smartcard
- smartcard-scan
- Show information about available smartcard (SC) devices
- staple
- Staples a notarization ticket to an entity
- verify
- Verifies code signature data
- windows-store-export-certificate-chain
- Export CA certificates from the Windows Store
- windows-store-print-certificates
- Print information about certificates in the Windows Store
- x509-oids
- Print information about X.509 OIDs related to Apple code signing
- help
- Print this message or the help of the given subcommand(s)
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
- -V, --version
- Print version
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/keychain-export-certificate-chain.trycmd b/vendor/apple-codesign/tests/cmd/keychain-export-certificate-chain.trycmd
deleted file mode 100644
index 1722748..0000000
--- a/vendor/apple-codesign/tests/cmd/keychain-export-certificate-chain.trycmd
+++ /dev/null
@@ -1,46 +0,0 @@
-```
-$ rcodesign help keychain-export-certificate-chain
-Export Apple CA certificates from the macOS Keychain
-
-Usage: rcodesign[EXE] keychain-export-certificate-chain [OPTIONS] --user-id <USER_ID>
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --domain <DOMAIN>
- Keychain domain to operate on
-
- [default: user]
- [possible values: user, system, common, dynamic]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --password <PASSWORD>
- Password to unlock the Keychain
-
- --password-file <PASSWORD_PATH>
- File containing password to use to unlock the Keychain
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --no-print-self
- Print only the issuing certificate chain, not the subject certificate
-
- --user-id <USER_ID>
- User ID value of code signing certificate to find and whose CA chain to export
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/keychain-print-certificates.trycmd b/vendor/apple-codesign/tests/cmd/keychain-print-certificates.trycmd
deleted file mode 100644
index c2afd9c..0000000
--- a/vendor/apple-codesign/tests/cmd/keychain-print-certificates.trycmd
+++ /dev/null
@@ -1,34 +0,0 @@
-```
-$ rcodesign help keychain-print-certificates
-Print information about certificates in the macOS keychain
-
-Usage: rcodesign[EXE] keychain-print-certificates [OPTIONS]
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --domain <DOMAIN>
- Keychain domain to operate on
-
- [default: user]
- [possible values: user, system, common, dynamic]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/macho-universal-create.trycmd b/vendor/apple-codesign/tests/cmd/macho-universal-create.trycmd
deleted file mode 100644
index 3bcc205..0000000
--- a/vendor/apple-codesign/tests/cmd/macho-universal-create.trycmd
+++ /dev/null
@@ -1,50 +0,0 @@
-```
-$ rcodesign help macho-universal-create
-Create a universal ("fat") Mach-O binary.
-
-This is similar to the `lipo -create` command. Use it to stitch multiple single architecture Mach-O binaries into a single multi-arch binary.
-
-Usage: rcodesign[EXE] macho-universal-create [OPTIONS] --output <OUTPUT> [INPUT]...
-
-Arguments:
- [INPUT]...
- Input Mach-O binaries to combine
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -o, --output <OUTPUT>
- Output file to write
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-$ rcodesign debug-create-macho --architecture aarch64 exe.aarch64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.aarch64
-
-$ rcodesign debug-create-macho --architecture x86-64 exe.x86-64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.x86-64
-
-$ rcodesign macho-universal-create -o exe exe.aarch64 exe.x86-64
-adding exe.aarch64
-adding exe.x86-64
-writing exe
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/notary-log.trycmd b/vendor/apple-codesign/tests/cmd/notary-log.trycmd
deleted file mode 100644
index e5edbfd..0000000
--- a/vendor/apple-codesign/tests/cmd/notary-log.trycmd
+++ /dev/null
@@ -1,41 +0,0 @@
-```
-$ rcodesign help notary-log
-Fetch the notarization log for a previous submission
-
-Usage: rcodesign[EXE] notary-log [OPTIONS] <SUBMISSION_ID>
-
-Arguments:
- <SUBMISSION_ID>
- The ID of the previous submission to wait on
-
-Options:
- --api-key-file <PATH>
- Path to a JSON file containing the API Key
-
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --api-issuer <API_ISSUER>
- App Store Connect Issuer ID (likely a UUID)
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --api-key <API_KEY>
- App Store Connect API Key ID
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/notary-submit.trycmd b/vendor/apple-codesign/tests/cmd/notary-submit.trycmd
deleted file mode 100644
index a0ebced..0000000
--- a/vendor/apple-codesign/tests/cmd/notary-submit.trycmd
+++ /dev/null
@@ -1,74 +0,0 @@
-```
-$ rcodesign help notary-submit
-Upload an asset to Apple for notarization and possibly staple it
-
-This command is used to submit an asset to Apple for notarization. Given a path to an asset with a code signature, this command will connect to Apple's Notary API and upload the asset. It will then optionally wait on the submission to finish processing (which typically takes a few dozen seconds). If the asset validates Apple's requirements, Apple will issue a *notarization ticket* as proof that they approved of it. This ticket is then added to the asset in a process called *stapling*, which this command can do automatically if the `--staple` argument is passed.
-
-# App Store Connect API Key
-
-In order to communicate with Apple's servers, you need an App Store Connect API Key. This requires an Apple Developer account. You can generate an API Key at https://appstoreconnect.apple.com/access/api.
-
-The recommended mechanism to define the API Key is via `--api-key-path`, which takes the path to a file containing JSON produced by the `encode-app-store-connect-api-key` command. See that command's help for more details.
-
-If you don't wish to use `--api-key-path`, you can define the key components via the `--api-issuer` and `--api-key` arguments. You will need a file named `AuthKey_<ID>.p8` in one of the following locations: `$(pwd)/private_keys/`, `~/private_keys/`, '~/.private_keys/`, and `~/.appstoreconnect/private_keys/` (searched in that order). The name of the file is derived from the value of `--api-key`.
-
-In all cases, App Store Connect API Keys can be managed at https://appstoreconnect.apple.com/access/api.
-
-# Modes of Operation
-
-By default, the `notarize` command will initiate an upload to Apple and exit once the upload is complete.
-
-Once an upload is performed, Apple will asynchronously process the uploaded content. This can take seconds to minutes.
-
-To poll Apple's servers and wait on the server-side processing to finish, specify `--wait`. This will query the state of the processing every few seconds until it is finished, the max wait time is reached, or an error occurs.
-
-To automatically staple an asset after server-side processing has finished, specify `--staple`. This implies `--wait`.
-
-Usage: rcodesign[EXE] notary-submit [OPTIONS] <PATH>
-
-Arguments:
- <PATH>
- Path to asset to upload
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --wait
- Whether to wait for upload processing to complete
-
- --max-wait-seconds <MAX_WAIT_SECONDS>
- Maximum time in seconds to wait for the upload result
-
- [default: 600]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --staple
- Staple the notarization ticket after successful upload (implies --wait)
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --api-key-file <PATH>
- Path to a JSON file containing the API Key
-
- --api-issuer <API_ISSUER>
- App Store Connect Issuer ID (likely a UUID)
-
- --api-key <API_KEY>
- App Store Connect API Key ID
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/notary-wait.trycmd b/vendor/apple-codesign/tests/cmd/notary-wait.trycmd
deleted file mode 100644
index 1e61a70..0000000
--- a/vendor/apple-codesign/tests/cmd/notary-wait.trycmd
+++ /dev/null
@@ -1,46 +0,0 @@
-```
-$ rcodesign help notary-wait
-Wait for completion of a previous submission
-
-Usage: rcodesign[EXE] notary-wait [OPTIONS] <SUBMISSION_ID>
-
-Arguments:
- <SUBMISSION_ID>
- The ID of the previous submission to wait on
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --max-wait-seconds <MAX_WAIT_SECONDS>
- Maximum time in seconds to wait for the upload result
-
- [default: 600]
-
- --api-key-file <PATH>
- Path to a JSON file containing the API Key
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --api-issuer <API_ISSUER>
- App Store Connect Issuer ID (likely a UUID)
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --api-key <API_KEY>
- App Store Connect API Key ID
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/parse-code-signing-requirement.trycmd b/vendor/apple-codesign/tests/cmd/parse-code-signing-requirement.trycmd
deleted file mode 100644
index b07f9c7..0000000
--- a/vendor/apple-codesign/tests/cmd/parse-code-signing-requirement.trycmd
+++ /dev/null
@@ -1,46 +0,0 @@
-```
-$ rcodesign help parse-code-signing-requirement
-Parse binary Code Signing Requirement data into a human readable string
-
-This command can be used to parse binary code signing requirement data and print it in various formats.
-
-The source input format is the binary code requirement serialization. This is the format generated by Apple's `csreq` tool via `csreq -b`. The binary data begins with header magic `0xfade0c00`.
-
-The default output format is the Code Signing Requirement Language. But the output format can be changed via the --format argument.
-
-Our Code Signing Requirement Language output may differ from Apple's. For example, `and` and `or` expressions always have their sub-expressions surrounded by parentheses (e.g. `(a) and (b)` instead of `a and b`) and strings are always quoted. The differences, however, should not matter to the parser or result in a different binary serialization.
-
-Usage: rcodesign[EXE] parse-code-signing-requirement [OPTIONS] <INPUT_PATH>
-
-Arguments:
- <INPUT_PATH>
- Path to file to parse
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --format <FORMAT>
- Output format
-
- [default: csrl]
- [possible values: csrl, expression-tree]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/print-signature-info.trycmd b/vendor/apple-codesign/tests/cmd/print-signature-info.trycmd
deleted file mode 100644
index 8f5f4e1..0000000
--- a/vendor/apple-codesign/tests/cmd/print-signature-info.trycmd
+++ /dev/null
@@ -1,32 +0,0 @@
-```
-$ rcodesign help print-signature-info
-Print signature information for a filesystem path
-
-Usage: rcodesign[EXE] print-signature-info [OPTIONS] <PATH>
-
-Arguments:
- <PATH>
- Filesystem path to entity whose info to print
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/remote-sign.trycmd b/vendor/apple-codesign/tests/cmd/remote-sign.trycmd
deleted file mode 100644
index 3bde629..0000000
--- a/vendor/apple-codesign/tests/cmd/remote-sign.trycmd
+++ /dev/null
@@ -1,95 +0,0 @@
-```
-$ rcodesign help remote-sign
-Create signatures initiated from a remote signing operation
-
-Usage: rcodesign[EXE] remote-sign [OPTIONS] <--editor|--sjs-file <SESSION_JOIN_STRING_PATH>|SESSION_JOIN_STRING>
-
-Arguments:
- [SESSION_JOIN_STRING]
- Session join string (provided by the signing initiator)
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --editor
- Open an editor to input the session join string
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --sjs-file <SESSION_JOIN_STRING_PATH>
- Path to file containing session join string
-
- --smartcard-slot <SLOT>
- Smartcard slot number of signing certificate to use (9c is common)
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --smartcard-pin <SECRET>
- Smartcard PIN used to unlock certificate
-
- If not provided, you will be prompted for a PIN as necessary.
-
- --smartcard-pin-env <STRING>
- Environment variable holding the smartcard PIN
-
- --keychain-domain <DOMAIN>
- (macOS only) Keychain domain to operate on
-
- [possible values: user, system, common, dynamic]
-
- --keychain-fingerprint <SHA256 FINGERPRINT>
- (macOS only) SHA-256 fingerprint of certificate in Keychain to use
-
- --windows-store-name <STORE>
- (Windows only) Windows Store to operate on
-
- [possible values: user, machine, service]
-
- --windows-store-sha1-fingerprint <SHA1 FINGERPRINT>
- (Windows only) SHA-1 fingerprint of certificate in Windows Store to use
-
- --pem-file <PATH>
- Path to file containing PEM encoded certificate/key data
-
- --p12-file <PATH>
- Path to a .p12/PFX file containing a certificate key pair
-
- --p12-password <SECRET>
- The password to use to open the --p12-file file
-
- --p12-password-file <PATH>
- Path to file containing password for opening --p12-file file
-
- --remote-signing-url <URL>
- URL of a remote code signing server
-
- --remote-public-key <BASE64 ENCODED PUBLIC KEY>
- Base64 encoded public key data describing the signer
-
- --remote-public-key-pem-file <PATH>
- PEM encoded public key data describing the signer
-
- --remote-shared-secret <SECRET>
- Shared secret used for remote signing
-
- --remote-shared-secret-env <ENV VAR NAME>
- Environment variable holding the shared secret used for remote signing
-
- --certificate-der-file <PATH>
- Path to file containing DER encoded certificate data
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-binary-identifier.trycmd b/vendor/apple-codesign/tests/cmd/sign-binary-identifier.trycmd
deleted file mode 100644
index bbc36bf..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-binary-identifier.trycmd
+++ /dev/null
@@ -1,113 +0,0 @@
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign --binary-identifier my-binary exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 8ecbc87f8c751be9a6048b546f52eb817a34d1ac3839cc7763a14445a2068140
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16778 / 0x418a
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 394 / 0x18a
- linkedit_bytes_after_signature: 5766 / 0x1686
- signature:
- superblob_length: 378 / 0x17a
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 322
- sha1: c1f056da05543dc711b509c2d63e71ced1af1c9d
- sha256: 8b710dbe31e6e2eecf6d8eaa6451a8f6afdf6a9cb0baa2f88cc0474ee5138889
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: my-binary
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-$ rcodesign sign exe.signed exe.signed.2
-signing exe.signed to exe.signed.2
-signing exe.signed as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed.2
-
-$ rcodesign print-signature-info exe.signed.2
-- path: exe.signed.2
- file_size: 22544
- file_sha256: 8ecbc87f8c751be9a6048b546f52eb817a34d1ac3839cc7763a14445a2068140
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16778 / 0x418a
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 394 / 0x18a
- linkedit_bytes_after_signature: 5766 / 0x1686
- signature:
- superblob_length: 378 / 0x17a
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 322
- sha1: c1f056da05543dc711b509c2d63e71ced1af1c9d
- sha256: 8b710dbe31e6e2eecf6d8eaa6451a8f6afdf6a9cb0baa2f88cc0474ee5138889
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: my-binary
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-dsym.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-dsym.trycmd
deleted file mode 100644
index 62e4e1b..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-dsym.trycmd
+++ /dev/null
@@ -1,251 +0,0 @@
-Sign an application bundle with debug symbols in a .dSYM directory.
-
-```
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ mkdir -p MyApp.app/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/DWARF
-$ mkdir -p MyApp.app/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/Relocations/aarch64
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp.app.dSYM --package-type dSYM MyApp.app/Contents/MacOS/MyApp.app.dSYM/Contents/Info.plist
-writing MyApp.app/Contents/MacOS/MyApp.app.dSYM/Contents/Info.plist
-
-$ touch MyApp.app/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/DWARF/MyApp
-$ touch MyApp.app/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/Relocations/aarch64/MyApp.yml
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f 5ae6736f434bcc89d779 MyApp.app.signed/Contents/MacOS/MyApp
-d MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM
-d MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents
-f 6708b8b2252c5817e214 MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents/Resources
-d MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/DWARF
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/DWARF/MyApp
-d MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/Relocations
-d MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/Relocations/aarch64
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/MacOS/MyApp.app.dSYM/Contents/Resources/Relocations/aarch64/MyApp.yml
-d MyApp.app.signed/Contents/_CodeSignature
-f cc2d27446655d0b25e58 MyApp.app.signed/Contents/_CodeSignature/CodeResources
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: 5ae6736f434bcc89d7797606854610aec1618993e858fc5f8ba2a487ea5af576
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: c75393bcf61044e0d10cb03c81bc74c82966b595
- sha256: daa2ade41cf51bf9664f9a81e37d8b07f14af6eb62d2d649667ac65c3f80235f
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): cc2d27446655d0b25e58aa5da3dc69320fa09d259e0215f17e6bdee93b354043'
- cms: null
-- path: Contents/MacOS/MyApp.app.dSYM/Contents/Info.plist
- file_size: 603
- file_sha256: 6708b8b2252c5817e2142a8c4a818b4463b822fd891e436583686c1b29cc061a
- entity: other
-- path: Contents/MacOS/MyApp.app.dSYM/Contents/Resources/DWARF/MyApp
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/MacOS/MyApp.app.dSYM/Contents/Resources/Relocations/aarch64/MyApp.yml
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2734
- file_sha256: cc2d27446655d0b25e58aa5da3dc69320fa09d259e0215f17e6bdee93b354043
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MacOS/MyApp.app.dSYM/Contents/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' Zwi4siUsWBfiFCqMSoGLRGO4Iv2JHkNlg2hsGynMBho='
- - ' </data>'
- - ' </dict>'
- - ' <key>MacOS/MyApp.app.dSYM/Contents/Resources/DWARF/MyApp</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>MacOS/MyApp.app.dSYM/Contents/Resources/Relocations/aarch64/MyApp.yml</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-electron.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-electron.trycmd
deleted file mode 100644
index bba0a4e..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-electron.trycmd
+++ /dev/null
@@ -1,1186 +0,0 @@
-Sign Electron.app bundle
-
-```
-$ mkdir -p "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers"
-$ mkdir -p "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries"
-$ mkdir -p "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/en.lproj"
-
-$ rcodesign debug-create-macho --file-type dylib "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework"
-assuming default minimum version 11.0.0
-writing Mach-O to Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
-
-$ rcodesign debug-create-macho "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler"
-assuming default minimum version 11.0.0
-writing Mach-O to Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler
-
-$ rcodesign debug-create-macho --file-type dylib "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib"
-assuming default minimum version 11.0.0
-writing Mach-O to Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib
-
-$ touch "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/vk_swiftshader_icd.json"
-$ touch "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/chrome_100_percent.pak"
-$ touch "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/en.lproj/locale.pak"
-$ touch "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/icudtl.dat"
-
-$ rcodesign debug-create-info-plist --bundle-name "Electron Framework" --bundle-executable "Electron Framework" --package-type FMWK --bundle-identifier com.github.Electron.framework "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/Info.plist"
-writing Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/Info.plist
-
-$ touch "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/MainMenu.nib"
-$ touch "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/resources.pak"
-$ touch "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/v8_context_snapshot.arm64.bin"
-
-$ ln -s A "Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/Current"
-$ ln -s "Versions/Current/Electron Framework" "Electron.app/Contents/Frameworks/Electron Framework.framework/Electron Framework"
-$ ln -s Versions/Current/Helpers "Electron.app/Contents/Frameworks/Electron Framework.framework/Helpers"
-$ ln -s Versions/Current/Libraries "Electron.app/Contents/Frameworks/Electron Framework.framework/Libraries"
-$ ln -s Versions/Current/Resources "Electron.app/Contents/Frameworks/Electron Framework.framework/Resources"
-
-$ mkdir -p "Electron.app/Contents/Frameworks/Electron Helper (GPU).app/Contents/MacOS"
-$ rcodesign debug-create-macho "Electron.app/Contents/Frameworks/Electron Helper (GPU).app/Contents/MacOS/Electron Helper (GPU)"
-assuming default minimum version 11.0.0
-writing Mach-O to Electron.app/Contents/Frameworks/Electron Helper (GPU).app/Contents/MacOS/Electron Helper (GPU)
-
-$ rcodesign debug-create-info-plist --bundle-name "Electron Helper (GPU)" --package-type APPL --bundle-identifier com.github.Electron.helper "Electron.app/Contents/Frameworks/Electron Helper (GPU).app/Contents/Info.plist"
-writing Electron.app/Contents/Frameworks/Electron Helper (GPU).app/Contents/Info.plist
-
-$ mkdir -p Electron.app/Contents/Frameworks/Mantle.framework/Versions/A/Resources
-
-$ rcodesign debug-create-macho --file-type dylib Electron.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
-assuming default minimum version 11.0.0
-writing Mach-O to Electron.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
-
-$ rcodesign debug-create-info-plist --bundle-name Mantle --bundle-executable Mantle --bundle-identifier org.mantle.Mantle --package-type FMWK Electron.app/Contents/Frameworks/Mantle.framework/Versions/A/Resources/Info.plist
-writing Electron.app/Contents/Frameworks/Mantle.framework/Versions/A/Resources/Info.plist
-
-$ ln -s A Electron.app/Contents/Frameworks/Mantle.framework/Versions/Current
-$ ln -s Versions/Current/Mantle Electron.app/Contents/Frameworks/Mantle.framework/Mantle
-$ ln -s Versions/Current/Resources Electron.app/Contents/Frameworks/Mantle.framework/Resources
-
-$ rcodesign debug-create-macho Electron.app/Contents/MacOS/Electron
-assuming default minimum version 11.0.0
-writing Mach-O to Electron.app/Contents/MacOS/Electron
-
-$ rcodesign debug-create-info-plist --bundle-name Electron --bundle-identifier com.github.Electron --bundle-executable Electron Electron.app/Contents/Info.plist
-writing Electron.app/Contents/Info.plist
-
-$ mkdir -p Electron.app/Contents/Resources
-$ touch Electron.app/Contents/Resources/default_app.asar
-$ touch Electron.app/Contents/Resources/en.lproj
-$ touch Electron.app/Contents/Resources/electron.icns
-
-$ rcodesign sign --code-signature-flags "Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework:runtime" Electron.app Electron.app.signed
-adding code signature flag CodeSignatureFlags(RUNTIME) to path Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
-signing Electron.app to Electron.app.signed
-signing bundle at Electron.app
-signing 5 nested bundles in the following order:
-Contents/Frameworks/Electron Framework.framework/Versions/A
-Contents/Frameworks/Electron Framework.framework
-Contents/Frameworks/Mantle.framework/Versions/A
-Contents/Frameworks/Electron Helper (GPU).app
-Contents/Frameworks/Mantle.framework
-entering nested bundle Contents/Frameworks/Electron Framework.framework/Versions/A
-signing bundle at Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A into Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A
-signing Mach-O file Helpers/chrome_crashpad_handler
-signing Mach-O file Libraries/libEGL.dylib
-signing main executable Electron Framework
-leaving nested bundle Contents/Frameworks/Electron Framework.framework/Versions/A
-entering nested bundle Contents/Frameworks/Electron Framework.framework
-signing bundle at Electron.app/Contents/Frameworks/Electron Framework.framework into Electron.app.signed/Contents/Frameworks/Electron Framework.framework
-leaving nested bundle Contents/Frameworks/Electron Framework.framework
-entering nested bundle Contents/Frameworks/Mantle.framework/Versions/A
-signing bundle at Electron.app/Contents/Frameworks/Mantle.framework/Versions/A into Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/A
-signing main executable Mantle
-leaving nested bundle Contents/Frameworks/Mantle.framework/Versions/A
-entering nested bundle Contents/Frameworks/Electron Helper (GPU).app
-signing bundle at Electron.app/Contents/Frameworks/Electron Helper (GPU).app into Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app
-signing main executable Contents/MacOS/Electron Helper (GPU)
-leaving nested bundle Contents/Frameworks/Electron Helper (GPU).app
-entering nested bundle Contents/Frameworks/Mantle.framework
-signing bundle at Electron.app/Contents/Frameworks/Mantle.framework into Electron.app.signed/Contents/Frameworks/Mantle.framework
-leaving nested bundle Contents/Frameworks/Mantle.framework
-signing bundle at Electron.app into Electron.app.signed
-signing main executable Contents/MacOS/Electron
-
-$ rcodesign debug-file-tree Electron.app.signed
-d Electron.app.signed/
-d Electron.app.signed/Contents
-d Electron.app.signed/Contents/Frameworks
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework
-l Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Electron Framework -> Versions/Current/Electron Framework
-l Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Helpers -> Versions/Current/Helpers
-l Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Libraries -> Versions/Current/Libraries
-l Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Resources -> Versions/Current/Resources
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A
-f aecbcafc6b0d73a2b6a7 Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers
-f 136b73cf509765caec58 Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries
-f 554535fd2d43b0025065 Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/vk_swiftshader_icd.json
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources
-f ca20386388c65cc79004 Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/Info.plist
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/MainMenu.nib
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/chrome_100_percent.pak
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/en.lproj
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/en.lproj/locale.pak
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/icudtl.dat
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/resources.pak
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/v8_context_snapshot.arm64.bin
-d Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/_CodeSignature
-f 0875b5aa7dfec9d4966a Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/A/_CodeSignature/CodeResources
-l Electron.app.signed/Contents/Frameworks/Electron Framework.framework/Versions/Current -> A
-d Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app
-d Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app/Contents
-f 7d16bb3cf776fb0a7eb0 Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app/Contents/Info.plist
-d Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app/Contents/MacOS
-f 35677ddaf12c56b88860 Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app/Contents/MacOS/Electron Helper (GPU)
-d Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app/Contents/_CodeSignature
-f 6686de10a28a2fe11b36 Electron.app.signed/Contents/Frameworks/Electron Helper (GPU).app/Contents/_CodeSignature/CodeResources
-d Electron.app.signed/Contents/Frameworks/Mantle.framework
-l Electron.app.signed/Contents/Frameworks/Mantle.framework/Mantle -> Versions/Current/Mantle
-l Electron.app.signed/Contents/Frameworks/Mantle.framework/Resources -> Versions/Current/Resources
-d Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions
-d Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/A
-f ce8d29746a1cc2fb4036 Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
-d Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/A/Resources
-f 542d886f74e466a0958e Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/A/Resources/Info.plist
-d Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/A/_CodeSignature
-f 738650a98f84347da27c Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/A/_CodeSignature/CodeResources
-l Electron.app.signed/Contents/Frameworks/Mantle.framework/Versions/Current -> A
-f 863f967826aa4c32179d Electron.app.signed/Contents/Info.plist
-d Electron.app.signed/Contents/MacOS
-f 43225c3096a343375eaf Electron.app.signed/Contents/MacOS/Electron
-d Electron.app.signed/Contents/Resources
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Resources/default_app.asar
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Resources/electron.icns
-f e3b0c44298fc1c149afb Electron.app.signed/Contents/Resources/en.lproj
-d Electron.app.signed/Contents/_CodeSignature
-f 55ce55777af6a66c7737 Electron.app.signed/Contents/_CodeSignature/CodeResources
-
-$ rcodesign print-signature-info Electron.app.signed
-- path: Contents/Frameworks/Electron Framework.framework/Electron Framework
- symlink_target: Versions/Current/Electron Framework
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Helpers
- symlink_target: Versions/Current/Helpers
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Libraries
- symlink_target: Versions/Current/Libraries
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Resources
- symlink_target: Versions/Current/Resources
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
- file_size: 22544
- file_sha256: aecbcafc6b0d73a2b6a790ab5fcc0cfff832f554bdd8a06908f75fc7b8a52ab6
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16838 / 0x41c6
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 454 / 0x1c6
- linkedit_bytes_after_signature: 5706 / 0x164a
- signature:
- superblob_length: 438 / 0x1b6
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 382
- sha1: 43ebaf4eed05cf2c196a5de7646d1d2318943c8d
- sha256: 20a9e60c295ac2feaa3be81e5b995e8fcf0cc26913acb3ee7c21673f9c1d2895
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20500'
- flags: CodeSignatureFlags(ADHOC | RUNTIME)
- identifier: com.github.Electron.framework
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- runtime_version: 11.0.0
- code_digests_count: 5
- slot_digests:
- - 'Info (1): ca20386388c65cc7900433ebe743ff74f302160c0de829874df9a9839f318e4a'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 0875b5aa7dfec9d4966a7abff771ad8c7d8e4f3ec8b8d7390e571601076ae04c'
- cms: null
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler
- file_size: 22544
- file_sha256: 136b73cf509765caec58c914847548ef1660ba6cf293c4bfa7ef51e8d417b8eb
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16792 / 0x4198
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 408 / 0x198
- linkedit_bytes_after_signature: 5752 / 0x1678
- signature:
- superblob_length: 392 / 0x188
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 336
- sha1: 6c5f9e19c9aa10787bceb2128bac1531c942e117
- sha256: 70d3c12507e0ddc998a4843c10780f456fd2d95a56e6f23de7197841fb6d7395
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: chrome_crashpad_handler
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib
- file_size: 22544
- file_sha256: 554535fd2d43b00250656c38f9944a1d18feb40a11e3631099749bc6c71d3c6b
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16775 / 0x4187
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 391 / 0x187
- linkedit_bytes_after_signature: 5769 / 0x1689
- signature:
- superblob_length: 375 / 0x177
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 319
- sha1: a77fab6390bed2e3317940fb6c4a7f2935af5545
- sha256: 3226b5a3048d6276f4e9a797ad7066b44620ef7530bef8838205d64a966ac8cb
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: libEGL
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/vk_swiftshader_icd.json
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/Info.plist
- file_size: 624
- file_sha256: ca20386388c65cc7900433ebe743ff74f302160c0de829874df9a9839f318e4a
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/MainMenu.nib
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/chrome_100_percent.pak
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/en.lproj/locale.pak
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/icudtl.dat
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/resources.pak
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/v8_context_snapshot.arm64.bin
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Electron Framework.framework/Versions/A/_CodeSignature/CodeResources
- file_size: 4531
- file_sha256: 0875b5aa7dfec9d4966a7abff771ad8c7d8e4f3ec8b8d7390e571601076ae04c
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <data>'
- - ' oGzbq3iJoIFhpLZNxk9WdYGW72I='
- - ' </data>'
- - ' <key>Resources/MainMenu.nib</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/chrome_100_percent.pak</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/en.lproj/locale.pak</key>'
- - ' <dict>'
- - ' <key>hash</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>Resources/icudtl.dat</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/resources.pak</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/v8_context_snapshot.arm64.bin</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Helpers/chrome_crashpad_handler</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' cNPBJQfg3cmYpIQ8EHgPRW/S2Vo='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"70d3c12507e0ddc998a4843c10780f456fd2d95a"</string>'
- - ' </dict>'
- - ' <key>Libraries/libEGL.dylib</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' VUU1/S1DsAJQZWw4+ZRKHRj+tAoR42MQmXSbxscdPGs='
- - ' </data>'
- - ' </dict>'
- - ' <key>Libraries/vk_swiftshader_icd.json</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' yiA4Y4jGXMeQBDPr50P/dPMCFgwN6CmHTfmpg58xjko='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/MainMenu.nib</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/chrome_100_percent.pak</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/en.lproj/locale.pak</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>Resources/icudtl.dat</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/resources.pak</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/v8_context_snapshot.arm64.bin</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/Frameworks/Electron Framework.framework/Versions/Current
- symlink_target: A
- entity: other
-- path: Contents/Frameworks/Electron Helper (GPU).app/Contents/Info.plist
- file_size: 630
- file_sha256: 7d16bb3cf776fb0a7eb0ee77fd040468fc1e8723546668b11cdb23896bff0c9e
- entity: other
-- path: Contents/Frameworks/Electron Helper (GPU).app/Contents/MacOS/Electron Helper (GPU)
- file_size: 22544
- file_sha256: 35677ddaf12c56b888602e18d84d6f6ed83965f8124487a22b508494f202943d
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16827 / 0x41bb
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 443 / 0x1bb
- linkedit_bytes_after_signature: 5717 / 0x1655
- signature:
- superblob_length: 427 / 0x1ab
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 371
- sha1: efa4ded29dd90f2ab5534e24b57a5b05111110a8
- sha256: da49ede188bbfd7c14e387d2b33f498576a047e7c77b2874a5381328835ac8ec
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.github.Electron.helper
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 7d16bb3cf776fb0a7eb0ee77fd040468fc1e8723546668b11cdb23896bff0c9e'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 6686de10a28a2fe11b36cbb86dcbacc827cfc4ea116b4dabf1845e5aee629e9b'
- cms: null
-- path: Contents/Frameworks/Electron Helper (GPU).app/Contents/_CodeSignature/CodeResources
- file_size: 2200
- file_sha256: 6686de10a28a2fe11b36cbb86dcbacc827cfc4ea116b4dabf1845e5aee629e9b
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict/>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/Frameworks/Mantle.framework/Mantle
- symlink_target: Versions/Current/Mantle
- entity: other
-- path: Contents/Frameworks/Mantle.framework/Resources
- symlink_target: Versions/Current/Resources
- entity: other
-- path: Contents/Frameworks/Mantle.framework/Versions/A/Mantle
- file_size: 22544
- file_sha256: ce8d29746a1cc2fb403658ca802576f05dd5ddc2a43ec20e966e52b08eef025e
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16818 / 0x41b2
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 434 / 0x1b2
- linkedit_bytes_after_signature: 5726 / 0x165e
- signature:
- superblob_length: 418 / 0x1a2
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 362
- sha1: 90daedaf7217c1c2058237690b3e7f3bc16fb5da
- sha256: b53e751c8bbc19ce5c434090de9171fdbeaa5572b32c782d07c6d0dee50765ea
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: org.mantle.Mantle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 542d886f74e466a0958e74db24ee7bf72f59a6813aacd5309e44b097c6806ea1'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 738650a98f84347da27c928a05de06a52d205cc1ba4ea1d8befe4d0656cc0dd4'
- cms: null
-- path: Contents/Frameworks/Mantle.framework/Versions/A/Resources/Info.plist
- file_size: 576
- file_sha256: 542d886f74e466a0958e74db24ee7bf72f59a6813aacd5309e44b097c6806ea1
- entity: other
-- path: Contents/Frameworks/Mantle.framework/Versions/A/_CodeSignature/CodeResources
- file_size: 2442
- file_sha256: 738650a98f84347da27c928a05de06a52d205cc1ba4ea1d8befe4d0656cc0dd4
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <data>'
- - ' SfsfCgls/vD7J5tPNoHNVLGUdY8='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' VC2Ib3TkZqCVjnTbJO579y9ZpoE6rNUwnkSwl8aAbqE='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/Frameworks/Mantle.framework/Versions/Current
- symlink_target: A
- entity: other
-- path: Contents/Info.plist
- file_size: 584
- file_sha256: 863f967826aa4c32179d88ce7febeef529aed41c05ba2204c79dd1d2ab6b7296
- entity: other
-- path: Contents/MacOS/Electron
- file_size: 22544
- file_sha256: 43225c3096a343375eafa4cc06943b42078759fe5c646a47c339beee1d308916
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16820 / 0x41b4
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 436 / 0x1b4
- linkedit_bytes_after_signature: 5724 / 0x165c
- signature:
- superblob_length: 420 / 0x1a4
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 364
- sha1: 1aff0dbb9a326f29d800a20f379478279408ba8a
- sha256: 1e456159572536196ec7ef24333775d60f574f9c41fd7b0bfc3ce6555a5ac67a
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.github.Electron
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 863f967826aa4c32179d88ce7febeef529aed41c05ba2204c79dd1d2ab6b7296'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 55ce55777af6a66c773763e8dd721846485283d9d6b3b0ac6b91a6e90eb6954c'
- cms: null
-- path: Contents/Resources/default_app.asar
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Resources/electron.icns
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Resources/en.lproj
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/_CodeSignature/CodeResources
- file_size: 3622
- file_sha256: 55ce55777af6a66c773763e8dd721846485283d9d6b3b0ac6b91a6e90eb6954c
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/default_app.asar</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/electron.icns</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/en.lproj</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Frameworks/Electron Framework.framework</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' IKnmDClawv6qO+geW5lej88Mwmk='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"20a9e60c295ac2feaa3be81e5b995e8fcf0cc269"</string>'
- - ' </dict>'
- - ' <key>Frameworks/Electron Helper (GPU).app</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' 2knt4Yi7/XwU44fSsz9JhXagR+c='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"da49ede188bbfd7c14e387d2b33f498576a047e7"</string>'
- - ' </dict>'
- - ' <key>Frameworks/Mantle.framework</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' tT51HIu8Gc5cQ0CQ3pFx/b6qVXI='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"b53e751c8bbc19ce5c434090de9171fdbeaa5572"</string>'
- - ' </dict>'
- - ' <key>Resources/default_app.asar</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/electron.icns</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/en.lproj</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-exclude.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-exclude.trycmd
deleted file mode 100644
index 82ac25e..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-exclude.trycmd
+++ /dev/null
@@ -1,277 +0,0 @@
---exclude skips signing a nested bundle
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign debug-create-macho --file-type dylib MyApp.app/Contents/Frameworks/MyFramework.framework/Versions/A/MyFramework
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/Frameworks/MyFramework.framework/Versions/A/MyFramework
-
-$ rcodesign debug-create-info-plist --bundle-name MyFramework MyApp.app/Contents/Frameworks/MyFramework.framework/Versions/A/Resources/Info.plist
-writing MyApp.app/Contents/Frameworks/MyFramework.framework/Versions/A/Resources/Info.plist
-
-$ ln -s A MyApp.app/Contents/Frameworks/MyFramework.framework/Versions/Current
-$ ln -s Versions/Current/Resources MyApp.app/Contents/Frameworks/MyFramework.framework/Resources
-
-$ rcodesign sign --exclude 'Contents/Frameworks/MyFramework.framework' MyApp.app MyApp.app.NoMyFramework
-signing MyApp.app to MyApp.app.NoMyFramework
-signing bundle at MyApp.app
-signing 2 nested bundles in the following order:
-Contents/Frameworks/MyFramework.framework/Versions/A
-Contents/Frameworks/MyFramework.framework
-entering nested bundle Contents/Frameworks/MyFramework.framework/Versions/A
-signing bundle at MyApp.app/Contents/Frameworks/MyFramework.framework/Versions/A into MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/A
-signing main executable MyFramework
-leaving nested bundle Contents/Frameworks/MyFramework.framework/Versions/A
-entering nested bundle Contents/Frameworks/MyFramework.framework
-bundle is in exclusion list; it will be copied instead of signed
-leaving nested bundle Contents/Frameworks/MyFramework.framework
-signing bundle at MyApp.app into MyApp.app.NoMyFramework
-could not find main executable of presumed nested bundle: Contents/Frameworks/MyFramework.framework
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.NoMyFramework
-d MyApp.app.NoMyFramework/
-d MyApp.app.NoMyFramework/Contents
-d MyApp.app.NoMyFramework/Contents/Frameworks
-d MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework
-l MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Resources -> Versions/Current/Resources
-d MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions
-d MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/A
-f 6249a5455b5d60d322dc MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/A/MyFramework
-d MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/A/Resources
-f 53c337af0bf7c0762126 MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/A/Resources/Info.plist
-d MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/A/_CodeSignature
-f 6d524dfa68ea926bcc0e MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/A/_CodeSignature/CodeResources
-l MyApp.app.NoMyFramework/Contents/Frameworks/MyFramework.framework/Versions/Current -> A
-f 0a5902dc8e47f490d038 MyApp.app.NoMyFramework/Contents/Info.plist
-d MyApp.app.NoMyFramework/Contents/MacOS
-f 5320635ab22c67638660 MyApp.app.NoMyFramework/Contents/MacOS/MyApp
-d MyApp.app.NoMyFramework/Contents/_CodeSignature
-f 6686de10a28a2fe11b36 MyApp.app.NoMyFramework/Contents/_CodeSignature/CodeResources
-
-$ rcodesign sign --exclude 'Contents/Frameworks/MyFramework.framework/**' MyApp.app MyApp.app.NoMyFrameworkDoubleWild
-signing MyApp.app to MyApp.app.NoMyFrameworkDoubleWild
-signing bundle at MyApp.app
-signing 2 nested bundles in the following order:
-Contents/Frameworks/MyFramework.framework/Versions/A
-Contents/Frameworks/MyFramework.framework
-entering nested bundle Contents/Frameworks/MyFramework.framework/Versions/A
-bundle is in exclusion list; it will be copied instead of signed
-leaving nested bundle Contents/Frameworks/MyFramework.framework/Versions/A
-entering nested bundle Contents/Frameworks/MyFramework.framework
-signing bundle at MyApp.app/Contents/Frameworks/MyFramework.framework into MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework
-leaving nested bundle Contents/Frameworks/MyFramework.framework
-signing bundle at MyApp.app into MyApp.app.NoMyFrameworkDoubleWild
-could not find main executable of presumed nested bundle: Contents/Frameworks/MyFramework.framework
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.NoMyFrameworkDoubleWild
-d MyApp.app.NoMyFrameworkDoubleWild/
-d MyApp.app.NoMyFrameworkDoubleWild/Contents
-d MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks
-d MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework
-l MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework/Resources -> Versions/Current/Resources
-d MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework/Versions
-d MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A
-f 8d89209153a67993e6ee MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A/MyFramework
-d MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A/Resources
-f 53c337af0bf7c0762126 MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A/Resources/Info.plist
-l MyApp.app.NoMyFrameworkDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/Current -> A
-f 0a5902dc8e47f490d038 MyApp.app.NoMyFrameworkDoubleWild/Contents/Info.plist
-d MyApp.app.NoMyFrameworkDoubleWild/Contents/MacOS
-f 5320635ab22c67638660 MyApp.app.NoMyFrameworkDoubleWild/Contents/MacOS/MyApp
-d MyApp.app.NoMyFrameworkDoubleWild/Contents/_CodeSignature
-f 6686de10a28a2fe11b36 MyApp.app.NoMyFrameworkDoubleWild/Contents/_CodeSignature/CodeResources
-
-$ rcodesign sign --exclude 'Contents/Frameworks/**' MyApp.app MyApp.app.NoFrameworksDoubleWild
-signing MyApp.app to MyApp.app.NoFrameworksDoubleWild
-signing bundle at MyApp.app
-signing 2 nested bundles in the following order:
-Contents/Frameworks/MyFramework.framework/Versions/A
-Contents/Frameworks/MyFramework.framework
-entering nested bundle Contents/Frameworks/MyFramework.framework/Versions/A
-bundle is in exclusion list; it will be copied instead of signed
-leaving nested bundle Contents/Frameworks/MyFramework.framework/Versions/A
-entering nested bundle Contents/Frameworks/MyFramework.framework
-bundle is in exclusion list; it will be copied instead of signed
-leaving nested bundle Contents/Frameworks/MyFramework.framework
-signing bundle at MyApp.app into MyApp.app.NoFrameworksDoubleWild
-could not find main executable of presumed nested bundle: Contents/Frameworks/MyFramework.framework
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.NoFrameworksDoubleWild
-d MyApp.app.NoFrameworksDoubleWild/
-d MyApp.app.NoFrameworksDoubleWild/Contents
-d MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks
-d MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework
-l MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework/Resources -> Versions/Current/Resources
-d MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework/Versions
-d MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A
-f 8d89209153a67993e6ee MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A/MyFramework
-d MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A/Resources
-f 53c337af0bf7c0762126 MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/A/Resources/Info.plist
-l MyApp.app.NoFrameworksDoubleWild/Contents/Frameworks/MyFramework.framework/Versions/Current -> A
-f 0a5902dc8e47f490d038 MyApp.app.NoFrameworksDoubleWild/Contents/Info.plist
-d MyApp.app.NoFrameworksDoubleWild/Contents/MacOS
-f 5320635ab22c67638660 MyApp.app.NoFrameworksDoubleWild/Contents/MacOS/MyApp
-d MyApp.app.NoFrameworksDoubleWild/Contents/_CodeSignature
-f 6686de10a28a2fe11b36 MyApp.app.NoFrameworksDoubleWild/Contents/_CodeSignature/CodeResources
-
-$ rm -rf MyApp.app
-
-```
-
-Validate exclusion of Mach-O binaries
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/macos-bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/macos-bin
-
-$ rcodesign debug-create-macho MyApp.app/Contents/Resources/resource-bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/Resources/resource-bin
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign sign --exclude Contents/MacOS/macos-bin MyApp.app MyApp.app.NoMacOSBin
-? 1
-signing MyApp.app to MyApp.app.NoMacOSBin
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.NoMacOSBin
-skipping signing of nested Mach-O binary because excluded by settings: Contents/MacOS/macos-bin
-(an error will occur if this binary is not already signed)
-(if you see an error, sign that Mach-O explicitly or remove it from the exclusion settings)
-Error: binary does not have code signature data
-
-$ rcodesign sign MyApp.app/Contents/MacOS/macos-bin
-signing MyApp.app/Contents/MacOS/macos-bin in place
-signing MyApp.app/Contents/MacOS/macos-bin as a Mach-O binary
-setting binary identifier to macos-bin
-parsing Mach-O
-writing Mach-O to MyApp.app/Contents/MacOS/macos-bin
-
-$ rcodesign sign --exclude Contents/MacOS/macos-bin MyApp.app MyApp.app.NoMacOSBin
-signing MyApp.app to MyApp.app.NoMacOSBin
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.NoMacOSBin
-skipping signing of nested Mach-O binary because excluded by settings: Contents/MacOS/macos-bin
-(an error will occur if this binary is not already signed)
-(if you see an error, sign that Mach-O explicitly or remove it from the exclusion settings)
-signing Mach-O file Contents/Resources/resource-bin
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.NoMacOSBin
-d MyApp.app.NoMacOSBin/
-d MyApp.app.NoMacOSBin/Contents
-f 0a5902dc8e47f490d038 MyApp.app.NoMacOSBin/Contents/Info.plist
-d MyApp.app.NoMacOSBin/Contents/MacOS
-f 83e61e1e1c3407ff46d1 MyApp.app.NoMacOSBin/Contents/MacOS/MyApp
-f 90dd49841af359158311 MyApp.app.NoMacOSBin/Contents/MacOS/macos-bin
-d MyApp.app.NoMacOSBin/Contents/Resources
-f 30b6fef6ae310318e47f MyApp.app.NoMacOSBin/Contents/Resources/resource-bin
-d MyApp.app.NoMacOSBin/Contents/_CodeSignature
-f 0acb1d044d421846ebc7 MyApp.app.NoMacOSBin/Contents/_CodeSignature/CodeResources
-
-$ rcodesign sign --exclude Contents/Resources/resource-bin MyApp.app MyApp.app.NoResourcesBin
-signing MyApp.app to MyApp.app.NoResourcesBin
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.NoResourcesBin
-signing Mach-O file Contents/MacOS/macos-bin
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.NoResourcesBin
-d MyApp.app.NoResourcesBin/
-d MyApp.app.NoResourcesBin/Contents
-f 0a5902dc8e47f490d038 MyApp.app.NoResourcesBin/Contents/Info.plist
-d MyApp.app.NoResourcesBin/Contents/MacOS
-f 322195d604cd3061f59d MyApp.app.NoResourcesBin/Contents/MacOS/MyApp
-f 90dd49841af359158311 MyApp.app.NoResourcesBin/Contents/MacOS/macos-bin
-d MyApp.app.NoResourcesBin/Contents/Resources
-f 4cfaf70bc9fb6827fcf7 MyApp.app.NoResourcesBin/Contents/Resources/resource-bin
-d MyApp.app.NoResourcesBin/Contents/_CodeSignature
-f a1c3ba13551ece11eda7 MyApp.app.NoResourcesBin/Contents/_CodeSignature/CodeResources
-
-$ rm -rf MyApp.app
-
-```
-
-Exclude a Mach-O in a nested bundle
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/Extra
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/Extra
-
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/extra-bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/extra-bin
-
-$ rcodesign sign MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/extra-bin
-signing MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/extra-bin in place
-signing MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/extra-bin as a Mach-O binary
-setting binary identifier to extra-bin
-parsing Mach-O
-writing Mach-O to MyApp.app/Contents/MacOS/Extra.app/Contents/MacOS/extra-bin
-
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/Extra.app/Contents/Resources/resource-bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/Extra.app/Contents/Resources/resource-bin
-
-$ rcodesign debug-create-info-plist --bundle-name Extra MyApp.app/Contents/MacOS/Extra.app/Contents/Info.plist
-writing MyApp.app/Contents/MacOS/Extra.app/Contents/Info.plist
-
-$ rcodesign sign --exclude Contents/MacOS/Extra.app/Contents/MacOS/extra-bin --exclude Contents/MacOS/Extra.app/Contents/Resources/resource-bin MyApp.app MyApp.app.NoExtraBin
-signing MyApp.app to MyApp.app.NoExtraBin
-signing bundle at MyApp.app
-signing 1 nested bundles in the following order:
-Contents/MacOS/Extra.app
-entering nested bundle Contents/MacOS/Extra.app
-signing bundle at MyApp.app/Contents/MacOS/Extra.app into MyApp.app.NoExtraBin/Contents/MacOS/Extra.app
-skipping signing of nested Mach-O binary because excluded by settings: Contents/MacOS/extra-bin
-(an error will occur if this binary is not already signed)
-(if you see an error, sign that Mach-O explicitly or remove it from the exclusion settings)
-signing main executable Contents/MacOS/Extra
-leaving nested bundle Contents/MacOS/Extra.app
-signing bundle at MyApp.app into MyApp.app.NoExtraBin
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.NoExtraBin
-d MyApp.app.NoExtraBin/
-d MyApp.app.NoExtraBin/Contents
-f 0a5902dc8e47f490d038 MyApp.app.NoExtraBin/Contents/Info.plist
-d MyApp.app.NoExtraBin/Contents/MacOS
-d MyApp.app.NoExtraBin/Contents/MacOS/Extra.app
-d MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents
-f 63154cc4f75820c926eb MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/Info.plist
-d MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/MacOS
-f 0c02af539846df8f4e94 MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/MacOS/Extra
-f c83cc7362ebbacb94ac0 MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/MacOS/extra-bin
-d MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/Resources
-f 4cfaf70bc9fb6827fcf7 MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/Resources/resource-bin
-d MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/_CodeSignature
-f 596d62f4669d89f6bc8e MyApp.app.NoExtraBin/Contents/MacOS/Extra.app/Contents/_CodeSignature/CodeResources
-f 1efc495c2cb290e5b2d3 MyApp.app.NoExtraBin/Contents/MacOS/MyApp
-d MyApp.app.NoExtraBin/Contents/_CodeSignature
-f c9a63c1dbccfd48e50b5 MyApp.app.NoExtraBin/Contents/_CodeSignature/CodeResources
-
-$ rm -rf MyApp.app
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-framework-shallow.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-framework-shallow.trycmd
deleted file mode 100644
index d906eb8..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-framework-shallow.trycmd
+++ /dev/null
@@ -1,236 +0,0 @@
-```
-$ rcodesign debug-create-info-plist --bundle-name Shallow.framework --package-type FMWK Shallow.framework/Resources/Info.plist
-writing Shallow.framework/Resources/Info.plist
-
-$ rcodesign debug-create-macho --file-type dylib Shallow.framework/Shallow
-assuming default minimum version 11.0.0
-writing Mach-O to Shallow.framework/Shallow
-
-$ touch Shallow.framework/Resources/root-00.txt
-
-$ rcodesign sign Shallow.framework Shallow.framework.signed
-signing Shallow.framework to Shallow.framework.signed
-signing bundle at Shallow.framework
-signing bundle at Shallow.framework into Shallow.framework.signed
-signing Mach-O file Shallow
-bundle has no main executable to sign specially
-
-$ rcodesign debug-file-tree Shallow.framework.signed
-d Shallow.framework.signed/
-d Shallow.framework.signed/Resources
-f 4ccd32815c007b1014a9 Shallow.framework.signed/Resources/Info.plist
-f e3b0c44298fc1c149afb Shallow.framework.signed/Resources/root-00.txt
-f 6b0a00ccc659f8758965 Shallow.framework.signed/Shallow
-d Shallow.framework.signed/_CodeSignature
-f 7c9c39f0c67dd8f067b9 Shallow.framework.signed/_CodeSignature/CodeResources
-
-$ rcodesign print-signature-info Shallow.framework.signed
-- path: Resources/Info.plist
- file_size: 612
- file_sha256: 4ccd32815c007b1014a9e9a626cd9ebc5ada1f96b7535f2e2bdc6fb74534eefa
- entity: other
-- path: Resources/root-00.txt
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Shallow
- file_size: 22544
- file_sha256: 6b0a00ccc659f875896592dd0974113fcff7d5bf588ac9cc43a8598083fc6639
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16776 / 0x4188
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 392 / 0x188
- linkedit_bytes_after_signature: 5768 / 0x1688
- signature:
- superblob_length: 376 / 0x178
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 320
- sha1: 65759643d79669d331bc4e5db3269e8d4767abd5
- sha256: 93fce90cf45628debc178cc1ef869e5f24b035c649ed7fdd1adaa7d9f6f11f5f
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: Shallow
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: _CodeSignature/CodeResources
- file_size: 2881
- file_sha256: 7c9c39f0c67dd8f067b908c37b1c05fe22010f377ab8f441753586c4e269df8f
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <data>'
- - ' LviF5BS72euY+yGkNlp3uTcDLCY='
- - ' </data>'
- - ' <key>Resources/root-00.txt</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TM0ygVwAexAUqemmJs2evFraH5a3U18uK9xvt0U07vo='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/root-00.txt</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Shallow</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' k/zpDPRWKN68F4zB74aeXySwNcY='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"93fce90cf45628debc178cc1ef869e5f24b035c6"</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-framework.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-framework.trycmd
deleted file mode 100644
index cb2d70f..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-framework.trycmd
+++ /dev/null
@@ -1,254 +0,0 @@
-```
-$ rcodesign debug-create-info-plist --bundle-name MyFramework.framework --package-type FMWK MyFramework.framework/Versions/A/Resources/Info.plist
-writing MyFramework.framework/Versions/A/Resources/Info.plist
-
-$ rcodesign debug-create-macho --file-type dylib MyFramework.framework/Versions/A/MyFramework
-assuming default minimum version 11.0.0
-writing Mach-O to MyFramework.framework/Versions/A/MyFramework
-
-$ ln -s A MyFramework.framework/Versions/Current
-$ ln -s Versions/Current/Resources MyFramework.framework/Resources
-
-$ touch MyFramework.framework/Versions/A/Resources/root-A-00.txt
-
-$ rcodesign sign MyFramework.framework MyFramework.framework.signed
-signing MyFramework.framework to MyFramework.framework.signed
-signing bundle at MyFramework.framework
-signing 1 nested bundles in the following order:
-Versions/A
-entering nested bundle Versions/A
-signing bundle at MyFramework.framework/Versions/A into MyFramework.framework.signed/Versions/A
-signing Mach-O file MyFramework
-bundle has no main executable to sign specially
-leaving nested bundle Versions/A
-signing bundle at MyFramework.framework into MyFramework.framework.signed
-
-$ rcodesign debug-file-tree MyFramework.framework.signed
-d MyFramework.framework.signed/
-l MyFramework.framework.signed/Resources -> Versions/Current/Resources
-d MyFramework.framework.signed/Versions
-d MyFramework.framework.signed/Versions/A
-f cec50992ab98ca143999 MyFramework.framework.signed/Versions/A/MyFramework
-d MyFramework.framework.signed/Versions/A/Resources
-f 419720e3c25babc998d6 MyFramework.framework.signed/Versions/A/Resources/Info.plist
-f e3b0c44298fc1c149afb MyFramework.framework.signed/Versions/A/Resources/root-A-00.txt
-d MyFramework.framework.signed/Versions/A/_CodeSignature
-f 7421218291c85cdd725f MyFramework.framework.signed/Versions/A/_CodeSignature/CodeResources
-l MyFramework.framework.signed/Versions/Current -> A
-
-$ rcodesign print-signature-info MyFramework.framework.signed
-- path: Resources
- symlink_target: Versions/Current/Resources
- entity: other
-- path: Versions/A/MyFramework
- file_size: 22544
- file_sha256: cec50992ab98ca1439994b302fc085703bd7f847a341e1e4a734ecace09fe858
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16780 / 0x418c
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 396 / 0x18c
- linkedit_bytes_after_signature: 5764 / 0x1684
- signature:
- superblob_length: 380 / 0x17c
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 324
- sha1: 6ffd7576e87ac1a1172debbdb6a8f39629f44f3a
- sha256: 8b50ba2db36d187bae720987f1ff7d6228b18e422b95a42ac4c4fb4acf3546a9
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: MyFramework
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Versions/A/Resources/Info.plist
- file_size: 624
- file_sha256: 419720e3c25babc998d6deb1013359b45ea44ddc0cf0cc9ff27e421d81c3a082
- entity: other
-- path: Versions/A/Resources/root-A-00.txt
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Versions/A/_CodeSignature/CodeResources
- file_size: 2889
- file_sha256: 7421218291c85cdd725f0e47e8103cba94351691e4cd082bcae89e391293ca22
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <data>'
- - ' Le4jzlE49nXeP8DTH2bzrQDpQ28='
- - ' </data>'
- - ' <key>Resources/root-A-00.txt</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MyFramework</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' i1C6LbNtGHuucgmH8f99YiixjkI='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"8b50ba2db36d187bae720987f1ff7d6228b18e42"</string>'
- - ' </dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' QZcg48Jbq8mY1t6xATNZtF6kTdwM8Myf8n5CHYHDoII='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/root-A-00.txt</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Versions/Current
- symlink_target: A
- entity: other
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-macho-universal.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-macho-universal.trycmd
deleted file mode 100644
index 24a1f04..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-macho-universal.trycmd
+++ /dev/null
@@ -1,438 +0,0 @@
-Sign a bundle containing a multi-arch Mach-O binary
-
-```
-$ rcodesign debug-create-macho --architecture aarch64 exe.aarch64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.aarch64
-
-$ rcodesign debug-create-macho --architecture x86-64 --minimum-os-version 10.9.0 exe.x86-64
-writing Mach-O to exe.x86-64
-
-$ rcodesign macho-universal-create -o MyApp.app/Contents/MacOS/MyApp exe.aarch64 exe.x86-64
-adding exe.aarch64
-adding exe.x86-64
-writing MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign macho-universal-create -o MyApp.app/Contents/MacOS/extra-bin exe.aarch64 exe.x86-64
-adding exe.aarch64
-adding exe.x86-64
-writing MyApp.app/Contents/MacOS/extra-bin
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing Mach-O file Contents/MacOS/extra-bin
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f 3eb5869588cab4d817b5 MyApp.app.signed/Contents/MacOS/MyApp
-f f6e7481573cf18d78a0e MyApp.app.signed/Contents/MacOS/extra-bin
-d MyApp.app.signed/Contents/_CodeSignature
-f 730159f6d521ed5ac796 MyApp.app.signed/Contents/_CodeSignature/CodeResources
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 60432
- file_sha256: 3eb5869588cab4d817b5b2c1b79ae621b2be48356fbbe6c58777721587af047b
- sub_path: macho-index:0
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17098 / 0x42ca
- macho_linkedit_end_offset: 23568 / 0x5c10
- macho_end_offset: 23568 / 0x5c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 714 / 0x2ca
- linkedit_bytes_after_signature: 6470 / 0x1946
- signature:
- superblob_length: 698 / 0x2ba
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 269
- sha1: 32ab361d982640eead191422e662fb8d96622fe3
- sha256: 723ba236a1c66db54ac3d1b051cb604a1ce428ce042c2c79b30b4aec4b6cf68c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 365
- sha1: 7e45ead6a3793876c2aac70ead9510fc6a206b31
- sha256: df50890b3494d4e93fba241a2adf1667ab452210cfbc99269800b14ac9a6db4f
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha1
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 65bf1c26bc63ccdfe6688cc787b06f88f3435ef0'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- - 'Resources (3): b7902213e12d68fd98ce5d8f8129a6805d3eb4da'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 730159f6d521ed5ac796783ae0077005b1dc406a348af63b6be3c349f59881b7'
- cms: null
-- path: Contents/MacOS/MyApp
- file_size: 60432
- file_sha256: 3eb5869588cab4d817b5b2c1b79ae621b2be48356fbbe6c58777721587af047b
- sub_path: macho-index:1
- entity:
- mach_o:
- macho_linkedit_start_offset: 4096 / 0x1000
- macho_signature_start_offset: 4112 / 0x1010
- macho_signature_end_offset: 4654 / 0x122e
- macho_linkedit_end_offset: 11280 / 0x2c10
- macho_end_offset: 11280 / 0x2c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 558 / 0x22e
- linkedit_bytes_after_signature: 6626 / 0x19e2
- signature:
- superblob_length: 542 / 0x21e
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 209
- sha1: a80bc480c310d72c4125bf1cf54b5f492e451cca
- sha256: 231dbee72992a30c9ead07159d14153ea3b48292ed449b38135aca0190747f54
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 269
- sha1: 84c1812f00ed687db767796c66190a076ea7976e
- sha256: 34b18e9cc482750023d52141da175ceae315215cf4a7ebc2122459a0a10fbc93
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha1
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 65bf1c26bc63ccdfe6688cc787b06f88f3435ef0'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- - 'Resources (3): b7902213e12d68fd98ce5d8f8129a6805d3eb4da'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 730159f6d521ed5ac796783ae0077005b1dc406a348af63b6be3c349f59881b7'
- cms: null
-- path: Contents/MacOS/extra-bin
- file_size: 60432
- file_sha256: f6e7481573cf18d78a0ed99022d118a465b39b688217179ea80347de77a107a2
- sub_path: macho-index:0
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17024 / 0x4280
- macho_linkedit_end_offset: 23568 / 0x5c10
- macho_end_offset: 23568 / 0x5c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 640 / 0x280
- linkedit_bytes_after_signature: 6544 / 0x1990
- signature:
- superblob_length: 624 / 0x270
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 238
- sha1: 33d0d81907883efd5fdd04af1ad6325db9ca0973
- sha256: 402627fdbaeea6373a2e5b5b56784a6aca549b9c1f39a8b5e4bffdda78dfd170
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 322
- sha1: af7a5c530e0ee18a6425da22361915baf5482bdd
- sha256: 639f6dcf3661837c14d59b907bc607cec675bc7eefa2df8c6819d8492b6da455
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: extra-bin
- digest_type: sha1
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: extra-bin
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/MacOS/extra-bin
- file_size: 60432
- file_sha256: f6e7481573cf18d78a0ed99022d118a465b39b688217179ea80347de77a107a2
- sub_path: macho-index:1
- entity:
- mach_o:
- macho_linkedit_start_offset: 4096 / 0x1000
- macho_signature_start_offset: 4112 / 0x1010
- macho_signature_end_offset: 4580 / 0x11e4
- macho_linkedit_end_offset: 11280 / 0x2c10
- macho_end_offset: 11280 / 0x2c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 484 / 0x1e4
- linkedit_bytes_after_signature: 6700 / 0x1a2c
- signature:
- superblob_length: 468 / 0x1d4
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 178
- sha1: 081cb913e277d2314f0cf29f09ad50d6706ee05c
- sha256: 503220ed37549b1acb847a37ec37c68b393466a5c3581d6bdf60b7202e733e44
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 226
- sha1: 08f6f638476c7f9e3538bd455889beb8852dcb92
- sha256: 3e8d1a5abf40765a1d15ff00407a8822f153afa966f9283e813b7b456a7c5888
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: extra-bin
- digest_type: sha1
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: extra-bin
- digest_type: sha256
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2601
- file_sha256: 730159f6d521ed5ac796783ae0077005b1dc406a348af63b6be3c349f59881b7
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MacOS/extra-bin</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' Y59tzzZhg3wU1ZuQe8YHzsZ1vH4='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>(((cdhash H"33d0d81907883efd5fdd04af1ad6325db9ca0973") or (cdhash H"639f6dcf3661837c14d59b907bc607cec675bc7e")) or (cdhash H"081cb913e277d2314f0cf29f09ad50d6706ee05c")) or (cdhash H"3e8d1a5abf40765a1d15ff00407a8822f153afa9")</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-multiple-macho.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-multiple-macho.trycmd
deleted file mode 100644
index 4bf83a0..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-multiple-macho.trycmd
+++ /dev/null
@@ -1,767 +0,0 @@
-Sign a bundle containing multiple Mach-O binaries.
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/bin
-
-$ rcodesign debug-create-macho --file-type dylib MyApp.app/Contents/MacOS/lib.dylib
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/lib.dylib
-
-$ rcodesign debug-create-macho MyApp.app/Contents/Resources/non-nested-bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/Resources/non-nested-bin
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign debug-create-entitlements --get-task-allow entitlements.plist
-writing entitlements.plist
-
-$ rcodesign sign --entitlements-xml-file entitlements.plist MyApp.app MyApp.app.signed
-setting entitlements XML for main signing target from path entitlements.plist
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing Mach-O file Contents/MacOS/bin
-signing Mach-O file Contents/MacOS/lib.dylib
-signing Mach-O file Contents/Resources/non-nested-bin
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f ed9b322079f477b95626 MyApp.app.signed/Contents/MacOS/MyApp
-f 222272e624fadf178495 MyApp.app.signed/Contents/MacOS/bin
-f f5bf39926f898f9d8b10 MyApp.app.signed/Contents/MacOS/lib.dylib
-d MyApp.app.signed/Contents/Resources
-f 17ee48591c2b454766b3 MyApp.app.signed/Contents/Resources/non-nested-bin
-d MyApp.app.signed/Contents/_CodeSignature
-f e9faf2afbb4ab5548d35 MyApp.app.signed/Contents/_CodeSignature/CodeResources
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: ed9b322079f477b956269151b7f05966fe4c2522116e2c23b5ab40f518887fe3
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17232 / 0x4350
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 848 / 0x350
- linkedit_bytes_after_signature: 5312 / 0x14c0
- signature:
- superblob_length: 832 / 0x340
- blob_count: 5
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 493
- sha1: f342b48c4632318b35759a678a90f606463d44aa
- sha256: 776f6ff24cb7986e98b41600c6f34ad9ef197b9d28c84531ae2cbdf7b965ac36
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: Entitlements (5)
- magic: fade7171
- length: 231
- sha1: 609a70a1468d84bef2be0146d1f0a5ea1c839948
- sha256: adea2675562421d85cc35e2c909ae27f33846eeb3b2b7c68017abd1b4b02f624
- - slot: DER Entitlements (7)
- magic: fade7172
- length: 36
- sha1: 1018e52606e45993b16da1c621ceec945b9d5226
- sha256: 4d9925d24f1357a00429379f31f567cedfaa8101d58442e7864f923bfb708794
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY | ALLOW_UNSIGNED)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): e9faf2afbb4ab5548d3531c4b40abdfd59a2d6c2b5834e1980993957ba5bec83'
- - 'Application (4): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Entitlements (5): adea2675562421d85cc35e2c909ae27f33846eeb3b2b7c68017abd1b4b02f624'
- - 'Rep Specific (6): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'DER Entitlements (7): 4d9925d24f1357a00429379f31f567cedfaa8101d58442e7864f923bfb708794'
- entitlements_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>get-task-allow</key>'
- - ' <true/>'
- - </dict>
- - </plist>
- entitlements_der_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>get-task-allow</key>'
- - ' <true />'
- - ' </dict>'
- - </plist>
- cms: null
-- path: Contents/MacOS/bin
- file_size: 22544
- file_sha256: 222272e624fadf178495f7eeabdac248a951a0fb1e49002f494dde7067e456c8
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: c86136679b8fb8b73c260c3f5143eb4787ba7408
- sha256: 319e12d5056d6b83506f2a51858ddfd99a244ed7b1bb261d9f7a1befa55239db
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: bin
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/MacOS/lib.dylib
- file_size: 22544
- file_sha256: f5bf39926f898f9d8b10749c2c2e02d89e6ca1ab85e5210df86a711afc35f1bd
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: af401622e3c8ad117ef8e8048542a0f6ce3e0d7c
- sha256: df488d463c798ba6e7afbb55d1f86959aefc12753467b49d5a984611e11ec8d0
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: lib
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/Resources/non-nested-bin
- file_size: 22544
- file_sha256: 17ee48591c2b454766b3d38e00ba5b342b3695c635c9114aad839117f45e3b38
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16783 / 0x418f
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 399 / 0x18f
- linkedit_bytes_after_signature: 5761 / 0x1681
- signature:
- superblob_length: 383 / 0x17f
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 327
- sha1: c26826707603fb84e28487b5f936799d4edf6377
- sha256: 7b46bdc9c357e9a5ce1b15cd255623667b42772b0f42db78c8b630740caecc86
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: non-nested-bin
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2882
- file_sha256: e9faf2afbb4ab5548d3531c4b40abdfd59a2d6c2b5834e1980993957ba5bec83
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/non-nested-bin</key>'
- - ' <data>'
- - ' apwGEW+W2ghwpHtZD2rJ1FcX9d8='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MacOS/bin</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' MZ4S1QVta4NQbypRhY3f2ZokTtc='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"319e12d5056d6b83506f2a51858ddfd99a244ed7"</string>'
- - ' </dict>'
- - ' <key>MacOS/lib.dylib</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' 30iNRjx5i6bnr7tV0fhpWa78EnU='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"df488d463c798ba6e7afbb55d1f86959aefc1275"</string>'
- - ' </dict>'
- - ' <key>Resources/non-nested-bin</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' F+5IWRwrRUdms9OOALpbNCs2lcY1yRFKrYORF/ReOzg='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-$ rcodesign sign --shallow --entitlements-xml-file entitlements.plist MyApp.app MyApp.app.signed-shallow
-setting entitlements XML for main signing target from path entitlements.plist
-signing MyApp.app to MyApp.app.signed-shallow
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed-shallow
-signing Mach-O file Contents/MacOS/bin
-signing Mach-O file Contents/MacOS/lib.dylib
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign print-signature-info MyApp.app.signed-shallow
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: b7c94c6c236fbf011c51b6a98221e648470a8bdb1e79179c5bed2a4229d9f33f
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17232 / 0x4350
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 848 / 0x350
- linkedit_bytes_after_signature: 5312 / 0x14c0
- signature:
- superblob_length: 832 / 0x340
- blob_count: 5
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 493
- sha1: f5f97459503ca59e782bc7e09b0a0e84fbe2c469
- sha256: eceb671be47c4515ac795ee6b4369f2c3e1ce3c92cd3b31826e3317afe78c8ae
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: Entitlements (5)
- magic: fade7171
- length: 231
- sha1: 609a70a1468d84bef2be0146d1f0a5ea1c839948
- sha256: adea2675562421d85cc35e2c909ae27f33846eeb3b2b7c68017abd1b4b02f624
- - slot: DER Entitlements (7)
- magic: fade7172
- length: 36
- sha1: 1018e52606e45993b16da1c621ceec945b9d5226
- sha256: 4d9925d24f1357a00429379f31f567cedfaa8101d58442e7864f923bfb708794
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY | ALLOW_UNSIGNED)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 29ca54092b8a1ee42bd378889eae9382dd64f94f6ac99e093d5aff76af6ea2bf'
- - 'Application (4): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Entitlements (5): adea2675562421d85cc35e2c909ae27f33846eeb3b2b7c68017abd1b4b02f624'
- - 'Rep Specific (6): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'DER Entitlements (7): 4d9925d24f1357a00429379f31f567cedfaa8101d58442e7864f923bfb708794'
- entitlements_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>get-task-allow</key>'
- - ' <true/>'
- - </dict>
- - </plist>
- entitlements_der_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>get-task-allow</key>'
- - ' <true />'
- - ' </dict>'
- - </plist>
- cms: null
-- path: Contents/MacOS/bin
- file_size: 22544
- file_sha256: 222272e624fadf178495f7eeabdac248a951a0fb1e49002f494dde7067e456c8
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: c86136679b8fb8b73c260c3f5143eb4787ba7408
- sha256: 319e12d5056d6b83506f2a51858ddfd99a244ed7b1bb261d9f7a1befa55239db
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: bin
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/MacOS/lib.dylib
- file_size: 22544
- file_sha256: f5bf39926f898f9d8b10749c2c2e02d89e6ca1ab85e5210df86a711afc35f1bd
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: af401622e3c8ad117ef8e8048542a0f6ce3e0d7c
- sha256: df488d463c798ba6e7afbb55d1f86959aefc12753467b49d5a984611e11ec8d0
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: lib
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/Resources/non-nested-bin
- file_size: 16386
- file_sha256: 4cfaf70bc9fb6827fcf7751deaf65f8b54d46fecb6f39cb2ba8fbcf36912430c
- entity:
- mach_o:
- macho_linkedit_start_offset: null
- macho_signature_start_offset: null
- macho_signature_end_offset: null
- macho_linkedit_end_offset: null
- macho_end_offset: 16386 / 0x4002
- linkedit_signature_start_offset: null
- linkedit_signature_end_offset: null
- linkedit_bytes_after_signature: null
- signature: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2882
- file_sha256: 29ca54092b8a1ee42bd378889eae9382dd64f94f6ac99e093d5aff76af6ea2bf
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/non-nested-bin</key>'
- - ' <data>'
- - ' apwGEW+W2ghwpHtZD2rJ1FcX9d8='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MacOS/bin</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' MZ4S1QVta4NQbypRhY3f2ZokTtc='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"319e12d5056d6b83506f2a51858ddfd99a244ed7"</string>'
- - ' </dict>'
- - ' <key>MacOS/lib.dylib</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' 30iNRjx5i6bnr7tV0fhpWa78EnU='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"df488d463c798ba6e7afbb55d1f86959aefc1275"</string>'
- - ' </dict>'
- - ' <key>Resources/non-nested-bin</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TPr3C8n7aCf893Ud6vZfi1TUb+y285yyuo+882kSQww='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-nested-macho-identifier.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-nested-macho-identifier.trycmd
deleted file mode 100644
index 61a847e..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-nested-macho-identifier.trycmd
+++ /dev/null
@@ -1,352 +0,0 @@
-Binary identifiers in nested Mach-O within bundles are handled correctly.
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign debug-create-macho --architecture x86-64 exe.x86_64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.x86_64
-
-$ rcodesign sign --binary-identifier old-bin-x86_64 exe.x86_64
-signing exe.x86_64 in place
-signing exe.x86_64 as a Mach-O binary
-parsing Mach-O
-writing Mach-O to exe.x86_64
-
-$ rcodesign debug-create-macho --architecture aarch64 exe.aarch64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.aarch64
-
-$ rcodesign macho-universal-create -o old-bin-name exe.x86_64 exe.aarch64
-adding exe.x86_64
-adding exe.aarch64
-writing old-bin-name
-
-$ rcodesign sign old-bin-name
-signing old-bin-name in place
-signing old-bin-name as a Mach-O binary
-setting binary identifier to old-bin-name
-parsing Mach-O
-writing Mach-O to old-bin-name
-
-$ mv old-bin-name MyApp.app/Contents/MacOS/new-bin
-
-$ rcodesign -v sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-collecting code resources files
-copying file MyApp.app/Contents/Info.plist -> MyApp.app.signed/Contents/Info.plist
-sealing nested Mach-O binary: Contents/MacOS/new-bin
-signing Mach-O file Contents/MacOS/new-bin
-setting binary identifier based on path: new-bin
-inferring default signing settings from Mach-O binary
-using binary identifier from settings
-preserving code signature flags in existing Mach-O signature (CodeSignatureFlags(ADHOC))
-using binary identifier from settings
-preserving code signature flags in existing Mach-O signature (CodeSignatureFlags(ADHOC))
-signing Mach-O binary at index 0
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding code signature flags from signing settings: CodeSignatureFlags(ADHOC)
-creating ad-hoc signature
-code directory version: 132096
-total signature size: 280 bytes
-signing Mach-O binary at index 1
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding code signature flags from signing settings: CodeSignatureFlags(ADHOC)
-creating ad-hoc signature
-code directory version: 132096
-total signature size: 376 bytes
-writing Mach-O to MyApp.app.signed/Contents/MacOS/new-bin
-writing sealed resources to MyApp.app.signed/Contents/_CodeSignature/CodeResources
-signing main executable Contents/MacOS/MyApp
-setting main executable binary identifier to com.example.mybundle (derived from CFBundleIdentifier in Info.plist)
-inferring default signing settings from Mach-O binary
-signing Mach-O binary at index 0
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-creating ad-hoc signature
-code directory version: 132096
-total signature size: 421 bytes
-writing signed main executable to MyApp.app.signed/Contents/MacOS/MyApp
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: e1dfbe5e2a27918a25ccbe0971b0b40e96c8a1a031a332e8b9fb79475fe0345a
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: c826994bd20c58899a48dbca7e237bcc1940096b
- sha256: ccbff6200513f074b4299064006b820d714a57ad77d06f44924e34c0a6bff910
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): c28145c843d03ba3ddb1c7e5a2029c1e179750bd1be9bfe9ebecb6e7f51922c5'
- cms: null
-- path: Contents/MacOS/new-bin
- file_size: 55312
- file_sha256: 177b1b4ff578e3803cade0b792f7ca4537bf94c7ca6844ae584819c118683011
- sub_path: macho-index:0
- entity:
- mach_o:
- macho_linkedit_start_offset: 4096 / 0x1000
- macho_signature_start_offset: 4112 / 0x1010
- macho_signature_end_offset: 4392 / 0x1128
- macho_linkedit_end_offset: 10256 / 0x2810
- macho_end_offset: 10256 / 0x2810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 296 / 0x128
- linkedit_bytes_after_signature: 5864 / 0x16e8
- signature:
- superblob_length: 280 / 0x118
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 224
- sha1: 95cb29468e76eefe3f75aa4a6847bdf4ca44cd30
- sha256: f677a5c4d4239ef741c96b66a5b1356d3d3d8630f4ca91593f2620f80224a549
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: new-bin
- digest_type: sha256
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/MacOS/new-bin
- file_size: 55312
- file_sha256: 177b1b4ff578e3803cade0b792f7ca4537bf94c7ca6844ae584819c118683011
- sub_path: macho-index:1
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16776 / 0x4188
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 392 / 0x188
- linkedit_bytes_after_signature: 5768 / 0x1688
- signature:
- superblob_length: 376 / 0x178
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 320
- sha1: 6399ea612a352a77a5e69020d92ff0c3cafc89b5
- sha256: 7c122679cc9f0796e02496f20a9f428468c9fc3e74045530ed1a938745c8ee27
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: new-bin
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2483
- file_sha256: c28145c843d03ba3ddb1c7e5a2029c1e179750bd1be9bfe9ebecb6e7f51922c5
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MacOS/new-bin</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' 9nelxNQjnvdByWtmpbE1bT09hjA='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>(cdhash H"f677a5c4d4239ef741c96b66a5b1356d3d3d8630") or (cdhash H"7c122679cc9f0796e02496f20a9f428468c9fc3e")</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-nested-outside-nested-directory.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-nested-outside-nested-directory.trycmd
deleted file mode 100644
index 47867ec..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-nested-outside-nested-directory.trycmd
+++ /dev/null
@@ -1,1332 +0,0 @@
-A child bundle can exist outside a directory marked as "nested" in the
-CodeResources rules set. In this case, the child bundle is treated like
-a regular directory and not signed as a bundle.
-
-But when signing in non-shallow mode, we need to avoid signing Mach-O
-binaries in the child bundle because they would have already been signed
-as part of signing the child bundle.
-
-This test is inspired from #149.
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign debug-create-macho MyApp.app/Contents/lib/foo/exe
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/lib/foo/exe
-
-$ rcodesign debug-create-macho MyApp.app/Contents/lib/foo/child.app/Contents/MacOS/child
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/lib/foo/child.app/Contents/MacOS/child
-
-$ rcodesign debug-create-info-plist --bundle-name child MyApp.app/Contents/lib/foo/child.app/Contents/Info.plist
-writing MyApp.app/Contents/lib/foo/child.app/Contents/Info.plist
-
-$ rcodesign debug-create-macho MyApp.app/Contents/lib/foo/child.app/Contents/MacOS/extra-exe
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/lib/foo/child.app/Contents/MacOS/extra-exe
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing 1 nested bundles in the following order:
-Contents/lib/foo/child.app
-entering nested bundle Contents/lib/foo/child.app
-signing bundle at MyApp.app/Contents/lib/foo/child.app into MyApp.app.signed/Contents/lib/foo/child.app
-signing Mach-O file Contents/MacOS/extra-exe
-signing main executable Contents/MacOS/child
-leaving nested bundle Contents/lib/foo/child.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing Mach-O file Contents/lib/foo/exe
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f c106af767c277207a6ad MyApp.app.signed/Contents/MacOS/MyApp
-d MyApp.app.signed/Contents/_CodeSignature
-f ade78fe52d723803b6cf MyApp.app.signed/Contents/_CodeSignature/CodeResources
-d MyApp.app.signed/Contents/lib
-d MyApp.app.signed/Contents/lib/foo
-d MyApp.app.signed/Contents/lib/foo/child.app
-d MyApp.app.signed/Contents/lib/foo/child.app/Contents
-f 4c5130ae58d7184aa747 MyApp.app.signed/Contents/lib/foo/child.app/Contents/Info.plist
-d MyApp.app.signed/Contents/lib/foo/child.app/Contents/MacOS
-f 8d2bb481b183bd66403b MyApp.app.signed/Contents/lib/foo/child.app/Contents/MacOS/child
-f d4637e70eed799f72544 MyApp.app.signed/Contents/lib/foo/child.app/Contents/MacOS/extra-exe
-d MyApp.app.signed/Contents/lib/foo/child.app/Contents/_CodeSignature
-f 164aae2ea1c61b76cd81 MyApp.app.signed/Contents/lib/foo/child.app/Contents/_CodeSignature/CodeResources
-f 2adcd25a21eb14fc3f7b MyApp.app.signed/Contents/lib/foo/exe
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: c106af767c277207a6adf0bac84ba1caa5b510fd11db5f3ec7dcc0830bed66b1
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: 807803de9fec161102ccaa46c27047bfff1d6af1
- sha256: 88b6f97438eb59baad281e3cb35e7621bead272852380b058fc73ea90c78353f
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): ade78fe52d723803b6cf8398715169db305938bbaaf08b9d185a64211bd27e6d'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2824
- file_sha256: ade78fe52d723803b6cf8398715169db305938bbaaf08b9d185a64211bd27e6d
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>lib/foo/child.app/Contents/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TFEwrljXGEqnR7LZD/HiHXVCvWvV3ZQjm+Lphz/9pZ4='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/child.app/Contents/MacOS/child</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' jSu0gbGDvWZAO21MEqe6C7r9WFbXmTMk+kW/f203LT8='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/child.app/Contents/MacOS/extra-exe</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 1GN+cO7XmfclRNEqlCdbwEu89NOQkcykJmFIUAsxj6g='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/exe</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' KtzSWiHrFPw/e1yk9UZbUV8hk53ZhD3lv32eP3rPqds='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/lib/foo/child.app/Contents/Info.plist
- file_size: 576
- file_sha256: 4c5130ae58d7184aa747b2d90ff1e21d7542bd6bd5dd94239be2e9873ffda59e
- entity: other
-- path: Contents/lib/foo/child.app/Contents/MacOS/child
- file_size: 22544
- file_sha256: 8d2bb481b183bd66403b6d4c12a7ba0bbafd5856d7993324fa45bf7f6d372d3f
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: da2d1d20b15073dc7c0ea2b9bdf0265b1c60b9d7
- sha256: 5df5b910c1b35258c22d107a13dccdfad7f747d4c1d6726d72b54c264de1bd40
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 4c5130ae58d7184aa747b2d90ff1e21d7542bd6bd5dd94239be2e9873ffda59e'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 164aae2ea1c61b76cd8120aceaa7ab635c0a01514682e049bdde384d788fb677'
- cms: null
-- path: Contents/lib/foo/child.app/Contents/MacOS/extra-exe
- file_size: 22544
- file_sha256: d4637e70eed799f72544d12a94275bc04bbcf4d39091cca4266148500b318fa8
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16778 / 0x418a
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 394 / 0x18a
- linkedit_bytes_after_signature: 5766 / 0x1686
- signature:
- superblob_length: 378 / 0x17a
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 322
- sha1: 99068332ebb6b9cc3d9c9534835a7f6c12c434ee
- sha256: feb5492886d3537f86aead02ebd705a5a4eec2e656c28357a20fd814a34d8c06
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: extra-exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/lib/foo/child.app/Contents/_CodeSignature/CodeResources
- file_size: 2427
- file_sha256: 164aae2ea1c61b76cd8120aceaa7ab635c0a01514682e049bdde384d788fb677
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MacOS/extra-exe</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' /rVJKIbTU3+Grq0C69cFpaTuwuY='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"feb5492886d3537f86aead02ebd705a5a4eec2e6"</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/lib/foo/exe
- file_size: 22544
- file_sha256: 2adcd25a21eb14fc3f7b5ca4f5465b515f21939dd9843de5bf7d9e3f7acfa9db
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 4ca6f9ee2bfe2bfac44ab4e9e9c1ef9b6e4fc0de
- sha256: 23fc7207e52f23c0f6d2317dbb92cf9eff2aca8fe61ac241900d48be8f46cf5c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-$ rcodesign sign --shallow MyApp.app MyApp.app.signed-shallow
-signing MyApp.app to MyApp.app.signed-shallow
-signing bundle at MyApp.app
-1 nested bundles will be copied instead of signed because shallow signing enabled:
-Contents/lib/foo/child.app
-entering nested bundle Contents/lib/foo/child.app
-shallow signing enabled; bundle will be copied instead of signed
-leaving nested bundle Contents/lib/foo/child.app
-signing bundle at MyApp.app into MyApp.app.signed-shallow
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed-shallow
-d MyApp.app.signed-shallow/
-d MyApp.app.signed-shallow/Contents
-f 0a5902dc8e47f490d038 MyApp.app.signed-shallow/Contents/Info.plist
-d MyApp.app.signed-shallow/Contents/MacOS
-f ec0736200e9c8dc64954 MyApp.app.signed-shallow/Contents/MacOS/MyApp
-d MyApp.app.signed-shallow/Contents/_CodeSignature
-f 90443605a8872c4b12b6 MyApp.app.signed-shallow/Contents/_CodeSignature/CodeResources
-d MyApp.app.signed-shallow/Contents/lib
-d MyApp.app.signed-shallow/Contents/lib/foo
-d MyApp.app.signed-shallow/Contents/lib/foo/child.app
-d MyApp.app.signed-shallow/Contents/lib/foo/child.app/Contents
-f 4c5130ae58d7184aa747 MyApp.app.signed-shallow/Contents/lib/foo/child.app/Contents/Info.plist
-d MyApp.app.signed-shallow/Contents/lib/foo/child.app/Contents/MacOS
-f 4cfaf70bc9fb6827fcf7 MyApp.app.signed-shallow/Contents/lib/foo/child.app/Contents/MacOS/child
-f 4cfaf70bc9fb6827fcf7 MyApp.app.signed-shallow/Contents/lib/foo/child.app/Contents/MacOS/extra-exe
-f 4cfaf70bc9fb6827fcf7 MyApp.app.signed-shallow/Contents/lib/foo/exe
-
-$ rcodesign print-signature-info MyApp.app.signed-shallow
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: ec0736200e9c8dc64954a17c80f6ed556e5bc4795120a24f2fae5490a6cdc1b4
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: 91fbe54adddc8de02772732e2eed09cde141c39c
- sha256: c06b7ef1263aea0fd7b10cadb9f1557ef1d3117662b839499da4a3529d99fcd3
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 90443605a8872c4b12b6b0a86cd50b2e5101b245e156ee3d3a8787686b77aa92'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2824
- file_sha256: 90443605a8872c4b12b6b0a86cd50b2e5101b245e156ee3d3a8787686b77aa92
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>lib/foo/child.app/Contents/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TFEwrljXGEqnR7LZD/HiHXVCvWvV3ZQjm+Lphz/9pZ4='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/child.app/Contents/MacOS/child</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TPr3C8n7aCf893Ud6vZfi1TUb+y285yyuo+882kSQww='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/child.app/Contents/MacOS/extra-exe</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TPr3C8n7aCf893Ud6vZfi1TUb+y285yyuo+882kSQww='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/exe</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TPr3C8n7aCf893Ud6vZfi1TUb+y285yyuo+882kSQww='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/lib/foo/child.app/Contents/Info.plist
- file_size: 576
- file_sha256: 4c5130ae58d7184aa747b2d90ff1e21d7542bd6bd5dd94239be2e9873ffda59e
- entity: other
-- path: Contents/lib/foo/child.app/Contents/MacOS/child
- file_size: 16386
- file_sha256: 4cfaf70bc9fb6827fcf7751deaf65f8b54d46fecb6f39cb2ba8fbcf36912430c
- entity:
- mach_o:
- macho_linkedit_start_offset: null
- macho_signature_start_offset: null
- macho_signature_end_offset: null
- macho_linkedit_end_offset: null
- macho_end_offset: 16386 / 0x4002
- linkedit_signature_start_offset: null
- linkedit_signature_end_offset: null
- linkedit_bytes_after_signature: null
- signature: null
-- path: Contents/lib/foo/child.app/Contents/MacOS/extra-exe
- file_size: 16386
- file_sha256: 4cfaf70bc9fb6827fcf7751deaf65f8b54d46fecb6f39cb2ba8fbcf36912430c
- entity:
- mach_o:
- macho_linkedit_start_offset: null
- macho_signature_start_offset: null
- macho_signature_end_offset: null
- macho_linkedit_end_offset: null
- macho_end_offset: 16386 / 0x4002
- linkedit_signature_start_offset: null
- linkedit_signature_end_offset: null
- linkedit_bytes_after_signature: null
- signature: null
-- path: Contents/lib/foo/exe
- file_size: 16386
- file_sha256: 4cfaf70bc9fb6827fcf7751deaf65f8b54d46fecb6f39cb2ba8fbcf36912430c
- entity:
- mach_o:
- macho_linkedit_start_offset: null
- macho_signature_start_offset: null
- macho_signature_end_offset: null
- macho_linkedit_end_offset: null
- macho_end_offset: 16386 / 0x4002
- linkedit_signature_start_offset: null
- linkedit_signature_end_offset: null
- linkedit_bytes_after_signature: null
- signature: null
-
-$ rcodesign sign MyApp.app
-signing MyApp.app in place
-signing bundle at MyApp.app
-signing 1 nested bundles in the following order:
-Contents/lib/foo/child.app
-entering nested bundle Contents/lib/foo/child.app
-signing bundle at MyApp.app/Contents/lib/foo/child.app into MyApp.app/Contents/lib/foo/child.app
-signing Mach-O file Contents/MacOS/extra-exe
-signing main executable Contents/MacOS/child
-leaving nested bundle Contents/lib/foo/child.app
-signing bundle at MyApp.app into MyApp.app
-signing Mach-O file Contents/lib/foo/exe
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app
-d MyApp.app/
-d MyApp.app/Contents
-f 0a5902dc8e47f490d038 MyApp.app/Contents/Info.plist
-d MyApp.app/Contents/MacOS
-f e07ea4755d1135f15295 MyApp.app/Contents/MacOS/MyApp
-d MyApp.app/Contents/_CodeSignature
-f 48a72e1777660495d9fc MyApp.app/Contents/_CodeSignature/CodeResources
-d MyApp.app/Contents/lib
-d MyApp.app/Contents/lib/foo
-d MyApp.app/Contents/lib/foo/child.app
-d MyApp.app/Contents/lib/foo/child.app/Contents
-f 4c5130ae58d7184aa747 MyApp.app/Contents/lib/foo/child.app/Contents/Info.plist
-d MyApp.app/Contents/lib/foo/child.app/Contents/MacOS
-f 8d2bb481b183bd66403b MyApp.app/Contents/lib/foo/child.app/Contents/MacOS/child
-f d4637e70eed799f72544 MyApp.app/Contents/lib/foo/child.app/Contents/MacOS/extra-exe
-d MyApp.app/Contents/lib/foo/child.app/Contents/_CodeSignature
-f 164aae2ea1c61b76cd81 MyApp.app/Contents/lib/foo/child.app/Contents/_CodeSignature/CodeResources
-f 2adcd25a21eb14fc3f7b MyApp.app/Contents/lib/foo/exe
-
-$ rcodesign print-signature-info MyApp.app
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: e07ea4755d1135f15295324ef4e2d21506ef74a7a95542f56cd659f46c3f886a
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: 90ae5487cb1d55a65877d973aae4f73ddc8c6c85
- sha256: 2345e491269e624fcc0c1f3aa515702988c5739b69eef97df48cfa7b260fc27b
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 48a72e1777660495d9fce43e650c4f00ffe79977e30e4efeaee227b32eeef620'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 3001
- file_sha256: 48a72e1777660495d9fce43e650c4f00ffe79977e30e4efeaee227b32eeef620
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>lib/foo/child.app/Contents/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' TFEwrljXGEqnR7LZD/HiHXVCvWvV3ZQjm+Lphz/9pZ4='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/child.app/Contents/MacOS/child</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' jSu0gbGDvWZAO21MEqe6C7r9WFbXmTMk+kW/f203LT8='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/child.app/Contents/MacOS/extra-exe</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 1GN+cO7XmfclRNEqlCdbwEu89NOQkcykJmFIUAsxj6g='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/child.app/Contents/_CodeSignature/CodeResources</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' FkquLqHGG3bNgSCs6qerY1wKAVFGguBJvd44TXiPtnc='
- - ' </data>'
- - ' </dict>'
- - ' <key>lib/foo/exe</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' KtzSWiHrFPw/e1yk9UZbUV8hk53ZhD3lv32eP3rPqds='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/lib/foo/child.app/Contents/Info.plist
- file_size: 576
- file_sha256: 4c5130ae58d7184aa747b2d90ff1e21d7542bd6bd5dd94239be2e9873ffda59e
- entity: other
-- path: Contents/lib/foo/child.app/Contents/MacOS/child
- file_size: 22544
- file_sha256: 8d2bb481b183bd66403b6d4c12a7ba0bbafd5856d7993324fa45bf7f6d372d3f
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: da2d1d20b15073dc7c0ea2b9bdf0265b1c60b9d7
- sha256: 5df5b910c1b35258c22d107a13dccdfad7f747d4c1d6726d72b54c264de1bd40
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 4c5130ae58d7184aa747b2d90ff1e21d7542bd6bd5dd94239be2e9873ffda59e'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 164aae2ea1c61b76cd8120aceaa7ab635c0a01514682e049bdde384d788fb677'
- cms: null
-- path: Contents/lib/foo/child.app/Contents/MacOS/extra-exe
- file_size: 22544
- file_sha256: d4637e70eed799f72544d12a94275bc04bbcf4d39091cca4266148500b318fa8
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16778 / 0x418a
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 394 / 0x18a
- linkedit_bytes_after_signature: 5766 / 0x1686
- signature:
- superblob_length: 378 / 0x17a
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 322
- sha1: 99068332ebb6b9cc3d9c9534835a7f6c12c434ee
- sha256: feb5492886d3537f86aead02ebd705a5a4eec2e656c28357a20fd814a34d8c06
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: extra-exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/lib/foo/child.app/Contents/_CodeSignature/CodeResources
- file_size: 2427
- file_sha256: 164aae2ea1c61b76cd8120aceaa7ab635c0a01514682e049bdde384d788fb677
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>MacOS/extra-exe</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' /rVJKIbTU3+Grq0C69cFpaTuwuY='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"feb5492886d3537f86aead02ebd705a5a4eec2e6"</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/lib/foo/exe
- file_size: 22544
- file_sha256: 2adcd25a21eb14fc3f7b5ca4f5465b515f21939dd9843de5bf7d9e3f7acfa9db
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 4ca6f9ee2bfe2bfac44ab4e9e9c1ef9b6e4fc0de
- sha256: 23fc7207e52f23c0f6d2317dbb92cf9eff2aca8fe61ac241900d48be8f46cf5c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-nested-symlinks.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-nested-symlinks.trycmd
deleted file mode 100644
index fced59b..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-nested-symlinks.trycmd
+++ /dev/null
@@ -1,282 +0,0 @@
-Sign a bundle with symlinks in a nested directory
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign debug-create-macho --file-type dylib MyApp.app/Contents/Frameworks/libssh.4.8.8.dylib
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/Frameworks/libssh.4.8.8.dylib
-
-$ ln -s libssh.4.8.8.dylib MyApp.app/Contents/Frameworks/libssh.4.dylib
-$ ln -s libssh.4.dylib MyApp.app/Contents/Frameworks/libssh.dylib
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing Mach-O file Contents/Frameworks/libssh.4.8.8.dylib
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-d MyApp.app.signed/Contents/Frameworks
-f 40a8b05ac0eac09b1186 MyApp.app.signed/Contents/Frameworks/libssh.4.8.8.dylib
-l MyApp.app.signed/Contents/Frameworks/libssh.4.dylib -> libssh.4.8.8.dylib
-l MyApp.app.signed/Contents/Frameworks/libssh.dylib -> libssh.4.dylib
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f 8f330392b30c9cbd593d MyApp.app.signed/Contents/MacOS/MyApp
-d MyApp.app.signed/Contents/_CodeSignature
-f 273cd2b4970deda577c2 MyApp.app.signed/Contents/_CodeSignature/CodeResources
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Frameworks/libssh.4.8.8.dylib
- file_size: 22544
- file_sha256: 40a8b05ac0eac09b118678fb3cadd62a364b5b40c0a04db953b9924d891fc3ef
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16777 / 0x4189
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 393 / 0x189
- linkedit_bytes_after_signature: 5767 / 0x1687
- signature:
- superblob_length: 377 / 0x179
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 321
- sha1: 5b19ce6b4bcd9ad15044c2066216829d95ea7ab0
- sha256: 870a3508181d52e36783c1bf86010a76ad8f735165f2440f23a7c42119b4be9f
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: libssh.4
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: Contents/Frameworks/libssh.4.dylib
- symlink_target: libssh.4.8.8.dylib
- entity: other
-- path: Contents/Frameworks/libssh.dylib
- symlink_target: libssh.4.dylib
- entity: other
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: 8f330392b30c9cbd593dc332979a2a2dfcc3edfe1b3bcfd1c5e2fecb31aeca00
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: 98f382966f6efe2b3158f862123c12c57dc167a9
- sha256: b7256b5560a1bc8c7f1e3f56d1eabc9ed248e4b97fee8e716efd5909681f95be
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 273cd2b4970deda577c29fcd05055752e46144fe483371d48754d273bbccbb85'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2673
- file_sha256: 273cd2b4970deda577c29fcd05055752e46144fe483371d48754d273bbccbb85
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict/>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Frameworks/libssh.4.8.8.dylib</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' hwo1CBgdUuNng8G/hgEKdq2Pc1E='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"870a3508181d52e36783c1bf86010a76ad8f7351"</string>'
- - ' </dict>'
- - ' <key>Frameworks/libssh.4.dylib</key>'
- - ' <dict>'
- - ' <key>symlink</key>'
- - ' <string>libssh.4.8.8.dylib</string>'
- - ' </dict>'
- - ' <key>Frameworks/libssh.dylib</key>'
- - ' <dict>'
- - ' <key>symlink</key>'
- - ' <string>libssh.4.dylib</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-```
\ No newline at end of file
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-storybook-bundle.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-storybook-bundle.trycmd
deleted file mode 100644
index 81d4d67..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-storybook-bundle.trycmd
+++ /dev/null
@@ -1,259 +0,0 @@
-When signing a shallow bundle with storybook "bundles," the storybook
-bundles should not be signed.
-
-```
-$ rcodesign debug-create-macho MyApp.app/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Info.plist
-writing MyApp.app/Info.plist
-
-$ mkdir -p MyApp.app/Base.lproj/Main.storyboardc
-$ touch MyApp.app/Base.lproj/Main.storyboardc/test.nib
-
-$ rcodesign debug-create-info-plist --empty --bundle-name ignored MyApp.app/Base.lproj/Main.storyboardc/Info.plist
-writing MyApp.app/Base.lproj/Main.storyboardc/Info.plist
-
-$ cat MyApp.app/Base.lproj/Main.storyboardc/Info.plist
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict/>
-</plist>
-$ touch MyApp.app/PkgInfo
-$ touch MyApp.app/embedded.mobileprovision
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing main executable MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Base.lproj
-d MyApp.app.signed/Base.lproj/Main.storyboardc
-f d0db6a79107b15f10e16 MyApp.app.signed/Base.lproj/Main.storyboardc/Info.plist
-f e3b0c44298fc1c149afb MyApp.app.signed/Base.lproj/Main.storyboardc/test.nib
-f 0a5902dc8e47f490d038 MyApp.app.signed/Info.plist
-f 1d11f3a2cb072f0c9969 MyApp.app.signed/MyApp
-f e3b0c44298fc1c149afb MyApp.app.signed/PkgInfo
-d MyApp.app.signed/_CodeSignature
-f dea493de64a991ac1fd6 MyApp.app.signed/_CodeSignature/CodeResources
-f e3b0c44298fc1c149afb MyApp.app.signed/embedded.mobileprovision
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Base.lproj/Main.storyboardc/Info.plist
- file_size: 180
- file_sha256: d0db6a79107b15f10e169d17bc2ef3395631f5932cd2552a7422e82f31e3f413
- entity: other
-- path: Base.lproj/Main.storyboardc/test.nib
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: MyApp
- file_size: 22544
- file_sha256: 1d11f3a2cb072f0c996981756ccb080e9f35a0cce03c46220eb198c0c97406e2
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: ab5c39d99e4374adec9ff318431e0ad8f4e1a132
- sha256: 742baf721b17b851139efc4c6e8aba3089e100ab8b00c7a6db6379078a695d7f
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): dea493de64a991ac1fd6e9e9feab78408748cc96130c86bd0bb5989d86d9c39b'
- cms: null
-- path: PkgInfo
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: _CodeSignature/CodeResources
- file_size: 2631
- file_sha256: dea493de64a991ac1fd6e9e9feab78408748cc96130c86bd0bb5989d86d9c39b
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Base.lproj/Main.storyboardc/Info.plist</key>'
- - ' <data>'
- - ' n9hnu0WwQx9uSvF9Zek1KUmSMvY='
- - ' </data>'
- - ' <key>Base.lproj/Main.storyboardc/test.nib</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Info.plist</key>'
- - ' <data>'
- - ' Zb8cJrxjzN/maIzHh7BviPNDXvA='
- - ' </data>'
- - ' <key>PkgInfo</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>embedded.mobileprovision</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Base.lproj/Main.storyboardc/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 0NtqeRB7FfEOFp0XvC7zOVYx9ZMs0lUqdCLoLzHj9BM='
- - ' </data>'
- - ' </dict>'
- - ' <key>Base.lproj/Main.storyboardc/test.nib</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>embedded.mobileprovision</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: embedded.mobileprovision
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-symlink-overwrite.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-symlink-overwrite.trycmd
deleted file mode 100644
index 8a2866c..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-symlink-overwrite.trycmd
+++ /dev/null
@@ -1,43 +0,0 @@
-Sign a bundle with symlinks and verify symlink overwrites work
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ mkdir -p MyApp.app/Contents/Resources
-$ touch MyApp.app/Contents/Resources/file-00.txt
-$ touch MyApp.app/Contents/Resources/file-01.txt
-$ ln -s file-00.txt MyApp.app/Contents/Resources/file.txt
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing main executable Contents/MacOS/MyApp
-
-$ ln -sf file-01.txt MyApp.app/Contents/Resources/file.txt
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f 92cc3ed9973cf49d2574 MyApp.app.signed/Contents/MacOS/MyApp
-d MyApp.app.signed/Contents/Resources
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Resources/file-00.txt
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Resources/file-01.txt
-l MyApp.app.signed/Contents/Resources/file.txt -> file-01.txt
-d MyApp.app.signed/Contents/_CodeSignature
-f bafb4e22a57de8763dc1 MyApp.app.signed/Contents/_CodeSignature/CodeResources
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle-with-nested-framework.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle-with-nested-framework.trycmd
deleted file mode 100644
index eaaf062..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle-with-nested-framework.trycmd
+++ /dev/null
@@ -1,844 +0,0 @@
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ mkdir -p MyApp.app/Contents/Resources
-$ touch MyApp.app/Contents/Resources/AppIcon.icns
-
-$ rcodesign debug-create-macho --file-type dylib MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
-
-$ rcodesign debug-create-info-plist --bundle-name Sparkle MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Info.plist
-writing MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Info.plist
-
-$ mkdir -p MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers
-$ mkdir -p MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Modules
-$ mkdir -p MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/PrivateHeaders
-$ mkdir -p MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj
-
-$ touch MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/Sparkle.h
-$ touch MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Modules/module.modulemap
-$ touch MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/DarkAqua.css
-$ touch MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
-
-$ rcodesign debug-create-macho MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate
-
-$ rcodesign debug-create-info-plist --bundle-name Autoupdate MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Info.plist
-writing MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Info.plist
-
-$ mkdir -p MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/en.lproj
-$ touch MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/en.lproj/Sparkle.strings
-
-$ ln -s A MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/Current
-$ ln -s Versions/Current/Headers MyApp.app/Contents/Frameworks/Sparkle.framework/Headers
-$ ln -s Versions/Current/Modules MyApp.app/Contents/Frameworks/Sparkle.framework/Modules
-$ ln -s Versions/Current/PrivateHeaders MyApp.app/Contents/Frameworks/Sparkle.framework/PrivateHeaders
-$ ln -s Versions/Current/Resources MyApp.app/Contents/Frameworks/Sparkle.framework/Resources
-$ ln -s Versions/Current/Sparkle MyApp.app/Contents/Frameworks/Sparkle.framework/Sparkle
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing 3 nested bundles in the following order:
-Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-Contents/Frameworks/Sparkle.framework/Versions/A
-Contents/Frameworks/Sparkle.framework
-entering nested bundle Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-signing bundle at MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app into MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-signing main executable Contents/MacOS/Autoupdate
-leaving nested bundle Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-entering nested bundle Contents/Frameworks/Sparkle.framework/Versions/A
-signing bundle at MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A into MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A
-signing main executable Sparkle
-leaving nested bundle Contents/Frameworks/Sparkle.framework/Versions/A
-entering nested bundle Contents/Frameworks/Sparkle.framework
-signing bundle at MyApp.app/Contents/Frameworks/Sparkle.framework into MyApp.app.signed/Contents/Frameworks/Sparkle.framework
-leaving nested bundle Contents/Frameworks/Sparkle.framework
-signing bundle at MyApp.app into MyApp.app.signed
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-d MyApp.app.signed/Contents/Frameworks
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework
-l MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Headers -> Versions/Current/Headers
-l MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Modules -> Versions/Current/Modules
-l MyApp.app.signed/Contents/Frameworks/Sparkle.framework/PrivateHeaders -> Versions/Current/PrivateHeaders
-l MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Resources -> Versions/Current/Resources
-l MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Sparkle -> Versions/Current/Sparkle
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Headers
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/Sparkle.h
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Modules
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Modules/module.modulemap
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents
-f 41d88c15e923bda8c225 MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Info.plist
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS
-f ccb6e50095f95b7ba447 MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/en.lproj
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/en.lproj/Sparkle.strings
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/_CodeSignature
-f 0740079f9cc964f82201 MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/_CodeSignature/CodeResources
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/DarkAqua.css
-f fc10a69db39ae9732767 MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Info.plist
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
-f 9f41a07525f12e42afbe MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
-d MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/_CodeSignature
-f e8441b0a5cdcdcea855a MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/A/_CodeSignature/CodeResources
-l MyApp.app.signed/Contents/Frameworks/Sparkle.framework/Versions/Current -> A
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f 90d4920250fbddd56eb3 MyApp.app.signed/Contents/MacOS/MyApp
-d MyApp.app.signed/Contents/Resources
-f e3b0c44298fc1c149afb MyApp.app.signed/Contents/Resources/AppIcon.icns
-d MyApp.app.signed/Contents/_CodeSignature
-f 4f5c3a58e8cdc1d972ba MyApp.app.signed/Contents/_CodeSignature/CodeResources
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Frameworks/Sparkle.framework/Headers
- symlink_target: Versions/Current/Headers
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Modules
- symlink_target: Versions/Current/Modules
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/PrivateHeaders
- symlink_target: Versions/Current/PrivateHeaders
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Resources
- symlink_target: Versions/Current/Resources
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Sparkle
- symlink_target: Versions/Current/Sparkle
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Headers/Sparkle.h
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Modules/module.modulemap
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Info.plist
- file_size: 591
- file_sha256: 41d88c15e923bda8c2256d9ec934b3dd53ef43db06bf73cdb68fc25eff77b78e
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate
- file_size: 22544
- file_sha256: ccb6e50095f95b7ba44724673fffd70258c3ef86ee4b42c5f7543f9185ef1efe
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: c9fa0ab0fd50466dbdd211d0dddeebc25db2b639
- sha256: a48bb6ceafa9f883b35e0a1acaaabb0a9052765f49eab1c5a4a1caeb03bb5b94
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 41d88c15e923bda8c2256d9ec934b3dd53ef43db06bf73cdb68fc25eff77b78e'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 0740079f9cc964f8220145e3ef8c10590cfa3ae48707b8a649b833f5661f8887'
- cms: null
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/en.lproj/Sparkle.strings
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/_CodeSignature/CodeResources
- file_size: 2579
- file_sha256: 0740079f9cc964f8220145e3ef8c10590cfa3ae48707b8a649b833f5661f8887
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/en.lproj/Sparkle.strings</key>'
- - ' <dict>'
- - ' <key>hash</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Resources/en.lproj/Sparkle.strings</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Resources/DarkAqua.css
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Info.plist
- file_size: 582
- file_sha256: fc10a69db39ae97327678df5b093982db866a9a478a77a84e8c47f6333170bdf
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
- file_size: 22544
- file_sha256: 9f41a07525f12e42afbe04eca9d3f157fe2ae2a5c774416872b6e3c0ad7459ea
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: 0c78ab52c9ca52cb69b6c81f2a64984909089c66
- sha256: 17c791e1d0abc8bb1231f600176aa39b31dfae66315908007e54997f01b426cb
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(0x0)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): fc10a69db39ae97327678df5b093982db866a9a478a77a84e8c47f6333170bdf'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): e8441b0a5cdcdcea855a05a20135d82d60dc44246219e1a1b16d3c5b839534cf'
- cms: null
-- path: Contents/Frameworks/Sparkle.framework/Versions/A/_CodeSignature/CodeResources
- file_size: 4311
- file_sha256: e8441b0a5cdcdcea855a05a20135d82d60dc44246219e1a1b16d3c5b839534cf
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/Autoupdate.app/Contents/Info.plist</key>'
- - ' <data>'
- - ' JfaPHt3iYsKzZnh6nfeTIpJWVqE='
- - ' </data>'
- - ' <key>Resources/Autoupdate.app/Contents/MacOS/Autoupdate</key>'
- - ' <data>'
- - ' apwGEW+W2ghwpHtZD2rJ1FcX9d8='
- - ' </data>'
- - ' <key>Resources/Autoupdate.app/Contents/Resources/en.lproj/Sparkle.strings</key>'
- - ' <dict>'
- - ' <key>hash</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>Resources/DarkAqua.css</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/Info.plist</key>'
- - ' <data>'
- - ' lv+5FkNAh6bulcE7JEu8aWkDqmI='
- - ' </data>'
- - ' <key>Resources/en.lproj/Sparkle.strings</key>'
- - ' <dict>'
- - ' <key>hash</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Headers/Sparkle.h</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Modules/module.modulemap</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/Autoupdate.app/Contents/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' QdiMFekjvajCJW2eyTSz3VPvQ9sGv3PNto/CXv93t44='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/Autoupdate.app/Contents/MacOS/Autoupdate</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' zLblAJX5W3ukRyRnP//XAljD74buS0LF91Q/kYXvHv4='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/Autoupdate.app/Contents/Resources/en.lproj/Sparkle.strings</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>Resources/DarkAqua.css</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/Info.plist</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' /BCmnbOa6XMnZ431sJOYLbhmqaR4p3qE6MR/YzMXC98='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/en.lproj/Sparkle.strings</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Contents/Frameworks/Sparkle.framework/Versions/Current
- symlink_target: A
- entity: other
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: 90d4920250fbddd56eb3716aa3caf27de25466c2455d7234ee15821f7ce7f088
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: 2ffbdce9b026e11a2fbc88fbb20c096b701faa0c
- sha256: 37579b3141daaa06faf53f95ed30d98c913734fd776455d15c96e28bea43b594
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 4f5c3a58e8cdc1d972ba455220cf05e1e579afc3a157bd2a9c50bdfd31433873'
- cms: null
-- path: Contents/Resources/AppIcon.icns
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2678
- file_sha256: 4f5c3a58e8cdc1d972ba455220cf05e1e579afc3a157bd2a9c50bdfd31433873
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/AppIcon.icns</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Frameworks/Sparkle.framework</key>'
- - ' <dict>'
- - ' <key>cdhash</key>'
- - ' <data>'
- - ' F8eR4dCryLsSMfYAF2qjmzHfrmY='
- - ' </data>'
- - ' <key>requirement</key>'
- - ' <string>cdhash H"17c791e1d0abc8bb1231f600176aa39b31dfae66"</string>'
- - ' </dict>'
- - ' <key>Resources/AppIcon.icns</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-
-$ rcodesign sign --shallow MyApp.app MyApp.app.signed-shallow
-? 1
-signing MyApp.app to MyApp.app.signed-shallow
-signing bundle at MyApp.app
-3 nested bundles will be copied instead of signed because shallow signing enabled:
-Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-Contents/Frameworks/Sparkle.framework/Versions/A
-Contents/Frameworks/Sparkle.framework
-entering nested bundle Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-shallow signing enabled; bundle will be copied instead of signed
-leaving nested bundle Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-entering nested bundle Contents/Frameworks/Sparkle.framework/Versions/A
-shallow signing enabled; bundle will be copied instead of signed
-leaving nested bundle Contents/Frameworks/Sparkle.framework/Versions/A
-entering nested bundle Contents/Frameworks/Sparkle.framework
-shallow signing enabled; bundle will be copied instead of signed
-leaving nested bundle Contents/Frameworks/Sparkle.framework
-signing bundle at MyApp.app into MyApp.app.signed-shallow
-Error: binary does not have code signature data
-
-$ rcodesign sign --shallow MyApp.app.signed MyApp.app.signed-shallow
-signing MyApp.app.signed to MyApp.app.signed-shallow
-signing bundle at MyApp.app.signed
-3 nested bundles will be copied instead of signed because shallow signing enabled:
-Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-Contents/Frameworks/Sparkle.framework/Versions/A
-Contents/Frameworks/Sparkle.framework
-entering nested bundle Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-shallow signing enabled; bundle will be copied instead of signed
-leaving nested bundle Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
-entering nested bundle Contents/Frameworks/Sparkle.framework/Versions/A
-shallow signing enabled; bundle will be copied instead of signed
-leaving nested bundle Contents/Frameworks/Sparkle.framework/Versions/A
-entering nested bundle Contents/Frameworks/Sparkle.framework
-shallow signing enabled; bundle will be copied instead of signed
-leaving nested bundle Contents/Frameworks/Sparkle.framework
-signing bundle at MyApp.app.signed into MyApp.app.signed-shallow
-signing main executable Contents/MacOS/MyApp
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-bundle.trycmd b/vendor/apple-codesign/tests/cmd/sign-bundle.trycmd
deleted file mode 100644
index a2a4e7d..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-bundle.trycmd
+++ /dev/null
@@ -1,495 +0,0 @@
-Sign a simple application bundle
-
-```
-$ mkdir -p MyApp.app/Contents/MacOS
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-? 1
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-Error: error interfacing with directory-based bundle: Info.plist not found; not a valid bundle
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ mkdir -p MyApp.app/Resources
-$ touch MyApp.app/Resources/file-00.txt
-$ touch MyApp.app/Resources/file-01.txt
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign debug-file-tree MyApp.app.signed
-d MyApp.app.signed/
-d MyApp.app.signed/Contents
-f 0a5902dc8e47f490d038 MyApp.app.signed/Contents/Info.plist
-d MyApp.app.signed/Contents/MacOS
-f 0e2027a7c6d687972a35 MyApp.app.signed/Contents/MacOS/MyApp
-d MyApp.app.signed/Contents/_CodeSignature
-f c844b31db66807774bd8 MyApp.app.signed/Contents/_CodeSignature/CodeResources
-d MyApp.app.signed/Resources
-f e3b0c44298fc1c149afb MyApp.app.signed/Resources/file-00.txt
-f e3b0c44298fc1c149afb MyApp.app.signed/Resources/file-01.txt
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 22544
- file_sha256: 0e2027a7c6d687972a3526c512cc89e3acd5f5654a1e8a639862d6b72ed3d59d
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16821 / 0x41b5
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 437 / 0x1b5
- linkedit_bytes_after_signature: 5723 / 0x165b
- signature:
- superblob_length: 421 / 0x1a5
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 365
- sha1: ea937121b2d2b4be4dd8d37e1b884e7f1c2201af
- sha256: 3dfec63df494ed0e2dfeedf5d13a70b46b957bd73830cd7644a12e0ce6f08c00
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): c844b31db66807774bd8ea00afe62cae1254bf6dfed2fa30d1204449d3c7e943'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2672
- file_sha256: c844b31db66807774bd8ea00afe62cae1254bf6dfed2fa30d1204449d3c7e943
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/file-00.txt</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/file-01.txt</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Resources/file-00.txt</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/file-01.txt</key>'
- - ' <dict>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Resources/file-00.txt
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Resources/file-01.txt
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-
-```
-
-Signing a bundle with an executable without targeting activates SHA-1 digests
-
-```
-$ mkdir -p MyApp.app/Contents/MacOS
-$ rcodesign debug-create-macho --no-targeting MyApp.app/Contents/MacOS/MyApp
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign sign MyApp.app MyApp.app.signed
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-signing main executable Contents/MacOS/MyApp
-
-$ rcodesign print-signature-info MyApp.app.signed
-- path: Contents/Info.plist
- file_size: 576
- file_sha256: 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5
- entity: other
-- path: Contents/MacOS/MyApp
- file_size: 23568
- file_sha256: 0e1c406b4bd8ac2a94a79c325db69a2a19876c753971284c4c45468e047505f4
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17098 / 0x42ca
- macho_linkedit_end_offset: 23568 / 0x5c10
- macho_end_offset: 23568 / 0x5c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 714 / 0x2ca
- linkedit_bytes_after_signature: 6470 / 0x1946
- signature:
- superblob_length: 698 / 0x2ba
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 269
- sha1: daa7889f0fc39e6920ab2f468b80b06e04f714f5
- sha256: f9530a6c35ec6da7f21a047873953248668b59a63d3879754781c5ff5d8b5038
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 365
- sha1: 78b08e2a2b243714a59975d7db86d0c77164a9f3
- sha256: 0210dbf647e161423f7ed74183dca566bc6e6e1b7a045079002b660385c5a26c
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha1
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 65bf1c26bc63ccdfe6688cc787b06f88f3435ef0'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- - 'Resources (3): bba07ca7abb366417d2b426b767c25838f5aeb58'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: com.example.mybundle
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): ba6147622a84edef406a5bc43b6ba041cef593326e34c5c53e662f9f57343263'
- cms: null
-- path: Contents/_CodeSignature/CodeResources
- file_size: 2816
- file_sha256: ba6147622a84edef406a5bc43b6ba041cef593326e34c5c53e662f9f57343263
- entity:
- bundle_code_signature_file: !ResourcesXml
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>files</key>'
- - ' <dict>'
- - ' <key>Resources/file-00.txt</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>Resources/file-01.txt</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' </dict>'
- - ' <key>files2</key>'
- - ' <dict>'
- - ' <key>Resources/file-00.txt</key>'
- - ' <dict>'
- - ' <key>hash</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' <key>Resources/file-01.txt</key>'
- - ' <dict>'
- - ' <key>hash</key>'
- - ' <data>'
- - ' 2jmj7l5rSw0yVb/vlWAYkK/YBwk='
- - ' </data>'
- - ' <key>hash2</key>'
- - ' <data>'
- - ' 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
- - ' </data>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>rules</key>'
- - ' <dict>'
- - ' <key>^Resources/</key>'
- - ' <true/>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^version.plist$</key>'
- - ' <true/>'
- - ' </dict>'
- - ' <key>rules2</key>'
- - ' <dict>'
- - ' <key>.*/.dSYM($|/)</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>11</real>'
- - ' </dict>'
- - ' <key>^(.*/)?/.DS_Store$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>2000</real>'
- - ' </dict>'
- - ' <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^.*</key>'
- - ' <true/>'
- - ' <key>^Info/.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^PkgInfo$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/</key>'
- - ' <dict>'
- - ' <key>optional</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1000</real>'
- - ' </dict>'
- - ' <key>^Resources/.*/.lproj/locversion.plist$</key>'
- - ' <dict>'
- - ' <key>omit</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>1100</real>'
- - ' </dict>'
- - ' <key>^Resources/Base/.lproj/</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>1010</real>'
- - ' </dict>'
- - ' <key>^[^/]+$</key>'
- - ' <dict>'
- - ' <key>nested</key>'
- - ' <true/>'
- - ' <key>weight</key>'
- - ' <real>10</real>'
- - ' </dict>'
- - ' <key>^embedded/.provisionprofile$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' <key>^version/.plist$</key>'
- - ' <dict>'
- - ' <key>weight</key>'
- - ' <real>20</real>'
- - ' </dict>'
- - ' </dict>'
- - </dict>
- - </plist>
- - ''
-- path: Resources/file-00.txt
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-- path: Resources/file-01.txt
- file_size: 0
- file_sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- entity: other
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-cms.trycmd b/vendor/apple-codesign/tests/cmd/sign-cms.trycmd
deleted file mode 100644
index 2f64341..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-cms.trycmd
+++ /dev/null
@@ -1,815 +0,0 @@
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign --pem-source src/testdata/self-signed-rsa-apple-development.pem --signing-time 2023-11-05T10:00:00Z --timestamp-url none exe exe.apple-development
-reading PEM data from src/testdata/self-signed-rsa-apple-development.pem
-registering signing key
-signing exe to exe.apple-development
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-creating cryptographic signature with certificate Apple Development: RSA Apple Development (test)
-writing Mach-O to exe.apple-development
-
-$ rcodesign extract cms-info exe.apple-development
-signed content (embedded): None
-signed content (external): Some("fade0c020000013c00020400000000000000009c000000580000000200000005000040102002000c")... (316 bytes)
-signed content SHA-1: e1c19ec9ec8c13b3940f8385a8f5f9b56309330a
-signed content SHA-256: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
-signed content SHA-384: 25a7989a6cb024c4d037cd56f0bcfcea0ba4b178362dc4d1694a2080e47d7c63bb178b5a85dfddc9bedf8764ac8d380a
-signed content SHA-512: 16db5b4b1ea0529186a760790ce2d2325ea31f3d009eb74a182beb97ac26617e5495bf638d4b79746eee8f469aa991ba3a341af41b46d3b8d59079cf6d376950
-certificate count: 1
-certificate #0: subject CN=Apple Development: RSA Apple Development (test); self signed=true
-signer count: 1
-signer #0: digest algorithm: Sha256
-signer #0: signature algorithm: RsaSha256
-signer #0: content type: 1.2.840.113549.1.7.1
-signer #0: message digest: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
-signer #0: signing time: Some(2023-11-05T10:00:00Z)
-signer #0: signature content SHA-1: fc8004e694122f8e134b5e39380392165732f648
-signer #0: signature content SHA-256: c07c8319b33e4410d2f6b06ad5344aebbd7a848894f9c5004057cbbe8e17474d
-signer #0: signature content SHA-384: 8b53dc40ee48b34eee4c4ba0c2d0fe411929ef4f80e9dbc167cf96c6ef4abd8d633affefffdca0ef6eadc0a055c31827
-signer #0: signature content SHA-512: f4cf4a8f0e4de256e07bbfedff1455d50ae05cdbd2d3fec3a12bbc055a1e77d7746b8f1b2bf55fc6380164fda04e1d12d3fd03085b5842f6fb7c5a00348eec84
-signer #0: signature valid: true
-signer #0: time-stamp token present: false
-
-$ rcodesign extract cms exe.apple-development
-SignedData {
- digest_algorithms: {
- Sha256,
- },
- signed_content: None,
- certificates: Some(
- [
- CapturedX509Certificate {
- original: Ber(308203f7308202dfa003020102020101300d06092a864886f70d01010b050030818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b3009060355040613025553301e170d3233313130373130343932385a170d3337303731363130343932385a30818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b300906035504061302555330820122300d06092a864886f70d01010105000382010f003082010a0282010100e6c9e2a15c321fbad0442e10bebb9824c6319fdaa7afd7c227bda4a81e152b9728855a375e34249f85f4127207a658bc091b447bb499f1f0884eecc98187630200f24c4d08e557624c33a4021ab5528581a92b902b4d436c3033cc27f67242f3eff171ed62f316fc0f138eb927e8d0568aecf11fc519487608509037e1382d81998c12f7b5913dd14bf9c26880bcc270c46b872023f83bdd1ba2395b34d6873ca5ff703dffbce5f561b55361a5a3bd01bfeda19f20b1a6bc89aadffb643d3e8faf2329609e11a587732f85405102de6a2cd76c2f95c95e22dd7af7ae9b8f238d2c60abad0595b3fa9c96b52e9ab95ef7af4596112de6fa5862aebc7aa24fe1fb0203010001a3623060300c0603551d130101ff0402300030160603551d250101ff040c300a06082b06010505070303300e0603551d0f0101ff0404030207803013060a2a864886f763640601020101ff040205003013060a2a864886f7636406010c0101ff04020500300d06092a864886f70d01010b0500038201010099563303c646c61728b9758f16c559e6e1be2eae0884c8535834062b81f21c89a94c89c0ffb25b93b886535749d81e94440f6d257438e07cc701a7e69aa8bdeca71c3d2f686357f842c62a27b045c671b487d89fd3e69458aae19d69274e7b2d54f7f736e25196738185cab05ccd71b4d8a180610e1f771cfeee0198047692ec87fd3a4dbac1db4ff8205ddd7445d6184b11e3ca7018d6a495fa4b44bc1325fdd68050b45dddadf3a9a9ea0575a5b6d7a9d636f052f3b3d79729bf475efc9c95db4154f14d2ae598cb0debd424e0f0bfe59f11668f1e80e52412ae3f722bab026439addcf9a07b81cd17dec724afa51128e092038203c137f602cb154397c05a),
- inner: X509Certificate(
- Certificate {
- tbs_certificate: TbsCertificate {
- version: Some(
- V3,
- ),
- serial_number: Integer(
- b"/x01",
- ),
- signature: AlgorithmIdentifier {
- algorithm: 1.2.840.113549.1.1.11,
- parameters: Some(
- AlgorithmParameter(
- [ 05 00 ],
- ),
- ),
- },
- issuer: RdnSequence(
- RdnSequence(
- [
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 0.9.2342.19200300.100.1.1,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.3,
- value: 0c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.11,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.10,
- value: 0c15525341204170706c6520446576656c6f706d656e74,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.6,
- value: 13025553,
- },
- ],
- ),
- ],
- ),
- ),
- validity: Validity {
- not_before: UtcTime(
- UtcTime(
- 2023-11-07T10:49:28Z,
- ),
- ),
- not_after: UtcTime(
- UtcTime(
- 2037-07-16T10:49:28Z,
- ),
- ),
- },
- subject: RdnSequence(
- RdnSequence(
- [
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 0.9.2342.19200300.100.1.1,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.3,
- value: 0c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.11,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.10,
- value: 0c15525341204170706c6520446576656c6f706d656e74,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.6,
- value: 13025553,
- },
- ],
- ),
- ],
- ),
- ),
- subject_public_key_info: SubjectPublicKeyInfo {
- algorithm: AlgorithmIdentifier {
- algorithm: 1.2.840.113549.1.1.1,
- parameters: Some(
- AlgorithmParameter(
- [ 05 00 ],
- ),
- ),
- },
- subject_public_key: 3082010a0282010100e6c9e2a15c321fbad0442e10bebb9824c6319fdaa7afd7c227bda4a81e152b9728855a375e34249f85f4127207a658bc091b447bb499f1f0884eecc98187630200f24c4d08e557624c33a4021ab5528581a92b902b4d436c3033cc27f67242f3eff171ed62f316fc0f138eb927e8d0568aecf11fc519487608509037e1382d81998c12f7b5913dd14bf9c26880bcc270c46b872023f83bdd1ba2395b34d6873ca5ff703dffbce5f561b55361a5a3bd01bfeda19f20b1a6bc89aadffb643d3e8faf2329609e11a587732f85405102de6a2cd76c2f95c95e22dd7af7ae9b8f238d2c60abad0595b3fa9c96b52e9ab95ef7af4596112de6fa5862aebc7aa24fe1fb0203010001 (unused 0),
- },
- issuer_unique_id: None,
- subject_unique_id: None,
- extensions: Some(
- Extensions(
- [
- Extension {
- id: 2.5.29.19,
- critical: Some(
- true,
- ),
- value: 3000,
- },
- Extension {
- id: 2.5.29.37,
- critical: Some(
- true,
- ),
- value: 300a06082b06010505070303,
- },
- Extension {
- id: 2.5.29.15,
- critical: Some(
- true,
- ),
- value: 03020780,
- },
- Extension {
- id: 1.2.840.113635.100.6.1.2,
- critical: Some(
- true,
- ),
- value: 0500,
- },
- Extension {
- id: 1.2.840.113635.100.6.1.12,
- critical: Some(
- true,
- ),
- value: 0500,
- },
- ],
- ),
- ),
- raw_data: Some("308202dfa003020102020101300d06092a864886f70d01010b050030818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b3009060355040613025553301e170d3233313130373130343932385a170d3337303731363130343932385a30818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b300906035504061302555330820122300d06092a864886f70d01010105000382010f003082010a0282010100e6c9e2a15c321fbad0442e10bebb9824c6319fdaa7afd7c227bda4a81e152b9728855a375e34249f85f4127207a658bc091b447bb499f1f0884eecc98187630200f24c4d08e557624c33a4021ab5528581a92b902b4d436c3033cc27f67242f3eff171ed62f316fc0f138eb927e8d0568aecf11fc519487608509037e1382d81998c12f7b5913dd14bf9c26880bcc270c46b872023f83bdd1ba2395b34d6873ca5ff703dffbce5f561b55361a5a3bd01bfeda19f20b1a6bc89aadffb643d3e8faf2329609e11a587732f85405102de6a2cd76c2f95c95e22dd7af7ae9b8f238d2c60abad0595b3fa9c96b52e9ab95ef7af4596112de6fa5862aebc7aa24fe1fb0203010001a3623060300c0603551d130101ff0402300030160603551d250101ff040c300a06082b06010505070303300e0603551d0f0101ff0404030207803013060a2a864886f763640601020101ff040205003013060a2a864886f7636406010c0101ff04020500"),
- },
- signature_algorithm: AlgorithmIdentifier {
- algorithm: 1.2.840.113549.1.1.11,
- parameters: Some(
- AlgorithmParameter(
- [ 05 00 ],
- ),
- ),
- },
- signature: 99563303c646c61728b9758f16c559e6e1be2eae0884c8535834062b81f21c89a94c89c0ffb25b93b886535749d81e94440f6d257438e07cc701a7e69aa8bdeca71c3d2f686357f842c62a27b045c671b487d89fd3e69458aae19d69274e7b2d54f7f736e25196738185cab05ccd71b4d8a180610e1f771cfeee0198047692ec87fd3a4dbac1db4ff8205ddd7445d6184b11e3ca7018d6a495fa4b44bc1325fdd68050b45dddadf3a9a9ea0575a5b6d7a9d636f052f3b3d79729bf475efc9c95db4154f14d2ae598cb0debd424e0f0bfe59f11668f1e80e52412ae3f722bab026439addcf9a07b81cd17dec724afa51128e092038203c137f602cb154397c05a (unused 0),
- },
- ),
- },
- ],
- ),
- signers: [
- SignerInfo {
- issuer: RdnSequence(
- RdnSequence(
- [
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 0.9.2342.19200300.100.1.1,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.3,
- value: 0c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.11,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.10,
- value: 0c15525341204170706c6520446576656c6f706d656e74,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.6,
- value: 13025553,
- },
- ],
- ),
- ],
- ),
- ),
- serial_number: Integer(
- b"/x01",
- ),
- digest_algorithm: Sha256,
- signature_algorithm: RsaSha256,
- signature: 427dab648570de5bb97d6660434a47057abd7fdbd2598419a96307c2e3b72f8dd3db12e4b540d3976ba30220c49a19ef82193d66b04cefdf5066ab49472b4c6b333cabf9c789167d04c25974b3ca2a3bf9d26a47cf575b209216fa3b6f7f849b026e168d248692db61f68ed974462423bcc69fe152b8db05c58b5b1dae0a6cde4c1f085c51ddba0621935ae4cc5fa764073a9681241dd03db9497844200749b31f1cb53345ab1c1626f4bc41c0171dd24178d14c66bc6392fc0cb1b7b8a27622af16bd52fdc54661939a07d49d0f9aebf833765fbaf4c2f8febc6741643ae4dc133ef35cf01eeb205b309d56ab240ae73ebf013ea80203b9c7dd613355c7585b,
- signed_attributes: Some(
- SignedAttributes {
- content_type: 1.2.840.113549.1.7.1,
- message_digest: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c,
- signing_time: Some(
- 2023-11-05T10:00:00Z,
- ),
- },
- ),
- digested_signed_attributes_data: Some("318201d4301806092a864886f70d010903310b06092a864886f70d010701301c06092a864886f70d010905310f170d3233313130353130303030305a302f06092a864886f70d01090431220420fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c303c06092a864886f763640902312f302d06096086480165030402010420fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c3082012906092a864886f7636409013182011a048201163c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e0a3c21444f435459504520706c697374205055424c494320222d2f2f4170706c652f2f44544420504c49535420312e302f2f454e222022687474703a2f2f7777772e6170706c652e636f6d2f445444732f50726f70657274794c6973742d312e302e647464223e0a3c706c6973742076657273696f6e3d22312e30223e0a3c646963743e0a093c6b65793e63646861736865733c2f6b65793e0a093c61727261793e0a09093c646174613e0a09092b394d355079415679485a5438737a766161686b2b3243595869453d0a09093c2f646174613e0a093c2f61727261793e0a3c2f646963743e0a3c2f706c6973743e0a"),
- unsigned_attributes: None,
- },
- ],
-}
-
-$ rcodesign print-signature-info exe.apple-development
-- path: exe.apple-development
- file_size: 22544
- file_sha256: b79b1797e7e4da470e94c4b4881e1a04dab26e515cf3ecdc69e31cb16f48812d
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 18841 / 0x4999
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 2457 / 0x999
- linkedit_bytes_after_signature: 3703 / 0xe77
- signature:
- superblob_length: 2441 / 0x989
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: e1c19ec9ec8c13b3940f8385a8f5f9b56309330a
- sha256: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 80
- sha1: 4f9d3e687a7622d7209180eeca44e6a4c97a2187
- sha256: f48f861e449222d508463e8342afee0c2241817878cab57b21e38e6aea0c08fa
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 2009
- sha1: faa96064b748df76d40c73c847cad6664772324c
- sha256: f77bac63ecd33d9a152f4011d5cfefe695682e4dd15da5d89cdb9d8347350404
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(0x0)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): f48f861e449222d508463e8342afee0c2241817878cab57b21e38e6aea0c08fa'
- code_requirements:
- - 'designated(3): 0: (identifier "exe") and (certificate root = H"e1c7216e46533c923b7cfc94e86c7043790b96e9");'
- cms:
- certificates:
- - subject: 'CN=Apple Development: RSA Apple Development (test), OU=test, O=RSA Apple Development, C=US'
- issuer: 'CN=Apple Development: RSA Apple Development (test), OU=test, O=RSA Apple Development, C=US'
- key_algorithm: RSA
- signature_algorithm: SHA-256 with RSA encryption
- signed_with_algorithm: SHA-256 with RSA encryption
- is_apple_root_ca: false
- is_apple_intermediate_ca: false
- chains_to_apple_root_ca: false
- apple_extended_key_usages:
- - Code Signing
- apple_code_signing_extensions:
- - iPhone Developer
- - Mac Developer
- apple_certificate_profile: apple-development
- apple_team_id: test
- signers:
- - issuer: 'CN=Apple Development: RSA Apple Development (test), OU=test, O=RSA Apple Development, C=US'
- digest_algorithm: SHA-256
- signature_algorithm: SHA-256 with RSA encryption
- attributes:
- - 1.2.840.113549.1.9.3
- - 1.2.840.113549.1.9.4
- - 1.2.840.113549.1.9.5
- - 1.2.840.113635.100.9.1
- - 1.2.840.113635.100.9.2
- content_type: 1.2.840.113549.1.7.1
- message_digest: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
- signing_time: 2023-11-05T10:00:00Z
- cdhash_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>cdhashes</key>'
- - ' <array>'
- - ' <data>'
- - "/t/t+9M5PyAVyHZT8szvaahk+2CYXiE="
- - "/t/t</data>"
- - ' </array>'
- - ' </dict>'
- - </plist>
- cdhash_digests:
- - - 2.16.840.1.101.3.4.2.1
- - fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
- signature_verifies: true
-
-$ rcodesign sign --pem-source src/testdata/self-signed-rsa-apple-distribution.pem --signing-time 2023-11-05T10:00:00Z --timestamp-url none exe exe.apple-distribution
-reading PEM data from src/testdata/self-signed-rsa-apple-distribution.pem
-registering signing key
-signing exe to exe.apple-distribution
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-creating cryptographic signature with certificate Apple Distribution: RSA Apple Distribution (test)
-writing Mach-O to exe.apple-distribution
-
-$ rcodesign print-signature-info exe.apple-distribution
-- path: exe.apple-distribution
- file_size: 22544
- file_sha256: 81cbb13602e5aa13afd8ba7a2aa20429e13426043660916191318051644d6820
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 18850 / 0x49a2
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 2466 / 0x9a2
- linkedit_bytes_after_signature: 3694 / 0xe6e
- signature:
- superblob_length: 2450 / 0x992
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 34fce63175115d3946697622c3c9c258b2fdc82e
- sha256: 691a7c16a12d28cca6045028c2b1b56d15cf4e1f679bc2c34ecdb57d346bc244
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 80
- sha1: b9d926a29a6b0a414a767d932df464b0ba4015bc
- sha256: 93cc24502039c0f7c85f1165b021a7f703793b8d07ce1b71cbb3435c7e4c5d93
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 2018
- sha1: d91ee60ca34d3de9169c7cac3fb4f0dbbfbe1d1e
- sha256: 3164953bd2408b70af58b988d4b619f6f68d502d668d4c5787a03a5155f6ac59
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(0x0)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 93cc24502039c0f7c85f1165b021a7f703793b8d07ce1b71cbb3435c7e4c5d93'
- code_requirements:
- - 'designated(3): 0: (identifier "exe") and (certificate root = H"0383efdf909250708bf2de4d43753836ccb3d608");'
- cms:
- certificates:
- - subject: 'CN=Apple Distribution: RSA Apple Distribution (test), OU=test, O=RSA Apple Distribution, C=US'
- issuer: 'CN=Apple Distribution: RSA Apple Distribution (test), OU=test, O=RSA Apple Distribution, C=US'
- key_algorithm: RSA
- signature_algorithm: SHA-256 with RSA encryption
- signed_with_algorithm: SHA-256 with RSA encryption
- is_apple_root_ca: false
- is_apple_intermediate_ca: false
- chains_to_apple_root_ca: false
- apple_extended_key_usages:
- - Code Signing
- apple_code_signing_extensions:
- - Apple Mac App Signing (Development)
- - Apple Developer Certificate (Submission)
- apple_certificate_profile: apple-distribution
- apple_team_id: test
- signers:
- - issuer: 'CN=Apple Distribution: RSA Apple Distribution (test), OU=test, O=RSA Apple Distribution, C=US'
- digest_algorithm: SHA-256
- signature_algorithm: SHA-256 with RSA encryption
- attributes:
- - 1.2.840.113549.1.9.3
- - 1.2.840.113549.1.9.4
- - 1.2.840.113549.1.9.5
- - 1.2.840.113635.100.9.1
- - 1.2.840.113635.100.9.2
- content_type: 1.2.840.113549.1.7.1
- message_digest: 691a7c16a12d28cca6045028c2b1b56d15cf4e1f679bc2c34ecdb57d346bc244
- signing_time: 2023-11-05T10:00:00Z
- cdhash_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>cdhashes</key>'
- - ' <array>'
- - ' <data>'
- - "/t/taRp8FqEtKMymBFAowrG1bRXPTh8="
- - "/t/t</data>"
- - ' </array>'
- - ' </dict>'
- - </plist>
- cdhash_digests:
- - - 2.16.840.1.101.3.4.2.1
- - 691a7c16a12d28cca6045028c2b1b56d15cf4e1f679bc2c34ecdb57d346bc244
- signature_verifies: true
-
-$ rcodesign sign --pem-source src/testdata/self-signed-rsa-developer-id-application.pem --signing-time 2023-11-05T10:00:00Z --timestamp-url none exe exe.developer-id-application
-reading PEM data from src/testdata/self-signed-rsa-developer-id-application.pem
-registering signing key
-signing exe to exe.developer-id-application
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-creating cryptographic signature with certificate Developer ID Application: RSA Developer ID Application (test)
-writing Mach-O to exe.developer-id-application
-
-$ rcodesign print-signature-info exe.developer-id-application
-- path: exe.developer-id-application
- file_size: 22544
- file_sha256: 864799f8d45af41c80c3b93be270f559ece79f88e9aa944f4356eefe2532203a
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 18883 / 0x49c3
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 2499 / 0x9c3
- linkedit_bytes_after_signature: 3661 / 0xe4d
- signature:
- superblob_length: 2483 / 0x9b3
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: e32c3d89be4bd79a707a6028081ad309d230cd6e
- sha256: 5dd2eefc1b66bc80fc4b3f278aa620a5493f048a68627ca4d8f90e2d2f3841d7
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 80
- sha1: 6eb37ab943110f6b496aa327c4949c8348ba5456
- sha256: 0c0961788fa02751edb6b397dd4f130c78edd4380d0a0ddc397cb69fd1e38efa
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 2051
- sha1: 6a6c3b85d34353dcd7d77ad0188611beebf1380b
- sha256: ce9fe441659bdb5e3f65d1fba0e81543445b0c7dc47237e300791b3ddbe31fea
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(0x0)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 0c0961788fa02751edb6b397dd4f130c78edd4380d0a0ddc397cb69fd1e38efa'
- code_requirements:
- - 'designated(3): 0: (identifier "exe") and (certificate root = H"3acf1d302fe3a4bba06a3c16aadc908045bc9162");'
- cms:
- certificates:
- - subject: 'CN=Developer ID Application: RSA Developer ID Application (test), OU=test, O=RSA Developer ID Application, C=US'
- issuer: 'CN=Developer ID Application: RSA Developer ID Application (test), OU=test, O=RSA Developer ID Application, C=US'
- key_algorithm: RSA
- signature_algorithm: SHA-256 with RSA encryption
- signed_with_algorithm: SHA-256 with RSA encryption
- is_apple_root_ca: false
- is_apple_intermediate_ca: false
- chains_to_apple_root_ca: false
- apple_extended_key_usages:
- - Code Signing
- apple_code_signing_extensions:
- - Developer ID Application
- apple_certificate_profile: developer-id-application
- apple_team_id: test
- signers:
- - issuer: 'CN=Developer ID Application: RSA Developer ID Application (test), OU=test, O=RSA Developer ID Application, C=US'
- digest_algorithm: SHA-256
- signature_algorithm: SHA-256 with RSA encryption
- attributes:
- - 1.2.840.113549.1.9.3
- - 1.2.840.113549.1.9.4
- - 1.2.840.113549.1.9.5
- - 1.2.840.113635.100.9.1
- - 1.2.840.113635.100.9.2
- content_type: 1.2.840.113549.1.7.1
- message_digest: 5dd2eefc1b66bc80fc4b3f278aa620a5493f048a68627ca4d8f90e2d2f3841d7
- signing_time: 2023-11-05T10:00:00Z
- cdhash_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>cdhashes</key>'
- - ' <array>'
- - ' <data>'
- - "/t/tXdLu/BtmvID8Sz8niqYgpUk/BIo="
- - "/t/t</data>"
- - ' </array>'
- - ' </dict>'
- - </plist>
- cdhash_digests:
- - - 2.16.840.1.101.3.4.2.1
- - 5dd2eefc1b66bc80fc4b3f278aa620a5493f048a68627ca4d8f90e2d2f3841d7
- signature_verifies: true
-
-$ rcodesign sign --pem-source src/testdata/self-signed-rsa-developer-id-installer.pem --signing-time 2023-11-05T10:00:00Z --timestamp-url none exe exe.developer-id-installer
-reading PEM data from src/testdata/self-signed-rsa-developer-id-installer.pem
-registering signing key
-signing exe to exe.developer-id-installer
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-creating cryptographic signature with certificate Developer ID Installer: RSA Developer ID Installer (test)
-writing Mach-O to exe.developer-id-installer
-
-$ rcodesign print-signature-info exe.developer-id-installer
-- path: exe.developer-id-installer
- file_size: 22544
- file_sha256: 21c767ead15a921e3e30c767edad0fa427a1d6d2a40b4f441a6887936f50f3d4
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 18866 / 0x49b2
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 2482 / 0x9b2
- linkedit_bytes_after_signature: 3678 / 0xe5e
- signature:
- superblob_length: 2466 / 0x9a2
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: b1d835487867f475abdf906baacba12f8e4083cc
- sha256: b69ec4756395b108b381e8a40969b849986b28ff14ce1f8346e49d16278b093b
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 80
- sha1: bbf8d975b30086c19734ae0c52a2f0a296515ab3
- sha256: 77c190fb1bb2b3add5411d105d9d306cb5eb4bcb54ec1a7771239bebcc03e54c
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 2034
- sha1: 106fda991c0624264fe46127d92b85ef33dc8ae9
- sha256: 0806066e436723014fbf803ba8b465bcde2d39aff1951bee92afa78f623c221e
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(0x0)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 77c190fb1bb2b3add5411d105d9d306cb5eb4bcb54ec1a7771239bebcc03e54c'
- code_requirements:
- - 'designated(3): 0: (identifier "exe") and (certificate root = H"5c1314a89e5a486ac7b1da86b38e08777adca4af");'
- cms:
- certificates:
- - subject: 'CN=Developer ID Installer: RSA Developer ID Installer (test), OU=test, O=RSA Developer ID Installer, C=US'
- issuer: 'CN=Developer ID Installer: RSA Developer ID Installer (test), OU=test, O=RSA Developer ID Installer, C=US'
- key_algorithm: RSA
- signature_algorithm: SHA-256 with RSA encryption
- signed_with_algorithm: SHA-256 with RSA encryption
- is_apple_root_ca: false
- is_apple_intermediate_ca: false
- chains_to_apple_root_ca: false
- apple_extended_key_usages:
- - Developer ID Installer
- apple_code_signing_extensions:
- - Developer ID Installer
- apple_certificate_profile: developer-id-installer
- apple_team_id: test
- signers:
- - issuer: 'CN=Developer ID Installer: RSA Developer ID Installer (test), OU=test, O=RSA Developer ID Installer, C=US'
- digest_algorithm: SHA-256
- signature_algorithm: SHA-256 with RSA encryption
- attributes:
- - 1.2.840.113549.1.9.3
- - 1.2.840.113549.1.9.4
- - 1.2.840.113549.1.9.5
- - 1.2.840.113635.100.9.1
- - 1.2.840.113635.100.9.2
- content_type: 1.2.840.113549.1.7.1
- message_digest: b69ec4756395b108b381e8a40969b849986b28ff14ce1f8346e49d16278b093b
- signing_time: 2023-11-05T10:00:00Z
- cdhash_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>cdhashes</key>'
- - ' <array>'
- - ' <data>'
- - "/t/ttp7EdWOVsQizgeikCWm4SZhrKP8="
- - "/t/t</data>"
- - ' </array>'
- - ' </dict>'
- - </plist>
- cdhash_digests:
- - - 2.16.840.1.101.3.4.2.1
- - b69ec4756395b108b381e8a40969b849986b28ff14ce1f8346e49d16278b093b
- signature_verifies: true
-
-$ rcodesign sign --pem-source src/testdata/self-signed-rsa-mac-installer-distribution.pem --signing-time 2023-11-05T10:00:00Z --timestamp-url none exe exe.mac-installer-distribution
-reading PEM data from src/testdata/self-signed-rsa-mac-installer-distribution.pem
-registering signing key
-signing exe to exe.mac-installer-distribution
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-creating cryptographic signature with certificate 3rd Party Mac Developer Installer: RSA Mac Installer Distribution (test)
-writing Mach-O to exe.mac-installer-distribution
-
-$ rcodesign print-signature-info exe.mac-installer-distribution
-- path: exe.mac-installer-distribution
- file_size: 22544
- file_sha256: d95e33ec011ce293e9fd0f5b5e14cfe6ce42ecca863a72e50bf7260dab4c577f
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 18923 / 0x49eb
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 2539 / 0x9eb
- linkedit_bytes_after_signature: 3621 / 0xe25
- signature:
- superblob_length: 2523 / 0x9db
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 25b36eef594655dc5d3fe2546b8544689dce35a6
- sha256: 573b8c4f66ff2bd848f7af75fdb3daba70f38287b93463dfec1e0586f01ea59d
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 80
- sha1: 79b9c12819b6a549c8b107dc31a253351ad82e55
- sha256: 7d2395bc79aad815504fb0dcca84e5a009ac109a78843d24e8592c48f54388b7
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 2091
- sha1: 2c14a17b4c055b6a56dff68eae8bf9cfb7bfa36c
- sha256: 6a3e036f02b15b5117438fce7931b03f3b7b3b2a48bc557ba45be6bb9e364622
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(0x0)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 7d2395bc79aad815504fb0dcca84e5a009ac109a78843d24e8592c48f54388b7'
- code_requirements:
- - 'designated(3): 0: (identifier "exe") and (certificate root = H"58e39fe0fca55e7af4ca00027bc7c59e566e960a");'
- cms:
- certificates:
- - subject: 'CN=3rd Party Mac Developer Installer: RSA Mac Installer Distribution (test), OU=test, O=RSA Mac Installer Distribution, C=US'
- issuer: 'CN=3rd Party Mac Developer Installer: RSA Mac Installer Distribution (test), OU=test, O=RSA Mac Installer Distribution, C=US'
- key_algorithm: RSA
- signature_algorithm: SHA-256 with RSA encryption
- signed_with_algorithm: SHA-256 with RSA encryption
- is_apple_root_ca: false
- is_apple_intermediate_ca: false
- chains_to_apple_root_ca: false
- apple_extended_key_usages:
- - 3rd Party Mac Developer Installer Packaging Signing
- apple_code_signing_extensions:
- - Apple Mac App Signing Submission
- apple_certificate_profile: mac-installer-distribution
- apple_team_id: test
- signers:
- - issuer: 'CN=3rd Party Mac Developer Installer: RSA Mac Installer Distribution (test), OU=test, O=RSA Mac Installer Distribution, C=US'
- digest_algorithm: SHA-256
- signature_algorithm: SHA-256 with RSA encryption
- attributes:
- - 1.2.840.113549.1.9.3
- - 1.2.840.113549.1.9.4
- - 1.2.840.113549.1.9.5
- - 1.2.840.113635.100.9.1
- - 1.2.840.113635.100.9.2
- content_type: 1.2.840.113549.1.7.1
- message_digest: 573b8c4f66ff2bd848f7af75fdb3daba70f38287b93463dfec1e0586f01ea59d
- signing_time: 2023-11-05T10:00:00Z
- cdhash_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>cdhashes</key>'
- - ' <array>'
- - ' <data>'
- - "/t/tVzuMT2b/K9hI9691/bPaunDzgoc="
- - "/t/t</data>"
- - ' </array>'
- - ' </dict>'
- - </plist>
- cdhash_digests:
- - - 2.16.840.1.101.3.4.2.1
- - 573b8c4f66ff2bd848f7af75fdb3daba70f38287b93463dfec1e0586f01ea59d
- signature_verifies: true
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-code-requirements.trycmd b/vendor/apple-codesign/tests/cmd/sign-code-requirements.trycmd
deleted file mode 100644
index 437155c..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-code-requirements.trycmd
+++ /dev/null
@@ -1,66 +0,0 @@
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign debug-create-code-requirements --code-requirement developer-id-signed reqs
-writing code requirements to reqs
-
-$ rcodesign sign --code-requirements-path reqs exe exe.signed
-setting designated code requirements for main signing target: ((anchor apple generic) and (certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */)) and ((certificate leaf[field.1.2.840.113635.100.6.1.14] /* exists */) or (certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */))
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: c08fddbfc311ebf3358bc6dca698de84f1eb89ba4dcc6a5aa7a0e214f766909d
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16892 / 0x41fc
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 508 / 0x1fc
- linkedit_bytes_after_signature: 5652 / 0x1614
- signature:
- superblob_length: 492 / 0x1ec
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 73543dc5f7d53cca5d485adfa9a36aeeb162f5ad
- sha256: 0282989f9df116683ae8f98e3b71d389d7a9eaa9b1864904e94cb7bc4a19cb02
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 132
- sha1: 2ac6f23e29171f6d5b6a87822e8f5411753e0ec7
- sha256: 362f0cbb74f1847e4b2c7e3159a9d55e63d112fd1bf085e379d1bdfaf2813472
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 362f0cbb74f1847e4b2c7e3159a9d55e63d112fd1bf085e379d1bdfaf2813472'
- code_requirements:
- - 'designated(3): 0: ((anchor apple generic) and (certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */)) and ((certificate leaf[field.1.2.840.113635.100.6.1.14] /* exists */) or (certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */));'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-code-signature-flags.trycmd b/vendor/apple-codesign/tests/cmd/sign-code-signature-flags.trycmd
deleted file mode 100644
index 4a2865b..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-code-signature-flags.trycmd
+++ /dev/null
@@ -1,123 +0,0 @@
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign --code-signature-flags host --code-signature-flags hard --code-signature-flags kill --code-signature-flags expires --code-signature-flags runtime --code-signature-flags linker-signed exe exe.signed
-adding code signature flag CodeSignatureFlags(HOST) to main signing target
-adding code signature flag CodeSignatureFlags(FORCE_HARD) to main signing target
-adding code signature flag CodeSignatureFlags(FORCE_KILL) to main signing target
-adding code signature flag CodeSignatureFlags(FORCE_EXPIRATION) to main signing target
-adding code signature flag CodeSignatureFlags(RUNTIME) to main signing target
-adding code signature flag CodeSignatureFlags(LINKER_SIGNED) to main signing target
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 3017c61e6fcc2f51a8f617b6e7d942f7018e25c62fbacf40fe9e355fa04dff18
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16780 / 0x418c
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 396 / 0x18c
- linkedit_bytes_after_signature: 5764 / 0x1684
- signature:
- superblob_length: 380 / 0x17c
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 324
- sha1: 5387bae11c7dcb3c9e688b7eb64f05d8dac8c992
- sha256: 64128ab1178a720c658230df5e9143daebed711fb6879b72741be13dfdb5d6db
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20500'
- flags: CodeSignatureFlags(HOST | ADHOC | FORCE_HARD | FORCE_KILL | FORCE_EXPIRATION | RUNTIME)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- runtime_version: 11.0.0
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-$ rcodesign sign --code-signature-flags host exe.signed exe.signed.2
-adding code signature flag CodeSignatureFlags(HOST) to main signing target
-signing exe.signed to exe.signed.2
-signing exe.signed as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed.2
-
-$ rcodesign print-signature-info exe.signed.2
-- path: exe.signed.2
- file_size: 22544
- file_sha256: 2f9efe355a16d97141912918e577d4b17aa480d41b977115b75f299d4c32daf5
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16780 / 0x418c
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 396 / 0x18c
- linkedit_bytes_after_signature: 5764 / 0x1684
- signature:
- superblob_length: 380 / 0x17c
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 324
- sha1: 6d8822da191a8355c8f63147908fdca97497997a
- sha256: e94de3a843e9104d499fbd8472fa3ad2cff45e3c98f5867155d534ada84a962a
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20500'
- flags: CodeSignatureFlags(HOST | ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- runtime_version: 11.0.0
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-constraints.trycmd b/vendor/apple-codesign/tests/cmd/sign-constraints.trycmd
deleted file mode 100644
index bfe3d34..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-constraints.trycmd
+++ /dev/null
@@ -1,191 +0,0 @@
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign debug-create-constraints --team-id self self.plist
-writing constraints plist to self.plist
-
-$ rcodesign debug-create-constraints --team-id parent parent.plist
-writing constraints plist to parent.plist
-
-$ rcodesign debug-create-constraints --team-id responsible responsible.plist
-writing constraints plist to responsible.plist
-
-$ rcodesign debug-create-constraints --team-id library library.plist
-writing constraints plist to library.plist
-
-$ rcodesign -v sign --launch-constraints-self-file self.plist --launch-constraints-parent-file parent.plist --launch-constraints-responsible-file responsible.plist --library-constraints-file library.plist exe exe.signed
-setting self launch constraints for main signing target from path self.plist
-setting parent process launch constraints for main signing target from path parent.plist
-setting responsible process launch constraints for main signing target from path responsible.plist
-setting loaded library constraints for main signing target from path library.plist
-signing exe to exe.signed
-signing exe as a Mach-O binary
-inferring default signing settings from Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-signing Mach-O binary at index 0
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-creating ad-hoc signature
-code directory version: 132096
-total signature size: 1072 bytes
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 790c4aa4f95ed99bf7a0c8bc7fdbb5db42d0866d28deb61d321e437074b2e2cb
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17472 / 0x4440
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 1088 / 0x440
- linkedit_bytes_after_signature: 5072 / 0x13d0
- signature:
- superblob_length: 1072 / 0x430
- blob_count: 7
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 604
- sha1: 45ef0fe3d1f42d9b5c0a3261f82bc536626ede6c
- sha256: f791189a8fbd8abfc7184baa075d428788e7a1a86fbfe899365069efe3c1b50f
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: DER Launch Constraints on Self (8)
- magic: fade8181
- length: 92
- sha1: 2b749fe77b21e8fbd4a0896e011be9ee11d0bfe5
- sha256: cae1ca80e110bff504600a455803bd4260c71a2a3df3ee81f6f3cc3bb39eb94e
- - slot: DER Launch Constraints on Parent (9)
- magic: fade8181
- length: 94
- sha1: 27ea439e8ad23bbe2951638ccccbe75c2aa138d7
- sha256: 612cc88ec1c1e9c015953a7caae667169f646bf9d4c0fa63091bf55d285c558c
- - slot: DER Launch Constraints on Responsible Process (10)
- magic: fade8181
- length: 99
- sha1: e33c702c7b73cb54009443ddab5ea6e82574ce58
- sha256: 5410d96426086e9ad39af854d512ba3ac0465aa33e0116e7c3b3241e8ceaa0ac
- - slot: DER Launch Constraints on Loaded Libraries (11)
- magic: fade8181
- length: 95
- sha1: 7a3ca2070d329bf7eee56303568f81e920c48006
- sha256: 1aa9eb84f1e5332c9a7d818702c574120674c073e03decafe1dba6e3e3f2a7ea
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Application (4): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Entitlements (5): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Rep Specific (6): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'DER Entitlements (7): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'DER Launch Constraints on Self (8): cae1ca80e110bff504600a455803bd4260c71a2a3df3ee81f6f3cc3bb39eb94e'
- - 'DER Launch Constraints on Parent (9): 612cc88ec1c1e9c015953a7caae667169f646bf9d4c0fa63091bf55d285c558c'
- - 'DER Launch Constraints on Responsible Process (10): 5410d96426086e9ad39af854d512ba3ac0465aa33e0116e7c3b3241e8ceaa0ac'
- - 'DER Launch Constraints on Loaded Libraries (11): 1aa9eb84f1e5332c9a7d818702c574120674c073e03decafe1dba6e3e3f2a7ea'
- launch_constraints_self:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>ccat</key>'
- - ' <integer>0</integer>'
- - ' <key>comp</key>'
- - ' <integer>1</integer>'
- - ' <key>reqs</key>'
- - ' <dict>'
- - ' <key>$or</key>'
- - ' <dict>'
- - ' <key>team-identifier</key>'
- - ' <string>self</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>vers</key>'
- - ' <integer>1</integer>'
- - ' </dict>'
- - </plist>
- launch_constraints_parent:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>ccat</key>'
- - ' <integer>0</integer>'
- - ' <key>comp</key>'
- - ' <integer>1</integer>'
- - ' <key>reqs</key>'
- - ' <dict>'
- - ' <key>$or</key>'
- - ' <dict>'
- - ' <key>team-identifier</key>'
- - ' <string>parent</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>vers</key>'
- - ' <integer>1</integer>'
- - ' </dict>'
- - </plist>
- launch_constraints_responsible:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>ccat</key>'
- - ' <integer>0</integer>'
- - ' <key>comp</key>'
- - ' <integer>1</integer>'
- - ' <key>reqs</key>'
- - ' <dict>'
- - ' <key>$or</key>'
- - ' <dict>'
- - ' <key>team-identifier</key>'
- - ' <string>responsible</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>vers</key>'
- - ' <integer>1</integer>'
- - ' </dict>'
- - </plist>
- library_constraints:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>ccat</key>'
- - ' <integer>0</integer>'
- - ' <key>comp</key>'
- - ' <integer>1</integer>'
- - ' <key>reqs</key>'
- - ' <dict>'
- - ' <key>$or</key>'
- - ' <dict>'
- - ' <key>team-identifier</key>'
- - ' <string>library</string>'
- - ' </dict>'
- - ' </dict>'
- - ' <key>vers</key>'
- - ' <integer>1</integer>'
- - ' </dict>'
- - </plist>
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-digests.trycmd b/vendor/apple-codesign/tests/cmd/sign-digests.trycmd
deleted file mode 100644
index 1d3b5f5..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-digests.trycmd
+++ /dev/null
@@ -1,301 +0,0 @@
-# We can force the use of specific digests.
-
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign --digest sha1 exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: cdc8997042da0032519411d23d678ca453932182c9544393268da381e0205246
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16688 / 0x4130
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 304 / 0x130
- linkedit_bytes_after_signature: 5856 / 0x16e0
- signature:
- superblob_length: 288 / 0x120
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 232
- sha1: 29a1f2cbaf1a20e9326d3a6ebffb436d6531c98f
- sha256: 908cc01763cfb3f0479a270998b2b7e349d15d0ef6cf88dfbdf8c7b6f8f61bba
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha1
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- cms: null
-
-```
-
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign --digest sha1 --digest sha256 exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 23568
- file_sha256: 3e0e54e0e236947019d851382ebb65c3c4b7939e1c601dc981b8e88fa0e49ef7
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17012 / 0x4274
- macho_linkedit_end_offset: 23568 / 0x5c10
- macho_end_offset: 23568 / 0x5c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 628 / 0x274
- linkedit_bytes_after_signature: 6556 / 0x199c
- signature:
- superblob_length: 612 / 0x264
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 232
- sha1: 4f4a745ee8a3dfe4f9de996f2aa1d6e71f8ad5e6
- sha256: 518625e9dc0e38bf4f9be3dfb17070091a091e3643dc89215ae17feeac66069b
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 316
- sha1: a222eac2fc2818e7d09eadcfef8800940f50ea4e
- sha256: 226de56fa11db31547a694be8ec4ff1e592b3e554949865689fa444924f6a5d4
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha1
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
-
-# Signing a binary supporting old macOS automatically adds SHA-1 digests.
-
-```
-$ rcodesign debug-create-macho --minimum-os-version 10.11.3 exe
-writing Mach-O to exe
-
-$ rcodesign sign exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 23568
- file_sha256: 55c1916f7737031457bd6cf921e72de7a6060e6a5416cb398de373a429df35cd
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17012 / 0x4274
- macho_linkedit_end_offset: 23568 / 0x5c10
- macho_end_offset: 23568 / 0x5c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 628 / 0x274
- linkedit_bytes_after_signature: 6556 / 0x199c
- signature:
- superblob_length: 612 / 0x264
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 232
- sha1: 924ad4febb532fcc1768161281b840747b312bd5
- sha256: 0e4ae94cde8c28c6d0e1c156618602d99ad13661de603df665262a126987eaf2
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 316
- sha1: 3541576a4eb2b0474bc59c614d2e3fe2459aae0b
- sha256: aaafdd1ab8ef8ae97c11f8501a5cd923899657424f065be1b4e91941c4b803ba
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha1
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
-
-Signing a binary without Mach-O targeting adds SHA-1 digests
-
-```
-$ rcodesign debug-create-macho --no-targeting exe
-writing Mach-O to exe
-
-$ rcodesign sign exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 23568
- file_sha256: 188bcc6537912c2fa3b7db65d6ccec0053d0d680b35a0a3a18c7cfe0bee56687
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17012 / 0x4274
- macho_linkedit_end_offset: 23568 / 0x5c10
- macho_end_offset: 23568 / 0x5c10
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 628 / 0x274
- linkedit_bytes_after_signature: 6556 / 0x199c
- signature:
- superblob_length: 612 / 0x264
- blob_count: 4
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 232
- sha1: 065debcf801fabfb5915636fd16f4a7018da2f40
- sha256: fa9a4ab20228af9d52544f9f021e8d3bd02b9a8bc38ebcd3787b167d41189ffc
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: 'CodeDirectory Alternate #0 (4096)'
- magic: fade0c02
- length: 316
- sha1: 7fb8e0032e6368d4456cd1c0fc148a02f030b610
- sha256: 6b30a1e0f8780390d0ca3276cac2e0b3ae498d3b8986cc127cd4565314b07750
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha1
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000'
- - 'RequirementSet (2): 3a75f6db058529148e14dd7ea1b4729cc09ec973'
- alternative_code_directories:
- - - 'CodeDirectory Alternate #0 (4096)'
- - version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-entitlements.trycmd b/vendor/apple-codesign/tests/cmd/sign-entitlements.trycmd
deleted file mode 100644
index c7628d7..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-entitlements.trycmd
+++ /dev/null
@@ -1,228 +0,0 @@
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign debug-create-entitlements --get-task-allow entitlements.plist
-writing entitlements.plist
-
-$ cat entitlements.plist
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>get-task-allow</key>
- <true/>
-</dict>
-</plist>
-$ rcodesign sign --entitlements-xml-path entitlements.plist exe exe.signed
-setting entitlements XML for main signing target from path entitlements.plist
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 76362775999fdb91e4ee35c83e8b9b47cf4b30643fb7e1298096cd23e38676d0
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17215 / 0x433f
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 831 / 0x33f
- linkedit_bytes_after_signature: 5329 / 0x14d1
- signature:
- superblob_length: 815 / 0x32f
- blob_count: 5
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 476
- sha1: b734525ced22c371f94c5db4f24d84db32a020fe
- sha256: 6929e7e458738363e16107c68e454ab544ad31e501b5a4223bcf736124a40275
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: Entitlements (5)
- magic: fade7171
- length: 231
- sha1: 609a70a1468d84bef2be0146d1f0a5ea1c839948
- sha256: adea2675562421d85cc35e2c909ae27f33846eeb3b2b7c68017abd1b4b02f624
- - slot: DER Entitlements (7)
- magic: fade7172
- length: 36
- sha1: 1018e52606e45993b16da1c621ceec945b9d5226
- sha256: 4d9925d24f1357a00429379f31f567cedfaa8101d58442e7864f923bfb708794
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY | ALLOW_UNSIGNED)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Application (4): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Entitlements (5): adea2675562421d85cc35e2c909ae27f33846eeb3b2b7c68017abd1b4b02f624'
- - 'Rep Specific (6): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'DER Entitlements (7): 4d9925d24f1357a00429379f31f567cedfaa8101d58442e7864f923bfb708794'
- entitlements_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>get-task-allow</key>'
- - ' <true/>'
- - </dict>
- - </plist>
- entitlements_der_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>get-task-allow</key>'
- - ' <true />'
- - ' </dict>'
- - </plist>
- cms: null
-
-$ rcodesign debug-create-entitlements --get-task-allow --run-unsigned-code --debugger --dynamic-code-signing --skip-library-validation entitlements.plist
-writing entitlements.plist
-
-$ cat entitlements.plist
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>get-task-allow</key>
- <true/>
- <key>run-unsigned-code</key>
- <true/>
- <key>com.apple.private.cs.debugger</key>
- <true/>
- <key>dynamic-codesigning</key>
- <true/>
- <key>com.apple.private.skip-library-validation</key>
- <true/>
-</dict>
-</plist>
-$ rcodesign sign --entitlements-xml-path entitlements.plist exe exe.signed
-setting entitlements XML for main signing target from path entitlements.plist
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 430f7d90ca4ee8032a3449edc4bd653db9be9b25a2134bbfad6372572a45ae49
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 17545 / 0x4489
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 1161 / 0x489
- linkedit_bytes_after_signature: 4999 / 0x1387
- signature:
- superblob_length: 1145 / 0x479
- blob_count: 5
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 476
- sha1: 200aa4782ec54d3bee30812ceae2fda9cd9de682
- sha256: 45935fd888a2c65f4fdb2aec0539d97b8d0048c42e1eb50a9087a6bedd6e1e56
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: Entitlements (5)
- magic: fade7171
- length: 425
- sha1: 12d9b2e699e7ea852d20b29b6d428363cc919540
- sha256: e49f5c5bbafe414f3e1061dbaa41d3f7bd618138870826ccd586fd3a004f5687
- - slot: DER Entitlements (7)
- magic: fade7172
- length: 172
- sha1: add4cf224f06fe52b4b1d6130516e9ef9e557f17
- sha256: 901eb3ecea82e5ee82d092f460b76afea8daefd1b7b8014fe16c979bb62ac4d7
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY | ALLOW_UNSIGNED | DEBUGGER | JIT | SKIP_LIBRARY_VALIDATION)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- - 'Resources (3): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Application (4): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'Entitlements (5): e49f5c5bbafe414f3e1061dbaa41d3f7bd618138870826ccd586fd3a004f5687'
- - 'Rep Specific (6): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'DER Entitlements (7): 901eb3ecea82e5ee82d092f460b76afea8daefd1b7b8014fe16c979bb62ac4d7'
- entitlements_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- - <plist version="1.0">
- - <dict>
- - ' <key>get-task-allow</key>'
- - ' <true/>'
- - ' <key>run-unsigned-code</key>'
- - ' <true/>'
- - ' <key>com.apple.private.cs.debugger</key>'
- - ' <true/>'
- - ' <key>dynamic-codesigning</key>'
- - ' <true/>'
- - ' <key>com.apple.private.skip-library-validation</key>'
- - ' <true/>'
- - </dict>
- - </plist>
- entitlements_der_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>com.apple.private.cs.debugger</key>'
- - ' <true />'
- - ' <key>com.apple.private.skip-library-validation</key>'
- - ' <true />'
- - ' <key>dynamic-codesigning</key>'
- - ' <true />'
- - ' <key>get-task-allow</key>'
- - ' <true />'
- - ' <key>run-unsigned-code</key>'
- - ' <true />'
- - ' </dict>'
- - </plist>
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-for-notarization.trycmd b/vendor/apple-codesign/tests/cmd/sign-for-notarization.trycmd
deleted file mode 100644
index de0abab..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-for-notarization.trycmd
+++ /dev/null
@@ -1,137 +0,0 @@
-Sign a bundle containing multiple Mach-O binaries.
-
-```
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/MyApp
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/MyApp
-
-$ rcodesign debug-create-macho MyApp.app/Contents/MacOS/bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/bin
-
-$ rcodesign debug-create-macho --file-type dylib MyApp.app/Contents/MacOS/lib.dylib
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/MacOS/lib.dylib
-
-$ rcodesign debug-create-macho MyApp.app/Contents/Resources/non-nested-bin
-assuming default minimum version 11.0.0
-writing Mach-O to MyApp.app/Contents/Resources/non-nested-bin
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp MyApp.app/Contents/Info.plist
-writing MyApp.app/Contents/Info.plist
-
-$ rcodesign sign --for-notarization MyApp.app MyApp.app.signed
-? 1
---for-notarization requires use of a Developer ID signing certificate; no signing certificate was provided
-Error: signing settings are not compatible with notarization
-
-$ rcodesign sign --for-notarization --pem-source src/testdata/self-signed-rsa-apple-development.pem MyApp.app MyApp.app.signed
-? 1
-reading PEM data from src/testdata/self-signed-rsa-apple-development.pem
-registering signing key
-using time-stamp protocol server http://timestamp.apple.com/ts01
---for-notarization requires use of an Apple-issued signing certificate; current certificate is not signed by Apple
-hint: use a signing certificate issued by Apple that is signed by an Apple certificate authority
---for-notarization requires use of a Developer ID signing certificate; current certificate doesn't appear to be such a certificate
-hint: use a `Developer ID Application`, `Developer ID Installer`, or `Developer ID Kernel` certificate
-Error: signing settings are not compatible with notarization
-
-$ rcodesign sign --for-notarization --pem-source src/testdata/self-signed-rsa-developer-id-application.pem MyApp.app MyApp.app.signed
-? 1
-reading PEM data from src/testdata/self-signed-rsa-developer-id-application.pem
-registering signing key
-using time-stamp protocol server http://timestamp.apple.com/ts01
---for-notarization requires use of an Apple-issued signing certificate; current certificate is not signed by Apple
-hint: use a signing certificate issued by Apple that is signed by an Apple certificate authority
-Error: signing settings are not compatible with notarization
-
-$ rcodesign sign --for-notarization --pem-source src/testdata/self-signed-rsa-developer-id-application.pem --timestamp-url none MyApp.app MyApp.app.signed
-? 1
-reading PEM data from src/testdata/self-signed-rsa-developer-id-application.pem
-registering signing key
---for-notarization requires use of an Apple-issued signing certificate; current certificate is not signed by Apple
-hint: use a signing certificate issued by Apple that is signed by an Apple certificate authority
---for-notarization requires use of a time-stamp protocol server; none configured
-Error: signing settings are not compatible with notarization
-
-$ rcodesign sign -v --for-notarization --signing-time 2024-01-01T00:00:00Z --pem-source src/testdata/self-signed-rsa-developer-id-application2.pem MyApp.app MyApp.app.signed
-reading PEM data from src/testdata/self-signed-rsa-developer-id-application2.pem
-adding private key from src/testdata/self-signed-rsa-developer-id-application2.pem
-adding certificate from src/testdata/self-signed-rsa-developer-id-application2.pem
-registering signing key
-using time-stamp protocol server http://timestamp.apple.com/ts01
-signing MyApp.app to MyApp.app.signed
-signing bundle at MyApp.app
-signing bundle at MyApp.app into MyApp.app.signed
-collecting code resources files
-copying file MyApp.app/Contents/Info.plist -> MyApp.app.signed/Contents/Info.plist
-sealing nested Mach-O binary: Contents/MacOS/bin
-signing Mach-O file Contents/MacOS/bin
-setting binary identifier based on path: bin
-inferring default signing settings from Mach-O binary
-signing Mach-O binary at index 0
-deriving code requirements from signing certificate
-deriving code requirements from signing certificate
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding hardened runtime flag because notarization mode enabled
-adding code signature flags from signing settings: CodeSignatureFlags(RUNTIME)
-using hardened runtime version 11.0.0 derived from SDK version
-code directory version: 132352
-creating cryptographic signature with certificate Developer ID Application: John Signer (deadbeef)
-Using time-stamp server http://timestamp.apple.com/ts01
-Using signing time 2024-01-01T00:00:00+00:00
-total signature size: [..] bytes
-writing Mach-O to MyApp.app.signed/Contents/MacOS/bin
-sealing nested Mach-O binary: Contents/MacOS/lib.dylib
-signing Mach-O file Contents/MacOS/lib.dylib
-setting binary identifier based on path: lib
-inferring default signing settings from Mach-O binary
-signing Mach-O binary at index 0
-deriving code requirements from signing certificate
-deriving code requirements from signing certificate
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding hardened runtime flag because notarization mode enabled
-adding code signature flags from signing settings: CodeSignatureFlags(RUNTIME)
-using hardened runtime version 11.0.0 derived from SDK version
-code directory version: 132352
-creating cryptographic signature with certificate Developer ID Application: John Signer (deadbeef)
-Using time-stamp server http://timestamp.apple.com/ts01
-Using signing time 2024-01-01T00:00:00+00:00
-total signature size: [..] bytes
-writing Mach-O to MyApp.app.signed/Contents/MacOS/lib.dylib
-non-nested file is a Mach-O binary; signing accordingly Contents/Resources/non-nested-bin
-signing Mach-O file Contents/Resources/non-nested-bin
-setting binary identifier based on path: non-nested-bin
-inferring default signing settings from Mach-O binary
-signing Mach-O binary at index 0
-deriving code requirements from signing certificate
-deriving code requirements from signing certificate
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding hardened runtime flag because notarization mode enabled
-adding code signature flags from signing settings: CodeSignatureFlags(RUNTIME)
-using hardened runtime version 11.0.0 derived from SDK version
-code directory version: 132352
-creating cryptographic signature with certificate Developer ID Application: John Signer (deadbeef)
-Using time-stamp server http://timestamp.apple.com/ts01
-Using signing time 2024-01-01T00:00:00+00:00
-total signature size: [..] bytes
-writing Mach-O to MyApp.app.signed/Contents/Resources/non-nested-bin
-writing sealed resources to MyApp.app.signed/Contents/_CodeSignature/CodeResources
-signing main executable Contents/MacOS/MyApp
-setting main executable binary identifier to com.example.mybundle (derived from CFBundleIdentifier in Info.plist)
-inferring default signing settings from Mach-O binary
-signing Mach-O binary at index 0
-deriving code requirements from signing certificate
-deriving code requirements from signing certificate
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding hardened runtime flag because notarization mode enabled
-adding code signature flags from signing settings: CodeSignatureFlags(RUNTIME)
-using hardened runtime version 11.0.0 derived from SDK version
-code directory version: 132352
-creating cryptographic signature with certificate Developer ID Application: John Signer (deadbeef)
-Using time-stamp server http://timestamp.apple.com/ts01
-Using signing time 2024-01-01T00:00:00+00:00
-total signature size: [..] bytes
-writing signed main executable to MyApp.app.signed/Contents/MacOS/MyApp
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-macho-info-plist.trycmd b/vendor/apple-codesign/tests/cmd/sign-macho-info-plist.trycmd
deleted file mode 100644
index c2a7215..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-macho-info-plist.trycmd
+++ /dev/null
@@ -1,66 +0,0 @@
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign debug-create-info-plist --bundle-name MyApp Info.plist
-writing Info.plist
-
-$ rcodesign sign --info-plist-path Info.plist exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: a060c6c3b1bd72a2d0a8aca5e21d5a91ed7ecbcfdc7d0201a87ef53ed1a74077
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 7f41a89c7645b669df41150feae14a688103d27f
- sha256: af781f6cf2fe6b3460d436deaf800f0481ae67eaae1681a419fc7e9657da69a4
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-$ hashsum --sha256 --text Info.plist
-0a5902dc8e47f490d03889d3593d17bddbf79e6c1f79494e20dd28f9459effa5 Info.plist
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-macho-reconcile-identifier.trycmd b/vendor/apple-codesign/tests/cmd/sign-macho-reconcile-identifier.trycmd
deleted file mode 100644
index 02874dc..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-macho-reconcile-identifier.trycmd
+++ /dev/null
@@ -1,253 +0,0 @@
-When signing a universal Mach-O, disagreeing binary identifiers are
-reconciled to the same value.
-
-```
-$ rcodesign debug-create-macho --architecture x86-64 exe.x86_64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.x86_64
-
-$ rcodesign debug-create-macho --architecture aarch64 exe.aarch64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.aarch64
-
-$ rcodesign sign --binary-identifier identifier-0 exe.x86_64
-signing exe.x86_64 in place
-signing exe.x86_64 as a Mach-O binary
-parsing Mach-O
-writing Mach-O to exe.x86_64
-
-$ rcodesign sign --binary-identifier identifier-1 exe.aarch64
-signing exe.aarch64 in place
-signing exe.aarch64 as a Mach-O binary
-parsing Mach-O
-writing Mach-O to exe.aarch64
-
-$ rcodesign macho-universal-create -o exe exe.x86_64 exe.aarch64
-adding exe.x86_64
-adding exe.aarch64
-writing exe
-
-$ rcodesign -v sign exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-inferring default signing settings from Mach-O binary
-preserving existing binary identifier in Mach-O (identifier-0)
-preserving code signature flags in existing Mach-O signature (CodeSignatureFlags(ADHOC))
-identifiers within Mach-O do not agree (initial: identifier-0, subsequent: identifier-1); reconciling to identifier-0
-preserving code signature flags in existing Mach-O signature (CodeSignatureFlags(ADHOC))
-setting binary identifier to exe
-parsing Mach-O
-signing Mach-O binary at index 0
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding code signature flags from signing settings: CodeSignatureFlags(ADHOC)
-creating ad-hoc signature
-code directory version: 132096
-total signature size: 285 bytes
-signing Mach-O binary at index 1
-binary targets macOS >= 11.0.0 with SDK 11.0.0
-adding code signature flags from signing settings: CodeSignatureFlags(ADHOC)
-creating ad-hoc signature
-code directory version: 132096
-total signature size: 381 bytes
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 55312
- file_sha256: ef5ec5345b8b70820cf5f207dcf57a6e59e26067098416a93feba927aaf71402
- sub_path: macho-index:0
- entity:
- mach_o:
- macho_linkedit_start_offset: 4096 / 0x1000
- macho_signature_start_offset: 4112 / 0x1010
- macho_signature_end_offset: 4397 / 0x112d
- macho_linkedit_end_offset: 10256 / 0x2810
- macho_end_offset: 10256 / 0x2810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 301 / 0x12d
- linkedit_bytes_after_signature: 5859 / 0x16e3
- signature:
- superblob_length: 285 / 0x11d
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 229
- sha1: 41e8e1f340a05d3f0a349c9dd6ee4ea608f13934
- sha256: f319eb464979c5ac2db1f24f9d73c17731a022e4af7d9530fe89913e9a9401fd
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: identifier-0
- digest_type: sha256
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: exe.signed
- file_size: 55312
- file_sha256: ef5ec5345b8b70820cf5f207dcf57a6e59e26067098416a93feba927aaf71402
- sub_path: macho-index:1
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16781 / 0x418d
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 397 / 0x18d
- linkedit_bytes_after_signature: 5763 / 0x1683
- signature:
- superblob_length: 381 / 0x17d
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 325
- sha1: c51f0d3272967beff74e25d1f0caedc9b6ed8229
- sha256: 5f7b84f4ce42b6237680fb5a15b7f6a58afe21a5ff73b6e1f1c826835d220d53
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: identifier-0
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
-
-If we force a different identifier, that is used.
-
-```
-$ rcodesign sign --binary-identifier identifier-forced exe exe.signed-forced
-signing exe to exe.signed-forced
-signing exe as a Mach-O binary
-parsing Mach-O
-writing Mach-O to exe.signed-forced
-
-$ rcodesign print-signature-info exe.signed-forced
-- path: exe.signed-forced
- file_size: 55312
- file_sha256: 963cbf89c51423c76cbb06618abbf58a68542780160191dce851592f36a86752
- sub_path: macho-index:0
- entity:
- mach_o:
- macho_linkedit_start_offset: 4096 / 0x1000
- macho_signature_start_offset: 4112 / 0x1010
- macho_signature_end_offset: 4402 / 0x1132
- macho_linkedit_end_offset: 10256 / 0x2810
- macho_end_offset: 10256 / 0x2810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 306 / 0x132
- linkedit_bytes_after_signature: 5854 / 0x16de
- signature:
- superblob_length: 290 / 0x122
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 234
- sha1: 654c659c27de82e26ca4554bafe9c909b35b2e6a
- sha256: df10f8609f8116bf1fbbef0654a2e3f898323aee07c3d7475a5cb9fd5bee7e4c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: identifier-forced
- digest_type: sha256
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: exe.signed-forced
- file_size: 55312
- file_sha256: 963cbf89c51423c76cbb06618abbf58a68542780160191dce851592f36a86752
- sub_path: macho-index:1
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16786 / 0x4192
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 402 / 0x192
- linkedit_bytes_after_signature: 5758 / 0x167e
- signature:
- superblob_length: 386 / 0x182
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 330
- sha1: 2758ec0c44f728a4f53dbcf55b8c43cad4bbbd3b
- sha256: bc59b9a004b779b671902b1ccefff5d64eccf48cf38eb9aade1ecfdf48dd5a2d
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: identifier-forced
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-macho-text-segment-offset.trycmd b/vendor/apple-codesign/tests/cmd/sign-macho-text-segment-offset.trycmd
deleted file mode 100644
index 0daba2c..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-macho-text-segment-offset.trycmd
+++ /dev/null
@@ -1,139 +0,0 @@
-Signing a Mach-O whose __TEXT segment starts after file start and after
-load commands.
-
-```
-$ rcodesign debug-create-macho --text-segment-start-offset 4096 exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign extract macho-segments exe.signed
-segments count: 5
-segment #0; __PAGEZERO; offsets=0x0-0x0 (0-0); addresses=0x0-0x100000000; vm/file size 4294967296/0; section count 0
-segment #1; __TEXT; offsets=0x1000-0x4000 (4096-16384); addresses=0x100000000-0x100000000; vm/file size 0/12288; section count 2
-segment #1; section #0: __text; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #1; section #1: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #2; __DATA_CONST; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #2; section #0: __const; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #3; __DATA; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; vm/file size 0/0; section count 1
-segment #3; section #0: __data; offsets=0x4000-0x4000 (16384-16384); addresses=0x100000000-0x100000000; size 0; align=16384; flags=0
-segment #4; __LINKEDIT; offsets=0x4000-0x5810 (16384-22544); addresses=0x100000000-0x100004000; vm/file size 16384/6160; section count 0
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 77b1ad57dcdf3cc1691937f60b19e1d0ddcc9375ef2434a5c3afd0f543f6c8d6
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 1f4bd3829ad41fe48fb516b9f22129f680f38f25
- sha256: 3fcf43c77ae4ff699ba01bdbb0e77a934ae1ad09f66adf65fb4b03775e5df2f5
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
-
-Signing a Mach-O whose __TEXT segment doesn't begin at 0x0 and whose
-non-zero start is before the end of the load commands.
-
-```
-$ rcodesign debug-create-macho --text-segment-start-offset 64 exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 8c5f46d87038f6028bc60f2a7c62bc842e80a738053a377ac4cb3c93a7114658
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 43d43e2056ce1c367bc707f0dbe35550e3d1e44c
- sha256: 55bed196e4c5df215500e1587a172a47b0640a7d19307b8bd04165ddb33216ed
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-macho-universal.trycmd b/vendor/apple-codesign/tests/cmd/sign-macho-universal.trycmd
deleted file mode 100644
index 14c01c8..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-macho-universal.trycmd
+++ /dev/null
@@ -1,116 +0,0 @@
-```
-$ rcodesign debug-create-macho --architecture aarch64 exe.aarch64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.aarch64
-
-$ rcodesign debug-create-macho --architecture x86-64 exe.x86-64
-assuming default minimum version 11.0.0
-writing Mach-O to exe.x86-64
-
-$ rcodesign macho-universal-create -o exe exe.aarch64 exe.x86-64
-adding exe.aarch64
-adding exe.x86-64
-writing exe
-
-$ rcodesign sign exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 59408
- file_sha256: 70b20ec49527789389cd366af42fbb018551ec96a73d4798fe33d55701695ef3
- sub_path: macho-index:0
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 4ca6f9ee2bfe2bfac44ab4e9e9c1ef9b6e4fc0de
- sha256: 23fc7207e52f23c0f6d2317dbb92cf9eff2aca8fe61ac241900d48be8f46cf5c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-- path: exe.signed
- file_size: 59408
- file_sha256: 70b20ec49527789389cd366af42fbb018551ec96a73d4798fe33d55701695ef3
- sub_path: macho-index:1
- entity:
- mach_o:
- macho_linkedit_start_offset: 4096 / 0x1000
- macho_signature_start_offset: 4112 / 0x1010
- macho_signature_end_offset: 4388 / 0x1124
- macho_linkedit_end_offset: 10256 / 0x2810
- macho_end_offset: 10256 / 0x2810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 292 / 0x124
- linkedit_bytes_after_signature: 5868 / 0x16ec
- signature:
- superblob_length: 276 / 0x114
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 220
- sha1: a2d752af585c67bf99ffa874a67c87013d27a42b
- sha256: c33301d0689076699ca6fcb89113bc376dfd2439d8acbd3ed826ee2ee80ade5e
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 4112
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 2
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/sign-p12.trycmd b/vendor/apple-codesign/tests/cmd/sign-p12.trycmd
deleted file mode 100644
index e46fe3c..0000000
--- a/vendor/apple-codesign/tests/cmd/sign-p12.trycmd
+++ /dev/null
@@ -1,403 +0,0 @@
-Signing with a PKCS#12 / PFX file works
-
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign --p12-file src/testdata/self-signed-rsa-apple-development.p12 --p12-password password --signing-time 2023-11-05T10:00:00Z --timestamp-url none exe exe.signed
-registering signing key
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-creating cryptographic signature with certificate Apple Development: RSA Apple Development (test)
-writing Mach-O to exe.signed
-
-$ rcodesign extract cms-info exe.signed
-signed content (embedded): None
-signed content (external): Some("fade0c020000013c00020400000000000000009c000000580000000200000005000040102002000c")... (316 bytes)
-signed content SHA-1: e1c19ec9ec8c13b3940f8385a8f5f9b56309330a
-signed content SHA-256: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
-signed content SHA-384: 25a7989a6cb024c4d037cd56f0bcfcea0ba4b178362dc4d1694a2080e47d7c63bb178b5a85dfddc9bedf8764ac8d380a
-signed content SHA-512: 16db5b4b1ea0529186a760790ce2d2325ea31f3d009eb74a182beb97ac26617e5495bf638d4b79746eee8f469aa991ba3a341af41b46d3b8d59079cf6d376950
-certificate count: 1
-certificate #0: subject CN=Apple Development: RSA Apple Development (test); self signed=true
-signer count: 1
-signer #0: digest algorithm: Sha256
-signer #0: signature algorithm: RsaSha256
-signer #0: content type: 1.2.840.113549.1.7.1
-signer #0: message digest: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
-signer #0: signing time: Some(2023-11-05T10:00:00Z)
-signer #0: signature content SHA-1: fc8004e694122f8e134b5e39380392165732f648
-signer #0: signature content SHA-256: c07c8319b33e4410d2f6b06ad5344aebbd7a848894f9c5004057cbbe8e17474d
-signer #0: signature content SHA-384: 8b53dc40ee48b34eee4c4ba0c2d0fe411929ef4f80e9dbc167cf96c6ef4abd8d633affefffdca0ef6eadc0a055c31827
-signer #0: signature content SHA-512: f4cf4a8f0e4de256e07bbfedff1455d50ae05cdbd2d3fec3a12bbc055a1e77d7746b8f1b2bf55fc6380164fda04e1d12d3fd03085b5842f6fb7c5a00348eec84
-signer #0: signature valid: true
-signer #0: time-stamp token present: false
-
-$ rcodesign extract cms exe.signed
-SignedData {
- digest_algorithms: {
- Sha256,
- },
- signed_content: None,
- certificates: Some(
- [
- CapturedX509Certificate {
- original: Ber(308203f7308202dfa003020102020101300d06092a864886f70d01010b050030818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b3009060355040613025553301e170d3233313130373130343932385a170d3337303731363130343932385a30818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b300906035504061302555330820122300d06092a864886f70d01010105000382010f003082010a0282010100e6c9e2a15c321fbad0442e10bebb9824c6319fdaa7afd7c227bda4a81e152b9728855a375e34249f85f4127207a658bc091b447bb499f1f0884eecc98187630200f24c4d08e557624c33a4021ab5528581a92b902b4d436c3033cc27f67242f3eff171ed62f316fc0f138eb927e8d0568aecf11fc519487608509037e1382d81998c12f7b5913dd14bf9c26880bcc270c46b872023f83bdd1ba2395b34d6873ca5ff703dffbce5f561b55361a5a3bd01bfeda19f20b1a6bc89aadffb643d3e8faf2329609e11a587732f85405102de6a2cd76c2f95c95e22dd7af7ae9b8f238d2c60abad0595b3fa9c96b52e9ab95ef7af4596112de6fa5862aebc7aa24fe1fb0203010001a3623060300c0603551d130101ff0402300030160603551d250101ff040c300a06082b06010505070303300e0603551d0f0101ff0404030207803013060a2a864886f763640601020101ff040205003013060a2a864886f7636406010c0101ff04020500300d06092a864886f70d01010b0500038201010099563303c646c61728b9758f16c559e6e1be2eae0884c8535834062b81f21c89a94c89c0ffb25b93b886535749d81e94440f6d257438e07cc701a7e69aa8bdeca71c3d2f686357f842c62a27b045c671b487d89fd3e69458aae19d69274e7b2d54f7f736e25196738185cab05ccd71b4d8a180610e1f771cfeee0198047692ec87fd3a4dbac1db4ff8205ddd7445d6184b11e3ca7018d6a495fa4b44bc1325fdd68050b45dddadf3a9a9ea0575a5b6d7a9d636f052f3b3d79729bf475efc9c95db4154f14d2ae598cb0debd424e0f0bfe59f11668f1e80e52412ae3f722bab026439addcf9a07b81cd17dec724afa51128e092038203c137f602cb154397c05a),
- inner: X509Certificate(
- Certificate {
- tbs_certificate: TbsCertificate {
- version: Some(
- V3,
- ),
- serial_number: Integer(
- b"/x01",
- ),
- signature: AlgorithmIdentifier {
- algorithm: 1.2.840.113549.1.1.11,
- parameters: Some(
- AlgorithmParameter(
- [ 05 00 ],
- ),
- ),
- },
- issuer: RdnSequence(
- RdnSequence(
- [
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 0.9.2342.19200300.100.1.1,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.3,
- value: 0c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.11,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.10,
- value: 0c15525341204170706c6520446576656c6f706d656e74,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.6,
- value: 13025553,
- },
- ],
- ),
- ],
- ),
- ),
- validity: Validity {
- not_before: UtcTime(
- UtcTime(
- 2023-11-07T10:49:28Z,
- ),
- ),
- not_after: UtcTime(
- UtcTime(
- 2037-07-16T10:49:28Z,
- ),
- ),
- },
- subject: RdnSequence(
- RdnSequence(
- [
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 0.9.2342.19200300.100.1.1,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.3,
- value: 0c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.11,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.10,
- value: 0c15525341204170706c6520446576656c6f706d656e74,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.6,
- value: 13025553,
- },
- ],
- ),
- ],
- ),
- ),
- subject_public_key_info: SubjectPublicKeyInfo {
- algorithm: AlgorithmIdentifier {
- algorithm: 1.2.840.113549.1.1.1,
- parameters: Some(
- AlgorithmParameter(
- [ 05 00 ],
- ),
- ),
- },
- subject_public_key: 3082010a0282010100e6c9e2a15c321fbad0442e10bebb9824c6319fdaa7afd7c227bda4a81e152b9728855a375e34249f85f4127207a658bc091b447bb499f1f0884eecc98187630200f24c4d08e557624c33a4021ab5528581a92b902b4d436c3033cc27f67242f3eff171ed62f316fc0f138eb927e8d0568aecf11fc519487608509037e1382d81998c12f7b5913dd14bf9c26880bcc270c46b872023f83bdd1ba2395b34d6873ca5ff703dffbce5f561b55361a5a3bd01bfeda19f20b1a6bc89aadffb643d3e8faf2329609e11a587732f85405102de6a2cd76c2f95c95e22dd7af7ae9b8f238d2c60abad0595b3fa9c96b52e9ab95ef7af4596112de6fa5862aebc7aa24fe1fb0203010001 (unused 0),
- },
- issuer_unique_id: None,
- subject_unique_id: None,
- extensions: Some(
- Extensions(
- [
- Extension {
- id: 2.5.29.19,
- critical: Some(
- true,
- ),
- value: 3000,
- },
- Extension {
- id: 2.5.29.37,
- critical: Some(
- true,
- ),
- value: 300a06082b06010505070303,
- },
- Extension {
- id: 2.5.29.15,
- critical: Some(
- true,
- ),
- value: 03020780,
- },
- Extension {
- id: 1.2.840.113635.100.6.1.2,
- critical: Some(
- true,
- ),
- value: 0500,
- },
- Extension {
- id: 1.2.840.113635.100.6.1.12,
- critical: Some(
- true,
- ),
- value: 0500,
- },
- ],
- ),
- ),
- raw_data: Some("308202dfa003020102020101300d06092a864886f70d01010b050030818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b3009060355040613025553301e170d3233313130373130343932385a170d3337303731363130343932385a30818c31143012060a0992268993f22c6401010c04746573743138303606035504030c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429310d300b060355040b0c0474657374311e301c060355040a0c15525341204170706c6520446576656c6f706d656e74310b300906035504061302555330820122300d06092a864886f70d01010105000382010f003082010a0282010100e6c9e2a15c321fbad0442e10bebb9824c6319fdaa7afd7c227bda4a81e152b9728855a375e34249f85f4127207a658bc091b447bb499f1f0884eecc98187630200f24c4d08e557624c33a4021ab5528581a92b902b4d436c3033cc27f67242f3eff171ed62f316fc0f138eb927e8d0568aecf11fc519487608509037e1382d81998c12f7b5913dd14bf9c26880bcc270c46b872023f83bdd1ba2395b34d6873ca5ff703dffbce5f561b55361a5a3bd01bfeda19f20b1a6bc89aadffb643d3e8faf2329609e11a587732f85405102de6a2cd76c2f95c95e22dd7af7ae9b8f238d2c60abad0595b3fa9c96b52e9ab95ef7af4596112de6fa5862aebc7aa24fe1fb0203010001a3623060300c0603551d130101ff0402300030160603551d250101ff040c300a06082b06010505070303300e0603551d0f0101ff0404030207803013060a2a864886f763640601020101ff040205003013060a2a864886f7636406010c0101ff04020500"),
- },
- signature_algorithm: AlgorithmIdentifier {
- algorithm: 1.2.840.113549.1.1.11,
- parameters: Some(
- AlgorithmParameter(
- [ 05 00 ],
- ),
- ),
- },
- signature: 99563303c646c61728b9758f16c559e6e1be2eae0884c8535834062b81f21c89a94c89c0ffb25b93b886535749d81e94440f6d257438e07cc701a7e69aa8bdeca71c3d2f686357f842c62a27b045c671b487d89fd3e69458aae19d69274e7b2d54f7f736e25196738185cab05ccd71b4d8a180610e1f771cfeee0198047692ec87fd3a4dbac1db4ff8205ddd7445d6184b11e3ca7018d6a495fa4b44bc1325fdd68050b45dddadf3a9a9ea0575a5b6d7a9d636f052f3b3d79729bf475efc9c95db4154f14d2ae598cb0debd424e0f0bfe59f11668f1e80e52412ae3f722bab026439addcf9a07b81cd17dec724afa51128e092038203c137f602cb154397c05a (unused 0),
- },
- ),
- },
- ],
- ),
- signers: [
- SignerInfo {
- issuer: RdnSequence(
- RdnSequence(
- [
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 0.9.2342.19200300.100.1.1,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.3,
- value: 0c2f4170706c6520446576656c6f706d656e743a20525341204170706c6520446576656c6f706d656e7420287465737429,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.11,
- value: 0c0474657374,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.10,
- value: 0c15525341204170706c6520446576656c6f706d656e74,
- },
- ],
- ),
- RelativeDistinguishedName(
- [
- AttributeTypeAndValue {
- type: 2.5.4.6,
- value: 13025553,
- },
- ],
- ),
- ],
- ),
- ),
- serial_number: Integer(
- b"/x01",
- ),
- digest_algorithm: Sha256,
- signature_algorithm: RsaSha256,
- signature: 427dab648570de5bb97d6660434a47057abd7fdbd2598419a96307c2e3b72f8dd3db12e4b540d3976ba30220c49a19ef82193d66b04cefdf5066ab49472b4c6b333cabf9c789167d04c25974b3ca2a3bf9d26a47cf575b209216fa3b6f7f849b026e168d248692db61f68ed974462423bcc69fe152b8db05c58b5b1dae0a6cde4c1f085c51ddba0621935ae4cc5fa764073a9681241dd03db9497844200749b31f1cb53345ab1c1626f4bc41c0171dd24178d14c66bc6392fc0cb1b7b8a27622af16bd52fdc54661939a07d49d0f9aebf833765fbaf4c2f8febc6741643ae4dc133ef35cf01eeb205b309d56ab240ae73ebf013ea80203b9c7dd613355c7585b,
- signed_attributes: Some(
- SignedAttributes {
- content_type: 1.2.840.113549.1.7.1,
- message_digest: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c,
- signing_time: Some(
- 2023-11-05T10:00:00Z,
- ),
- },
- ),
- digested_signed_attributes_data: Some("318201d4301806092a864886f70d010903310b06092a864886f70d010701301c06092a864886f70d010905310f170d3233313130353130303030305a302f06092a864886f70d01090431220420fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c303c06092a864886f763640902312f302d06096086480165030402010420fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c3082012906092a864886f7636409013182011a048201163c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e0a3c21444f435459504520706c697374205055424c494320222d2f2f4170706c652f2f44544420504c49535420312e302f2f454e222022687474703a2f2f7777772e6170706c652e636f6d2f445444732f50726f70657274794c6973742d312e302e647464223e0a3c706c6973742076657273696f6e3d22312e30223e0a3c646963743e0a093c6b65793e63646861736865733c2f6b65793e0a093c61727261793e0a09093c646174613e0a09092b394d355079415679485a5438737a766161686b2b3243595869453d0a09093c2f646174613e0a093c2f61727261793e0a3c2f646963743e0a3c2f706c6973743e0a"),
- unsigned_attributes: None,
- },
- ],
-}
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: b79b1797e7e4da470e94c4b4881e1a04dab26e515cf3ecdc69e31cb16f48812d
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 18841 / 0x4999
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 2457 / 0x999
- linkedit_bytes_after_signature: 3703 / 0xe77
- signature:
- superblob_length: 2441 / 0x989
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: e1c19ec9ec8c13b3940f8385a8f5f9b56309330a
- sha256: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 80
- sha1: 4f9d3e687a7622d7209180eeca44e6a4c97a2187
- sha256: f48f861e449222d508463e8342afee0c2241817878cab57b21e38e6aea0c08fa
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 2009
- sha1: faa96064b748df76d40c73c847cad6664772324c
- sha256: f77bac63ecd33d9a152f4011d5cfefe695682e4dd15da5d89cdb9d8347350404
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(0x0)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): f48f861e449222d508463e8342afee0c2241817878cab57b21e38e6aea0c08fa'
- code_requirements:
- - 'designated(3): 0: (identifier "exe") and (certificate root = H"e1c7216e46533c923b7cfc94e86c7043790b96e9");'
- cms:
- certificates:
- - subject: 'CN=Apple Development: RSA Apple Development (test), OU=test, O=RSA Apple Development, C=US'
- issuer: 'CN=Apple Development: RSA Apple Development (test), OU=test, O=RSA Apple Development, C=US'
- key_algorithm: RSA
- signature_algorithm: SHA-256 with RSA encryption
- signed_with_algorithm: SHA-256 with RSA encryption
- is_apple_root_ca: false
- is_apple_intermediate_ca: false
- chains_to_apple_root_ca: false
- apple_extended_key_usages:
- - Code Signing
- apple_code_signing_extensions:
- - iPhone Developer
- - Mac Developer
- apple_certificate_profile: apple-development
- apple_team_id: test
- signers:
- - issuer: 'CN=Apple Development: RSA Apple Development (test), OU=test, O=RSA Apple Development, C=US'
- digest_algorithm: SHA-256
- signature_algorithm: SHA-256 with RSA encryption
- attributes:
- - 1.2.840.113549.1.9.3
- - 1.2.840.113549.1.9.4
- - 1.2.840.113549.1.9.5
- - 1.2.840.113635.100.9.1
- - 1.2.840.113635.100.9.2
- content_type: 1.2.840.113549.1.7.1
- message_digest: fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
- signing_time: 2023-11-05T10:00:00Z
- cdhash_plist:
- - <?xml version="1.0" encoding="UTF-8"?>
- - <plist version="1.0">
- - ' <dict>'
- - ' <key>cdhashes</key>'
- - ' <array>'
- - ' <data>'
- - "/t/t+9M5PyAVyHZT8szvaahk+2CYXiE="
- - "/t/t</data>"
- - ' </array>'
- - ' </dict>'
- - </plist>
- cdhash_digests:
- - - 2.16.840.1.101.3.4.2.1
- - fbd3393f2015c87653f2ccef69a864fb60985e21d38485b3bb1c7deeb76d825c
- signature_verifies: true
-
-```
\ No newline at end of file
diff --git a/vendor/apple-codesign/tests/cmd/sign.trycmd b/vendor/apple-codesign/tests/cmd/sign.trycmd
deleted file mode 100644
index ec22fd6..0000000
--- a/vendor/apple-codesign/tests/cmd/sign.trycmd
+++ /dev/null
@@ -1,540 +0,0 @@
-```
-$ rcodesign help sign
-Adds code signatures to a signable entity.
-
-This command can sign the following entities:
-
-* A single Mach-O binary (specified by its file path)
-* A bundle (specified by its directory path)
-* A DMG disk image (specified by its path)
-* A XAR archive (commonly a .pkg installer file)
-
-If the input is Mach-O binary, it can be a single or multiple/fat/universal
-Mach-O binary. If a fat binary is given, each Mach-O within that binary will
-be signed.
-
-If the input is a bundle, the bundle will be recursively signed. If the
-bundle contains nested bundles or Mach-O binaries, those will be signed
-automatically.
-
-# Settings Scope
-
-The following signing settings are global and apply to all signed entities:
-
-* --pem-source
-* --team-name
-* --timestamp-url
-
-The following signing settings can be scoped so they only apply to certain
-entities:
-
-* --digest
-* --binary-identifier
-* --code-requirements-files
-* --code-resources-file
-* --code-signature-flags
-* --entitlements-xml-file
-* --info-plist-file
-
-Scoped settings take the form <value> or <scope>:<value>. If the 2nd form
-is used, the string before the first colon is parsed as a /"scoping string/".
-It can have the following values:
-
-* `main` - Applies to the main entity being signed and all nested entities.
-* `@<integer>` - e.g. `@0`. Applies to a Mach-O within a fat binary at the
- specified index. 0 means the first Mach-O in a fat binary.
-* `@[cpu_type=<int>` - e.g. `@[cpu_type=7]`. Applies to a Mach-O within a fat
- binary targeting a numbered CPU architecture (using numeric constants
- as defined by Mach-O).
-* `@[cpu_type=<string>` - e.g. `@[cpu_type=x86_64]`. Applies to a Mach-O within
- a fat binary targeting a CPU architecture identified by a string. See below
- for the list of recognized values.
-* `<string>` - e.g. `path/to/file`. Applies to content at a given path. This
- should be the bundle-relative path to a Mach-O binary, a nested bundle, or
- a Mach-O binary within a nested bundle. If a nested bundle is referenced,
- settings apply to everything within that bundle.
-* `<string>@<int>` - e.g. `path/to/file@0`. Applies to a Mach-O within a
- fat binary at the given path. If the path is to a bundle, the setting applies
- to all Mach-O binaries in that bundle.
-* `<string>@[cpu_type=<int|string>]` e.g. `Contents/MacOS/binary@[cpu_type=7]`
- or `Contents/MacOS/binary@[cpu_type=arm64]`. Applies to a Mach-O within a
- fat binary targeting a CPU architecture identified by its integer constant
- or string name. If the path is to a bundle, the setting applies to all
- Mach-O binaries in that bundle.
-
-The following named CPU architectures are recognized:
-
-* arm
-* arm64
-* arm64_32
-* x86_64
-
-Signing will traverse into nested entities:
-
-* A fat Mach-O binary will traverse into the multiple Mach-O binaries within.
-* A bundle will traverse into nested bundles.
-* A bundle will traverse non-code "resource" files and sign their digests.
-* A bundle will traverse non-main Mach-O binaries and sign them, adding their
- metadata to the signed resources file.
-
-When signing nested entities, only some signing settings will be copied
-automatically:
-
-* All settings related to the signing certificate/key.
-* --timestamp-url
-* --signing-time
-* --exclude
-* --digest
-* --runtime-version
-
-All other settings only apply to the main entity being signed or the
-scoped path being annotated.
-
-# Bundle Signing Overrides Settings
-
-When signing bundles, some settings specified on the command line will be
-ignored. This is to ensure that the produced signing data is correct. The
-settings ignored include (but may not be limited to):
-
-* --binary-identifier for the main executable. The `CFBundleIdentifier` value
- from the bundle's `Info.plist` will be used instead.
-* --code-resources-path. The code resources data will be computed automatically
- as part of signing the bundle.
-* --info-plist-path. The `Info.plist` from the bundle will be used instead.
-* --digest
-
-# Designated Code Requirements
-
-When using Apple issued code signing certificates, we will attempt to apply
-an appropriate designated requirement automatically during signing which
-matches the behavior of what `codesign` would do. We do not yet support all
-signing certificates and signing targets for this, however. So you may
-need to provide your own requirements.
-
-Designated code requirements can be specified via --code-requirements-path.
-
-This file MUST contain a binary/compiled code requirements expression. We do
-not (yet) support parsing the human-friendly code requirements DSL. A
-binary/compiled file can be produced via Apple's `csreq` tool. e.g.
-`csreq -r '=<expression>' -b /output/path`. If code requirements data is
-specified, it will be parsed and displayed as part of signing to ensure it
-is well-formed.
-
-# Code Signing Key Pair
-
-By default, the embedded code signature will only contain digests of the
-binary and other important entities (such as entitlements and resources).
-This is often referred to as /"ad-hoc/" signing.
-
-To use a code signing key/certificate to derive a cryptographic signature,
-you must specify a source certificate to use. This can be done in the following
-ways:
-
-* The --p12-file denotes the location to a PFX formatted file. These are
- often .pfx or .p12 files. A password is required to open these files.
- Specify one via --p12-password or --p12-password-file or enter a password
- when prompted.
-* The --pem-file argument defines paths to files containing PEM encoded
- certificate/key data. (e.g. files with /"===== BEGIN CERTIFICATE =====/").
-* The --certificate-der-file argument defines paths to files containing DER
- encoded certificate/key data.
-* The --keychain-domain and --keychain-fingerprint arguments can be used to
- load code signing certificates from macOS keychains. These arguments are
- ignored on non-macOS platforms.
-* The --windows-store-name and --windows-store-cert-fingerprint arguments can be used to
- load code signing certificates from the Windows store. These arguments are
- ignored on non-Windows platforms.
-* The --smartcard-slot argument defines the name of a slot in a connected
- smartcard device to read from. `9c` is common.
-* Arguments beginning with --remote activate *remote signing mode* and can
- be used to delegate cryptographic signing operations to a separate machine.
- It is strongly advised to read the user documentation on remote signing
- mode at https://gregoryszorc.com/docs/apple-codesign/main/.
-
-If you export a code signing certificate from the macOS keychain via the
-`Keychain Access` application as a .p12 file, we should be able to read these
-files via --p12-file.
-
-When using --pem-file, certificates and public keys are parsed from
-`BEGIN CERTIFICATE` and `BEGIN PRIVATE KEY` sections in the files.
-
-The way certificate discovery works is that --p12-file is read followed by
-all values to --pem-file. The seen signing keys and certificates are
-collected. After collection, there must be 0 or 1 signing keys present, or
-an error occurs. The first encountered public certificate is assigned
-to be paired with the signing key. All remaining certificates are assumed
-to constitute the CA issuing chain and will be added to the signature
-data to facilitate validation.
-
-If you are using an Apple-issued code signing certificate, we detect this
-and automatically register the Apple CA certificate chain so it is included
-in the digital signature. This matches the behavior of the `codesign` tool.
-
-For best results, put your private key and its corresponding X.509 certificate
-in a single file, either a PFX or PEM formatted file. Then add any additional
-certificates constituting the signing chain in a separate PEM file.
-
-When using a code signing key/certificate, a Time-Stamp Protocol server URL
-can be specified via --timestamp-url. By default, Apple's server is used. The
-special value /"none/" can disable using a timestamp server.
-
-# Selecting What to Sign
-
-By default, this command attempts to recursively sign everything in the source
-path. This applies to:
-
-* Bundles. If the specified bundle has nested bundles, those nested bundles
- will be signed automatically.
-
-It is possible to exclude nested items from signing using --exclude. This
-argument takes a glob expression that matches *relative paths* from the
-source path. Glob expressions can be literal string compares. Or the
-following special syntax is recognized:
-
-* `?` matches any single character.
-* `*` matches any (possibly empty) sequence of characters.
-* `**` matches the current directory and arbitrary subdirectories. This sequence
- must form a single path component, so both **a and b** are invalid and will
- result in an error. A sequence of more than two consecutive * characters is
- also invalid.
-* `[...]` matches any character inside the brackets. Character sequences can also
- specify ranges of characters, as ordered by Unicode, so e.g. [0-9] specifies any
- character between 0 and 9 inclusive. An unclosed bracket is invalid.
-* `[!...]` is the negation of `[...]`, i.e. it matches any characters not in the
- brackets.
-* The metacharacters `?`, `*`, `[`, `]` can be matched by using brackets (e.g.
- `[?]`). When a `]` occurs immediately following `[` or `[!` then it is
- interpreted as being part of, rather then ending, the character set, so `]` and
- `NOT ]` can be matched by `[]]` and `[!]]` respectively. The `-` character can
- be specified inside a character sequence pattern by placing it at the start or
- the end, e.g. `[abc-]`.
-
-Currently, --exclude only applies to the relative path of nested bundles within
-the main bundle to sign. e.g. if you sign `MyApp.app` and it has a
-`Contents/Frameworks/MyFramework.framework` that you wish to exclude, you would
-`--exclude Contents/Frameworks/MyFramework.framework` or even
-`--exclude Contents/Frameworks/**` to exclude the entire directory tree.
-
-Exclusions will still be copied and parents that need to reference exclude
-entities will continue to do so. If you wish to make a file or directory
-disappear, create a new directory without the file(s) and sign that.
-
-To exclude all nested bundles from being signed and only sign the main bundle
-(the default behavior of ``codesign`` without ``--deep``), use `--exclude '**'`.
-
-Usage: rcodesign[EXE] sign [OPTIONS] <INPUT_PATH> [OUTPUT_PATH]
-
-Arguments:
- <INPUT_PATH>
- Path to Mach-O binary to sign
-
- [OUTPUT_PATH]
- Path to signed Mach-O binary to write
-
-Options:
- --binary-identifier <IDENTIFIER>
- Identifier string for binary. The value normally used by CFBundleIdentifier
-
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --code-requirements-file <PATH>
- Path to a file containing binary code requirements data to be used as designated requirements
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --code-resources-file <PATH>
- Path to an XML plist file containing code resources
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --code-signature-flags <CODE_SIGNATURE_FLAGS>
- Code signature flags to set.
-
- Valid values: host, hard, kill, expires, library, runtime, linker-signed
-
- --digest <DIGEST>
- Digest algorithms to use.
-
- This typically doesn't need to be set since the OS targeting information from signed binaries implicitly derives appropriate digests to sign with.
-
- However, there are special cases where you may want to force use of specific digests.
-
- The first provided value will become the "primary" digest. Subsequent values will become alternative digests. The "primary" digest should be "older" to ensure compatibility with older clients.
-
- When targeting older Apple OS versions, SHA-1 should be the primary digest and SHA-256 should also be present for compatibility with newer OS versions.
-
- When targeting new OS versions, it is sufficient to only provide SHA-256 digests.
-
- The following values are accepted: none, sha1, sha256, sha384, sha512.
-
- Important: only "sha1" and "sha256" are widely used and use of other algorithms may cause problems.
-
- -e, --entitlements-xml-file <PATH>
- Path to a plist file containing entitlements
-
- --launch-constraints-self-file <PATH>
- Launch constraints on the current executable.
-
- Specify the path to a plist XML file defining launch constraints.
-
- --launch-constraints-parent-file <PATH>
- Launch constraints on the parent process.
-
- Specify the path to a plist XML file defining launch constraints.
-
- --launch-constraints-responsible-file <PATH>
- Launch constraints on the responsible process.
-
- Specify the path to a plist XML file defining launch constraints.
-
- --library-constraints-file <PATH>
- Constraints on loaded libraries.
-
- Specify the path to a plist XML file defining launch constraints.
-
- --runtime-version <VERSION>
- Hardened runtime version to use (defaults to SDK version used to build binary)
-
- --info-plist-file <PATH>
- Path to an Info.plist file whose digest to include in Mach-O signature
-
- --team-name <NAME>
- Team name/identifier to include in code signature
-
- --signing-time <SIGNING_TIME>
- An RFC 3339 date and time string to be used in signatures.
-
- e.g. 2023-11-05T10:42:00Z.
-
- If not specified, the current time will be used.
-
- Setting is only used when signing with a signing certificate.
-
- This setting is typically not necessary. It was added to facilitate deterministic signing behavior.
-
- --timestamp-url <TIMESTAMP_URL>
- URL of time-stamp server to use to obtain a token of the CMS signature
-
- Can be set to the special value `none` to disable the generation of time-stamp tokens and use of a time-stamp server.
-
- [default: http://timestamp.apple.com/ts01]
-
- --exclude <EXCLUDE>
- Glob expression of paths to exclude from signing
-
- --shallow
- Do not traverse into nested entities when signing.
-
- Some signable entities (like directory bundles) have child/nested entities that can be signed. By default, signing traversed into these entities and signs all entities recursively.
-
- Activating shallow signing mode using this flag overrides the default behavior.
-
- The behavior of this flag is subject to change. As currently implemented it will:
-
- * Prevent signing nested bundles when signing a bundle. e.g. if an app bundle contains a framework, only the app bundle will be signed. Additional Mach-O binaries within a bundle may still be signed with this flag set.
-
- Activating shallow signing mode can result in signing failures if the skipped nested entities aren't signed. For example, when signing an application bundle containing an unsigned nested bundle/framework, signing will fail with an error about a missing code signature. Always be sure to sign nested entities before their parents when this mode is activated.
-
- --for-notarization
- Indicate that the entity being signed will later be notarized.
-
- Notarized software is subject to specific requirements, such as enabling the hardened runtime.
-
- The presence of this flag influences signing settings and engages additional checks to help ensure that signed software can be successfully notarized.
-
- This flag is best effort. Notarization failures of software signed with this flag may be indicative of bugs in this software.
-
- The behavior of this flag is subject to change. As currently implemented, it will:
-
- * Require the use of a "Developer ID" signing certificate issued by Apple. * Require the use of a time-stamp server. * Enable the hardened runtime code signature flag on all Mach-O binaries (equivalent to `--code-signature-flags runtime` for all signed paths).
-
- --smartcard-slot <SLOT>
- Smartcard slot number of signing certificate to use (9c is common)
-
- --smartcard-pin <SECRET>
- Smartcard PIN used to unlock certificate
-
- If not provided, you will be prompted for a PIN as necessary.
-
- --smartcard-pin-env <STRING>
- Environment variable holding the smartcard PIN
-
- --keychain-domain <DOMAIN>
- (macOS only) Keychain domain to operate on
-
- [possible values: user, system, common, dynamic]
-
- --keychain-fingerprint <SHA256 FINGERPRINT>
- (macOS only) SHA-256 fingerprint of certificate in Keychain to use
-
- --windows-store-name <STORE>
- (Windows only) Windows Store to operate on
-
- [possible values: user, machine, service]
-
- --windows-store-sha1-fingerprint <SHA1 FINGERPRINT>
- (Windows only) SHA-1 fingerprint of certificate in Windows Store to use
-
- --pem-file <PATH>
- Path to file containing PEM encoded certificate/key data
-
- --p12-file <PATH>
- Path to a .p12/PFX file containing a certificate key pair
-
- --p12-password <SECRET>
- The password to use to open the --p12-file file
-
- --p12-password-file <PATH>
- Path to file containing password for opening --p12-file file
-
- --remote-signing-url <URL>
- URL of a remote code signing server
-
- --remote-public-key <BASE64 ENCODED PUBLIC KEY>
- Base64 encoded public key data describing the signer
-
- --remote-public-key-pem-file <PATH>
- PEM encoded public key data describing the signer
-
- --remote-shared-secret <SECRET>
- Shared secret used for remote signing
-
- --remote-shared-secret-env <ENV VAR NAME>
- Environment variable holding the shared secret used for remote signing
-
- --certificate-der-file <PATH>
- Path to file containing DER encoded certificate data
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
-
-An ad-hoc signature over a minimal Mach-O works.
-
-```
-$ rcodesign debug-create-macho exe
-assuming default minimum version 11.0.0
-writing Mach-O to exe
-
-$ rcodesign sign exe exe.signed
-signing exe to exe.signed
-signing exe as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed
-
-$ rcodesign print-signature-info exe.signed
-- path: exe.signed
- file_size: 22544
- file_sha256: 2adcd25a21eb14fc3f7b5ca4f5465b515f21939dd9843de5bf7d9e3f7acfa9db
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 4ca6f9ee2bfe2bfac44ab4e9e9c1ef9b6e4fc0de
- sha256: 23fc7207e52f23c0f6d2317dbb92cf9eff2aca8fe61ac241900d48be8f46cf5c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-$ rcodesign sign exe.signed exe.signed.2
-signing exe.signed to exe.signed.2
-signing exe.signed as a Mach-O binary
-setting binary identifier to exe
-parsing Mach-O
-writing Mach-O to exe.signed.2
-
-$ rcodesign diff-signatures exe.signed exe.signed.2
--- path: exe.signed
-+- path: exe.signed.2
- file_size: 22544
- file_sha256: 2adcd25a21eb14fc3f7b5ca4f5465b515f21939dd9843de5bf7d9e3f7acfa9db
- entity:
- mach_o:
- macho_linkedit_start_offset: 16384 / 0x4000
- macho_signature_start_offset: 16400 / 0x4010
- macho_signature_end_offset: 16772 / 0x4184
- macho_linkedit_end_offset: 22544 / 0x5810
- macho_end_offset: 22544 / 0x5810
- linkedit_signature_start_offset: 16 / 0x10
- linkedit_signature_end_offset: 388 / 0x184
- linkedit_bytes_after_signature: 5772 / 0x168c
- signature:
- superblob_length: 372 / 0x174
- blob_count: 3
- blobs:
- - slot: CodeDirectory (0)
- magic: fade0c02
- length: 316
- sha1: 4ca6f9ee2bfe2bfac44ab4e9e9c1ef9b6e4fc0de
- sha256: 23fc7207e52f23c0f6d2317dbb92cf9eff2aca8fe61ac241900d48be8f46cf5c
- - slot: RequirementSet (2)
- magic: fade0c01
- length: 12
- sha1: 3a75f6db058529148e14dd7ea1b4729cc09ec973
- sha256: 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986
- - slot: CMS Signature (65536)
- magic: fade0b01
- length: 8
- sha1: 2a7254313aa41796079bb0e9d0f044345f69f98b
- sha256: e6c83bc98a10348492c7d4d2378a54572ef29e1a5692ccd02b5e29f4b762d6a0
- code_directory:
- version: '0x20400'
- flags: CodeSignatureFlags(ADHOC)
- identifier: exe
- digest_type: sha256
- platform: 0
- signed_entity_size: 16400
- executable_segment_flags: ExecutableSegmentFlags(MAIN_BINARY)
- code_digests_count: 5
- slot_digests:
- - 'Info (1): 0000000000000000000000000000000000000000000000000000000000000000'
- - 'RequirementSet (2): 987920904eab650e75788c054aa0b0524e6a80bfc71aa32df8d237a61743f986'
- cms: null
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/smartcard-generate-key.trycmd b/vendor/apple-codesign/tests/cmd/smartcard-generate-key.trycmd
deleted file mode 100644
index dac2562..0000000
--- a/vendor/apple-codesign/tests/cmd/smartcard-generate-key.trycmd
+++ /dev/null
@@ -1,43 +0,0 @@
-```
-$ rcodesign help smartcard-generate-key
-Generate a new private key on a smartcard
-
-Usage: rcodesign[EXE] smartcard-generate-key [OPTIONS] --smartcard-slot <SMARTCARD_SLOT>
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --smartcard-slot <SMARTCARD_SLOT>
- Smartcard slot number to store key in (9c is common)
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --touch-policy <TOUCH_POLICY>
- Smartcard touch policy to protect key access
-
- [default: default]
- [possible values: default, always, never, cached]
-
- --pin-policy <PIN_POLICY>
- Smartcard pin prompt policy to protect key access
-
- [default: default]
- [possible values: default, never, once, always]
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/smartcard-import.trycmd b/vendor/apple-codesign/tests/cmd/smartcard-import.trycmd
deleted file mode 100644
index 7f47cbb..0000000
--- a/vendor/apple-codesign/tests/cmd/smartcard-import.trycmd
+++ /dev/null
@@ -1,103 +0,0 @@
-```
-$ rcodesign help smartcard-import
-Import a code signing certificate and key into a smartcard
-
-Usage: rcodesign[EXE] smartcard-import [OPTIONS]
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --existing-key
- Re-use the existing private key in the smartcard slot
-
- --dry-run
- Don't actually perform the import
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --smartcard-slot <SLOT>
- Smartcard slot number of signing certificate to use (9c is common)
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- --smartcard-pin <SECRET>
- Smartcard PIN used to unlock certificate
-
- If not provided, you will be prompted for a PIN as necessary.
-
- --smartcard-pin-env <STRING>
- Environment variable holding the smartcard PIN
-
- --keychain-domain <DOMAIN>
- (macOS only) Keychain domain to operate on
-
- [possible values: user, system, common, dynamic]
-
- --keychain-fingerprint <SHA256 FINGERPRINT>
- (macOS only) SHA-256 fingerprint of certificate in Keychain to use
-
- --windows-store-name <STORE>
- (Windows only) Windows Store to operate on
-
- [possible values: user, machine, service]
-
- --windows-store-sha1-fingerprint <SHA1 FINGERPRINT>
- (Windows only) SHA-1 fingerprint of certificate in Windows Store to use
-
- --pem-file <PATH>
- Path to file containing PEM encoded certificate/key data
-
- --p12-file <PATH>
- Path to a .p12/PFX file containing a certificate key pair
-
- --p12-password <SECRET>
- The password to use to open the --p12-file file
-
- --p12-password-file <PATH>
- Path to file containing password for opening --p12-file file
-
- --remote-signing-url <URL>
- URL of a remote code signing server
-
- --remote-public-key <BASE64 ENCODED PUBLIC KEY>
- Base64 encoded public key data describing the signer
-
- --remote-public-key-pem-file <PATH>
- PEM encoded public key data describing the signer
-
- --remote-shared-secret <SECRET>
- Shared secret used for remote signing
-
- --remote-shared-secret-env <ENV VAR NAME>
- Environment variable holding the shared secret used for remote signing
-
- --certificate-der-file <PATH>
- Path to file containing DER encoded certificate data
-
- --touch-policy <TOUCH_POLICY>
- Smartcard touch policy to protect key access
-
- [default: default]
- [possible values: default, always, never, cached]
-
- --pin-policy <PIN_POLICY>
- Smartcard pin prompt policy to protect key access
-
- [default: default]
- [possible values: default, never, once, always]
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/smartcard-scan.trycmd b/vendor/apple-codesign/tests/cmd/smartcard-scan.trycmd
deleted file mode 100644
index 6fb74cd..0000000
--- a/vendor/apple-codesign/tests/cmd/smartcard-scan.trycmd
+++ /dev/null
@@ -1,28 +0,0 @@
-```
-$ rcodesign help smartcard-scan
-Show information about available smartcard (SC) devices
-
-Usage: rcodesign[EXE] smartcard-scan [OPTIONS]
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/staple.trycmd b/vendor/apple-codesign/tests/cmd/staple.trycmd
deleted file mode 100644
index 8f4052e..0000000
--- a/vendor/apple-codesign/tests/cmd/staple.trycmd
+++ /dev/null
@@ -1,32 +0,0 @@
-```
-$ rcodesign help staple
-Staples a notarization ticket to an entity
-
-Usage: rcodesign[EXE] staple [OPTIONS] <PATH>
-
-Arguments:
- <PATH>
- Path to entity to attempt to staple
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/verify.trycmd b/vendor/apple-codesign/tests/cmd/verify.trycmd
deleted file mode 100644
index 89ed40e..0000000
--- a/vendor/apple-codesign/tests/cmd/verify.trycmd
+++ /dev/null
@@ -1,32 +0,0 @@
-```
-$ rcodesign help verify
-Verifies code signature data
-
-Usage: rcodesign[EXE] verify [OPTIONS] <PATH>
-
-Arguments:
- <PATH>
- Path of Mach-O binary to examine
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/windows-store-export-certificate-chain.trycmd b/vendor/apple-codesign/tests/cmd/windows-store-export-certificate-chain.trycmd
deleted file mode 100644
index be6c712..0000000
--- a/vendor/apple-codesign/tests/cmd/windows-store-export-certificate-chain.trycmd
+++ /dev/null
@@ -1,40 +0,0 @@
-```
-$ rcodesign help windows-store-export-certificate-chain
-Export CA certificates from the Windows Store
-
-Usage: rcodesign[EXE] windows-store-export-certificate-chain [OPTIONS] --thumbprint <THUMBPRINT>
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --windows-store-name <STORE>
- Windows Store to operate on
-
- [default: user]
- [possible values: user, machine, service]
-
- --no-print-self
- Print only the issuing certificate chain, not the subject certificate
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- --thumbprint <THUMBPRINT>
- SHA-1 thumbprint of code signing certificate to find and whose CA chain to export
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/windows-store-print-certificates.trycmd b/vendor/apple-codesign/tests/cmd/windows-store-print-certificates.trycmd
deleted file mode 100644
index d2b3431..0000000
--- a/vendor/apple-codesign/tests/cmd/windows-store-print-certificates.trycmd
+++ /dev/null
@@ -1,34 +0,0 @@
-```
-$ rcodesign help windows-store-print-certificates
-Print information about certificates in the Windows Store
-
-Usage: rcodesign[EXE] windows-store-print-certificates [OPTIONS]
-
-Options:
- -C, --config-file <CONFIG_PATH>
- Explicit configuration file to load.
-
- If provided, the default configuration files are not loaded, even if they exist.
-
- Can be specified multiple times. Files are loaded/merged in the order given.
-
- The special value `/dev/null` can be used to specify an empty/null config file. It can be used to short-circuit loading of default config files.
-
- --windows-store-name <STORE>
- Windows Store name to operate on
-
- [default: user]
- [possible values: user, machine, service]
-
- -P, --profile <PROFILE>
- Configuration profile to load.
-
- If not specified, the implicit "default" profile is loaded.
-
- -v, --verbose...
- Increase logging verbosity. Can be specified multiple times
-
- -h, --help
- Print help (see a summary with '-h')
-
-```
diff --git a/vendor/apple-codesign/tests/cmd/x509-oids.trycmd b/vendor/apple-codesign/tests/cmd/x509-oids.trycmd
deleted file mode 100644
index 884d446..0000000
--- a/vendor/apple-codesign/tests/cmd/x509-oids.trycmd
+++ /dev/null
@@ -1,43 +0,0 @@
-```
-$ rcodesign x509-oids
-# Extended Key Usage (EKU) Extension OIDs
-
-1.3.6.1.5.5.7.3.3 CodeSigning
-1.2.840.113635.100.4.8 SafariDeveloper
-1.2.840.113635.100.4.9 ThirdPartyMacDeveloperInstaller
-1.2.840.113635.100.4.13 DeveloperIdInstaller
-
-# Code Signing Certificate Extension OIDs
-
-1.2.840.113635.100.6.1.1 AppleSigning
-1.2.840.113635.100.6.1.2 IPhoneDeveloper
-1.2.840.113635.100.6.1.3 IPhoneOsApplicationSigning
-1.2.840.113635.100.6.1.4 AppleDeveloperCertificateSubmission
-1.2.840.113635.100.6.1.5 SafariDeveloper
-1.2.840.113635.100.6.1.6 IPhoneOsVpnSigning
-1.2.840.113635.100.6.1.7 AppleMacAppSigningDevelopment
-1.2.840.113635.100.6.1.8 AppleMacAppSigningSubmission
-1.2.840.113635.100.6.1.9 AppleMacAppStoreCodeSigning
-1.2.840.113635.100.6.1.10 AppleMacAppStoreInstallerSigning
-1.2.840.113635.100.6.1.12 MacDeveloper
-1.2.840.113635.100.6.1.13 DeveloperIdApplication
-1.2.840.113635.100.6.1.33 DeveloperIdDate
-1.2.840.113635.100.6.1.14 DeveloperIdInstaller
-1.2.840.113635.100.6.1.16 ApplePayPassbookSigning
-1.2.840.113635.100.6.1.17 WebsitePushNotificationSigning
-1.2.840.113635.100.6.1.18 DeveloperIdKernel
-1.2.840.113635.100.6.1.25.1 TestFlight
-
-# Certificate Authority Certificate Extension OIDs
-
-1.2.840.113635.100.6.2.1 AppleWorldwideDeveloperRelations
-1.2.840.113635.100.6.2.3 AppleApplicationIntegration
-1.2.840.113635.100.6.2.6 DeveloperId
-1.2.840.113635.100.6.2.9 AppleTimestamp
-1.2.840.113635.100.6.2.11 DeveloperAuthentication
-1.2.840.113635.100.6.2.14 AppleApplicationIntegrationG3
-1.2.840.113635.100.6.2.15 AppleWorldwideDeveloperRelationsG2
-1.2.840.113635.100.6.2.19 AppleSoftwareUpdateCertification
-1.2.840.113635.100.6.2.31 AppleApplicationIntegrationG1
-
-```
diff --git a/vendor/omnisette/Cargo.toml b/vendor/omnisette/Cargo.toml
index fbd0bb5..043a876 100644
--- a/vendor/omnisette/Cargo.toml
+++ b/vendor/omnisette/Cargo.toml
@@ -1,4 +1,5 @@
-# vendored from Impactor v2.7.2 (b13d995);本仓库只把 workspace 继承改成了显式版本,源码未改
+# vendored from Impactor v2.7.2 (b13d995)。本仓库的改动(见 THIRD_PARTY.md):workspace 继承改成显式版本;
+# reqwest 用 rustls-no-provider;本地 anisette(加载苹果 Android 库,依赖没有许可证的 android-loader)改成可选 feature local-anisette
[package]
name = "omnisette"
edition = "2024"
@@ -10,7 +11,9 @@ repository = "https://github.com/claration/impactor"
[features]
remote-anisette = []
async = ["dep:async-trait"]
-default = ["remote-anisette", "dep:remove-async-await"]
+default = ["remote-anisette", "local-anisette", "dep:remove-async-await"]
+# 本地 anisette:加载苹果的 libstoreservicescore.so(需自备),依赖 android-loader(没有许可证声明)
+local-anisette = ["dep:android-loader"]
remote-anisette-v3 = [
"async",
"dep:serde",
@@ -29,9 +32,9 @@ plist = "1.8"
thiserror = "2.0"
hex = "0.4"
-reqwest = { version = "0.13", default-features = false, features = [ "blocking", "json", "rustls", "gzip", "system-proxy", ] }
+reqwest = { version = "0.13", default-features = false, features = [ "blocking", "json", "rustls-no-provider", "gzip", "system-proxy", ] }
uuid = { version = "1.3", features = ["v4", "fast-rng", "macro-diagnostics"] }
-android-loader = { git = "https://github.com/Dadoum/android-loader", branch = "bigger_pages" }
+android-loader = { git = "https://github.com/Dadoum/android-loader", branch = "bigger_pages", optional = true }
libc = "0.2"
log = "0.4"
async-trait = { version = "0.1", optional = true }
diff --git a/vendor/omnisette/src/lib.rs b/vendor/omnisette/src/lib.rs
index 69b8684..354ccec 100644
--- a/vendor/omnisette/src/lib.rs
+++ b/vendor/omnisette/src/lib.rs
@@ -4,6 +4,7 @@
//!
//! If you want remote anisette, make sure the `remote-anisette` feature is enabled. (it's currently on by default)
+#[cfg(feature = "local-anisette")]
use crate::adi_proxy::{ADIProxyAnisetteProvider, ConfigurableADIProxy};
use crate::anisette_headers_provider::AnisetteHeadersProvider;
use adi_proxy::ADIError;
@@ -13,6 +14,7 @@ use thiserror::Error;
pub mod adi_proxy;
pub mod anisette_headers_provider;
+#[cfg(feature = "local-anisette")]
pub mod store_services_core;
#[cfg(feature = "remote-anisette-v3")]
@@ -138,6 +140,7 @@ impl AnisetteHeaders {
configuration: AnisetteConfiguration,
) -> Result<AnisetteHeadersProviderRes, AnisetteError> {
// TODO: handle Err because it will just go to remote anisette and not tell the user anything
+ #[cfg(feature = "local-anisette")]
if let Ok(ssc_anisette_headers_provider) =
AnisetteHeaders::get_ssc_anisette_headers_provider(configuration.clone())
{
@@ -154,6 +157,7 @@ impl AnisetteHeaders {
)));
}
+ #[cfg(feature = "local-anisette")]
pub fn get_ssc_anisette_headers_provider(
configuration: AnisetteConfiguration,
) -> Result<AnisetteHeadersProviderRes, AnisetteError> {
diff --git a/vendor/plume_core/Cargo.toml b/vendor/plume_core/Cargo.toml
index f08a7f3..d6af4f9 100644
--- a/vendor/plume_core/Cargo.toml
+++ b/vendor/plume_core/Cargo.toml
@@ -19,7 +19,7 @@ serde_json = { version = "1" }
rustls = { version = "0.23", default-features = false, features = [ "std", "tls12", "ring", ] }
goblin = "0.9"
regex = "1.11"
-reqwest = { version = "0.13", default-features = false, features = [ "blocking", "json", "rustls", "gzip", "system-proxy", ] }
+reqwest = { version = "0.13", default-features = false, features = [ "blocking", "json", "rustls-no-provider", "gzip", "system-proxy", ] }
base64 = "0.22"
hex = "0.4"
rand = "0.8"
@@ -40,7 +40,9 @@ sha1 = "0.10" # p12
p12-keystore = "0.2" # p12 crate only supports legacy PKCS#12
# Forks
apple-codesign = { version = "0.29.0", default-features = false }
-omnisette = { path = "../omnisette", features = [
+# 本仓库改动:只要远程 anisette(不编本地 anisette 和 remove-async-await,见 THIRD_PARTY.md)
+omnisette = { path = "../omnisette", default-features = false, features = [
+ "remote-anisette",
"remote-anisette-v3",
] }
srp = "0.7.0-rc.1"