-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JarFile implementation calls close early which breaks verification of signed unpacked nested jars on Oracle JDK #29356
Comments
philwebb
changed the title
Unpacked jars are still wrapped by our handler
Unpacked jars use Spring Boot's JarURLConnection which breaks with signed jars on an Oracle JDK
Jun 15, 2022
philwebb
changed the title
Unpacked jars use Spring Boot's JarURLConnection which breaks with signed jars on an Oracle JDK
JarFile implementation calls close early which breaks verification of signed unpacked nested jars on Oracle JDK
Jun 15, 2022
For reasons that I don't yet understand, this fix doesn't work once spring-boot-loader-tests-signed-jar-unpack-app has been upgraded to Bouncycastle 1.71:
|
It's a mistake in the Bouncy Castle upgrade. It didn't change the requiresUnpack pattern. |
This was referenced Aug 15, 2022
Closed
I'm afraid this fix caused several regressions to be reported. We're going to need to revert it and find a different approach. I've opened #32106. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #28837. A work-around should be to set the unpack flag but this doesn't work since we still wrap things.
The text was updated successfully, but these errors were encountered: