Skip to content

Differing binary identifiers within Universal Mach-O should be reconciled #103

@indygreg

Description

@indygreg

Splitting this out from #95.

When you sign a universal Mach-O binary with differing binary identifiers (this can happen when you compile each binary separately and glue them together), codesign appears to reconcile the identifier to the same value. rcodesign currently preserves the varying values.

Confusingly, codesign -v says the rcodesign Mach-O verifies when inspecting just it. But if the Mach-O is a nested binary in a bundle, bundle verification fails. This likely has to due with the requirements string in the CodeResources file not being consistent with both binaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apple-codesignapple-codesign crate and rcodesign CLI toolbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions