Skip to content

App "damaged" for DMG downloads (for 8.x+), cuz codesigning #244

@apjanke

Description

@apjanke

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.

image

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

Related

Ideas

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcodesigninghelp wantedExtra attention is needed from other folksmacOS 11+Support for macOS 11 through 14

Type

No type

Projects

Status

High priority

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions