-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Looks like we've got a publishing or file hosting problem here.
When trying to publish the 8.3.0 and 8.4.0 alpha1 builds, if I install Octave.app from a DMG that was built locally, or I copied to the test VM over the LAN from the build host, then it works. But if I install it from a DMG downloaded from the GitHub Releases release page that I uploaded it to, the app fails to launch, with an error saying it is "damaged" and should be deleted.
The SHA sums for the two DMG files are identical, so the file contents seem the same, but it's pretty reproducible. Maybe something else is going on, like "download tainting" or other file metadata.
Other users can reproduce the behavior with the "damaged" app on the GitHub-download DMG.
Symptoms
Happened on both the 8.3.0 alpha1 and 8.4.0 alpha1 builds. Same problem on both Intel and Apple Silicon. Has been happening consistently for all DMGs I've uploaded to GitHub Releases for this 8.x series; no successful ones.
SHA sums are the same, seeming to indicate the file contents are the same:
janke@sonny Downloads % shasum -a 256 */*.dmg
d4a7c9af6306bbdbfe657178b07cb6bbf35d21ea614fa18b626b078480464cee from GitHub/Octave-8.4.0_alpha1.dmg
d4a7c9af6306bbdbfe657178b07cb6bbf35d21ea614fa18b626b078480464cee from eilonwy/Octave-8.4.0_alpha1.dmg
janke@sonny Downloads %
janke@macos-14 octapp % pwd
/Users/janke/Downloads/octapp
janke@macos-14 octapp % shasum -a 256 */*.dmg
541b22388ec44bc674f6adf8fdf3a4816f8301d63eeb294a1826f63a48b739d6 from GitHub via Safari/Octave-8.4.0_alpha1.Intel.dmg
541b22388ec44bc674f6adf8fdf3a4816f8301d63eeb294a1826f63a48b739d6 from angharad via LAN/Octave-8.4.0_alpha1 (Intel).dmg
janke@macos-14 octapp %
References
- "macOS code signing in depth" article
- Comment thread in main 8.x release issue discussing this problem
- macOS Gatekeeper front page
- DropDMG's "signing" doco page
Related
- Code-signing: Sign the app or explain to the user how to open an unsigned app #83
xattrbummer for non-root user trying to clear quarantine/"app damaged" problem #292- (sub ticket for the specific problem of the
xattr -cworkaround failing for a non-Admin user)
- (sub ticket for the specific problem of the
Ideas
- xattrs? Maybe my
cptobuild/is dropping an important xattr? Compare xattrs.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
