Skip to content
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

Removed TLS v1.2 support. Removed an API key authentication pathway. #720

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [2.125.0] - 2024-09-30
- Removed support for TLS v1.2.
- Removed an API key authentication pathway.

## [2.124.0] - 2024-09-14
- Application configuration overhaul.
- Some database configuration changes are not backwards compatible.
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ lazy val root = (project in file("."))
pekkoVersion := "[1.0.2]",
release := sys.env.getOrElse("GIT_SHORT_SHA", versionFunc()),
resolvers += Classpaths.typesafeReleases,
scalaVersion := "2.13.14",
scalaVersion := "2.13.15",
summary := "'Open Horizon exchange-api image'",
vendor := "'Open Horizon'",
version := sys.env.getOrElse("IMAGE_VERSION", versionFunc()),
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi-3-developer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name" : "Apache License Version 2.0",
"url" : "https://www.apache.org/licenses/LICENSE-2.0"
},
"version" : "2.124.0"
"version" : "2.125.0"
},
"externalDocs" : {
"description" : "Open-horizon ExchangeAPI",
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi-3-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name" : "Apache License Version 2.0",
"url" : "https://www.apache.org/licenses/LICENSE-2.0"
},
"version" : "2.124.0"
"version" : "2.125.0"
},
"externalDocs" : {
"description" : "Open-horizon ExchangeAPI",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.124.0
2.125.0
Original file line number Diff line number Diff line change
Expand Up @@ -531,11 +531,9 @@ object ExchangeApiApp extends App
.enableHttps(ConnectionContext.httpsServer(() => { // Custom TLS parameters
val engine: SSLEngine = sslContext.createSSLEngine()

engine.setEnabledProtocols(Array("TLSv1.3", "TLSv1.2")) // TLSv1.2 is in support of OpenShift 4.6. HAPoxy router is built on top of RHEL7 which does not support TLSv1.3.
engine.setEnabledProtocols(Array("TLSv1.3"))
engine.setEnabledCipherSuites(Array("TLS_AES_256_GCM_SHA384",
"TLS_CHACHA20_POLY1305_SHA256",
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"))
"TLS_CHACHA20_POLY1305_SHA256"))
engine.setUseClientMode(false)
engine
}))
Expand Down
424 changes: 68 additions & 356 deletions src/main/scala/org/openhorizon/exchangeapi/auth/cloud/IBM.scala

Large diffs are not rendered by default.

Loading