Skip to content

Code Signing #583

Open
Open

Description

@C4J

I include your library in my project and I'm just starting to create installers for my app using install4j and of course Apple now seem to require that programs downloaded from the internet have appropriate code signing.

When I attempt to create an installer packaged and upload to Apple for Notarize I get this error back.

So I am wondering - can these binaries be signed ?

jSerialComm-2.11.0.jar/OSX/x86/libjSerialComm.jnilib

"message": "The binary is not signed.",
"message": "The signature does not include a secure timestamp.",
"message": "The binary is not signed with a valid Developer ID certificate.",

Activity

  1. ae6ty commented on Feb 5, 2025

    @ae6ty

    If you are code signing I assume you have your own certificate from Apple. You can use this to codesign the .jnilib files. Simply use 'jar xf' to extract the files, code sign the 'jnilib' files and use 'tar cf' to reconstruct the jar file. Name it something else, of course. I did this and got 'notarized'.

  2. hedgecrw commented on Jul 3, 2025

    @hedgecrw
    Contributor

    Yes, it looks like code signing this on my end would require both an ongoing Apple Developer Account (which costs money) and a Mac-based build machine, so unfortunately, anyone trying to package this library into an Apple app will need to extract the contents of the JAR, sign the .jnilib files themselves, and repackage. Sorry!

  3. self-assigned this
    on Oct 31, 2025
  4. hedgecrw commented on Oct 31, 2025

    @hedgecrw
    Contributor

    I now have an Apple Developer Account. I will try to get signing and notarization of OSX libraries implemented for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions