usage

usage 0.34.9

工具與目錄
在這頁

新功能 1 項

01

macOS 下載版通過系統簽章驗證,安裝包體積縮小 9 MB

在 Mac 上手動下載應用程式或透過 Homebrew 安裝時,現在能放心地替安裝檔查驗身分。在 v0.34.8 與更早的版本中,釋出的 zip 壓縮檔把內建 Python 框架裡的符號連結(指向另一個位置的捷徑檔),直接存成了檔案複本。這導致執行 codesign --verify 驗證簽章時,都會回傳套件格式不明確(bundle format is ambiguous)的錯誤訊息而失敗,事後若遭竄改也無從分辨。現在發布流程改用 ditto 工具壓縮並保留捷徑,發布前也會驗證簽章,下載檔案體積也縮小了約 9 MB。⟦就像翻閱附有索引的旅遊指南,以前若把指針標記印成整份重複地圖,查核印鑑時會因版面混亂而無法辨識真偽;現在維持清楚的指標參照,驗章順利過關,整本手冊也輕盈不少。⟧

官方原文

**Downloaded macOS apps now pass signature verification.** The release zip stored copies in place of the symlinks inside the bundled Python framework, so every download through v0.34.8, Homebrew installs included, failed codesign --verify with "bundle format is ambiguous", and any later tampering could not be told apart. Releases are now zipped with ditto, which keeps the symlinks, and the release job verifies the zipped app's signature before publishing. The download is about 9 MB smaller.