Removed the deprecated --deep flag from codesign in macdeployqtplus and replaced it with an explicit recursive signing process for all binaries, frameworks, and plugins.
Fixes #32486
Removed the deprecated --deep flag from codesign in macdeployqtplus and replaced it with an explicit recrusive signing process for all binaries, frameworks, and plugins.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33592.
See the guideline for information on the review process.
| Type | Reviewers |
|---|---|
| Concept ACK | hebasto |
If your review is incorrectly listed, please copy-paste <!–meta-tag:bot-skip–> into the comment that the bot should ignore.
No conflicts as of last run.
529+ macos_path = os.path.join(contents_path, "MacOS")
530+ if os.path.exists(macos_path):
531+ for f in os.listdir(macos_path):
532+ full_path = os.path.join(macos_path, f)
533+ if os.path.isfile(full_path) and is_macho_executable(full_path):
534+ sign_item(full_path, identity)
Tested 3ef010339313f8627f91be1f9c632ebd1b49150d on macOS Tahoe 26.2 as follows:
0% cmake -B build -DBUILD_GUI=ON
1% cmake --build build -t bitcoin-qt deploy
2% codesign --verify --deep --strict --verbose=4 build/dist/Bitcoin-Qt.app