Closed wsargent closed 4 years ago
in the community build, I see that this will require adjustment in the playframework repo, downstream:
[playframework] [error] /home/jenkins/workspace/scala-2.12.x-jdk8-integrate-community-build/target-0.9.16/project-builds/playframework-f46785f3a51c80d4304d98e6eb9f8a05acc40061/transport/server/play-server/src/main/scala/play/core/server/ssl/FakeKeyStore.scala:26:89: value SignatureAlgorithmOID is not a member of object com.typesafe.sslconfig.ssl.FakeKeyStore.KeystoreSettings
[playframework] [error] val SignatureAlgorithmOID: ObjectIdentifier = sslconfig.FakeKeyStore.KeystoreSettings.SignatureAlgorithmOID
[playframework] [error] ^
[playframework] [error] one error found
[playframework] [error] (Play-Server / Compile / compileIncremental) Compilation failed
or, can the change be made in a source-compatible way?
@SethTisue I don't think so but FakeKeyStore.scala is not a core part of the API, it's for generating SSL certificates for dev servers for HTTPS
The big problem is that there's no compatible overlap for the ObjectIdentifier between JDK 8 and JDK 15...
@raboof @ignasi35 who can review this...?
in the community build, I see that this will require adjustment in the playframework repo, downstream:
[playframework] [error] /home/jenkins/workspace/scala-2.12.x-jdk8-integrate-community-build/target-0.9.16/project-builds/playframework-f46785f3a51c80d4304d98e6eb9f8a05acc40061/transport/server/play-server/src/main/scala/play/core/server/ssl/FakeKeyStore.scala:26:89: value SignatureAlgorithmOID is not a member of object com.typesafe.sslconfig.ssl.FakeKeyStore.KeystoreSettings ...
The class triggering the compilation error was deprecated in Play 2.7.0 offering the implementation in ssl-config instead. We should just remove the deprecated class from Play's master
already.
Regarding this PR: I like the change.
We should just remove the deprecated class from Play's
master
already.
Thansk @wsargent
I'll exclude the mima warnings
thanks @raboof!
Could some release ssl-config 0.4.3 with this patch here? I try to make Play Java 16/17 compatible and this here is needed to make that work. There are no other changes yet in master, so I think cutting 0.4.3 should be OK: https://github.com/lightbend/ssl-config/compare/v0.4.2...master
will do
@raboof Thanks!
(ran into some problems with the script/setup but I think it should be on its way to Maven Central now)
@raboof Thanks! Watching https://repo1.maven.org/maven2/com/typesafe/ssl-config-core_2.13/
@raboof Can you please quickly review https://github.com/playframework/playframework/pull/10729 ? should be OK to merge, tests for it are currently running and look good: https://travis-ci.com/github/playframework/playframework/builds/220915269
@raboof still not on central... Is there a problem?
Oops, apparently it was not auto-closed... not sure why I thought it was. closing & releasing...
Fixes https://github.com/lightbend/ssl-config/issues/268
Use
AlgorithmId.get("")
instead of using the OID directly, as JDK 15 removes methods and there is not a common interface fir it.