Skip to content

Release dmg: bundled .app fails codesign --verify --deep --strict (FinderInfo xattrs) #863

Closed

Description

@pdaw-cowork

Same packaging issue as storytold/photocraft#3034: the LightCraft.app inside the universal release dmg fails codesign --verify --deep --strict with resource fork, Finder information, or similar detritus not allowed (empty com.apple.FinderInfo xattrs on bundle resources). spctl and stapler validate pass. Details, workaround and suggested fix are in the linked issue.

Activity

  1. coygeek commented on Oct 11, 2026

    @coygeek

    Confirmed with the released LightCraft 0.6.0 universal macOS DMG on macOS 27.0.1, build 26A434, arm64. Its SHA-256 matched both the published checksum file and GitHub's asset digest:

    73021243e351d7a5ea78f0c8aad7a7e9abba471b7be32e8fcd4d03e98078b50a
    

    A disposable ditto copy failed codesign --verify --deep --strict with exit 1:

    resource fork, Finder information, or similar detritus not allowed
    

    Removing only com.apple.FinderInfo from that copy with xattr -dr com.apple.FinderInfo APP made the same strict check exit 0. The cleaned copy also passed spctl --assess --type execute -vv as Notarized Developer ID. This establishes a strict bundle-validation failure; I have not established a general launch failure or an exploitable security defect.

    There is now a working sibling-project fix: storytold/pdfcraft#823, merged and included in PdfCraft 0.6.0. It replaces hdiutil makehybrid -hfs with retrying hdiutil create -srcfolder ... -fs HFS+ -format UDZO, then mounts the finished DMG and strictly verifies the app inside. A ditto copy of the app from that released PdfCraft DMG passed the same strict check without FinderInfo cleanup.

    The PdfCraft change is a candidate to adapt here; I have not built or tested that adaptation in this repository. A useful closure check would be strict verification of both the app mounted from the published DMG and a ditto copy, with no post-copy attribute cleanup required.

    Could maintainers confirm whether this packaging fix is planned here, or link existing work if it is tracked elsewhere? Which release should reporters recheck once a fix is available?

  2. bflatastic commented on Oct 11, 2026

    @bflatastic
    Member

    Thank you for reporting this, @pdaw-cowork. #959 landed in #981, which should fix it, so I'm closing this issue. Feel free to reopen it if you still see the problem in the next build.

    If you haven't already, come and join us on Discord: https://discord.gg/artcraft


    Generated by Claude Code

  3. added a commit that references this issue on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions