Skip to content

Conversation

timja
Copy link
Contributor

@timja timja commented Jan 7, 2025

Alternative to #6 which maintains compatibility with Java <23 for predefined roots

I tried to implement #3 in #5 but I couldn't make the JNA bindings work, I'm not sure if its JNA limitations to do with constants required or if I was doing something wrong but I was hitting a solid brick wall which gave me no clues on what was wrong.

Instead I've ported this to use the Apple truststores provided by the JVM which was trivial to do.

Closes #5

This won't fix #3 as its now dependent on the JVM.
But it will be fixed by openjdk/jdk#22911 which looks like it should get merged soon-ish and then hopefully it can be backported.

@timja
Copy link
Contributor Author

timja commented Feb 6, 2025

Potentially limited benefit in maintaining the compatibility, JetBrains has a forked JDK and the changes can just be backported down to the supported lines to resolve this for the JetBrains IDEs

@timja timja closed this Feb 22, 2025
@timja timja deleted the use-apple-keychainstore-from-jdk-with-jna-roots branch February 22, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant