Skip to content

Apple binaries trusted signature #90

Closed

Description

@pomadchin

We have ARM builds via #61

However, it's not enough (see #89 (comment)); we need to make the published dylib trusted so it seamlessly works.

We need to figure out how to sign binaries;

@metasim thanks for the help 🥇

Most likely we need https://github.com/Apple-Actions/import-codesign-certs

I found https://github.com/strawberrymusicplayer/strawberry/blob/master/.github/workflows/build.yml#L806-L809 and https://github.com/orgs/community/discussions/70145

More: #89 (comment)

Activity

  1. metasim commented on Mar 14, 2024

    @metasim
    Contributor

    I wonder if self-signing (aka "adhoc") is better than nothing:

    codesign --force -s - libpdaljni.2.6.dylib
    

    From the manpage:

    If identity is the single letter "-" (dash), ad-hoc signing is performed. Ad-hoc signing does not use an identity at all, and identifies exactly one instance of code. Significant restrictions apply to the use of ad-hoc signed code; consult documentation before using this.

  2. pomadchin commented on Mar 14, 2024

    @pomadchin
    CollaboratorAuthor

    @metasim lets try it!

  3. pomadchin commented on Mar 18, 2024

    @pomadchin
    CollaboratorAuthor

    We don't need it, tested #95 and #96

    All thx to @metasim 🔥

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy