Skip to content

Commit

Permalink
build: remove explicit bouncy libs
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Losoponkul <pat.losoponkul@iohk.io>
  • Loading branch information
patlo-iog committed May 6, 2024
1 parent d5b0aa3 commit 65f2b42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 1 addition & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,6 @@ lazy val D = new {
val monocleMacro: ModuleID = "dev.optics" %% "monocle-macro" % V.monocle % Test

val apollo = "io.iohk.atala.prism.apollo" % "apollo-jvm" % V.apollo
// TODO: check this
// Added here to make prism-crypto works.
// Once migrated to apollo, re-evaluate if this should be removed.
val bouncyBcpkix = "org.bouncycastle" % "bcpkix-jdk18on" % V.bouncyCastle
val bouncyBcprov = "org.bouncycastle" % "bcprov-jdk18on" % V.bouncyCastle

// LIST of Dependencies
val doobieDependencies: Seq[ModuleID] =
Expand Down Expand Up @@ -201,8 +196,6 @@ lazy val D_SharedCrypto = new {
Seq(
D.zioJson,
D.apollo,
D.bouncyBcpkix,
D.bouncyBcprov,
D.nimbusJwt,
D.zioTest,
D.zioTestSbt,
Expand Down Expand Up @@ -394,7 +387,6 @@ lazy val D_CloudAgent = new {
D.micrometer,
D.micrometerPrometheusRegistry
)
val bouncyDependencies: Seq[ModuleID] = Seq(D.bouncyBcpkix, D.bouncyBcprov)
val tapirDependencies: Seq[ModuleID] =
Seq(
tapirSwaggerUiBundle,
Expand All @@ -412,7 +404,7 @@ lazy val D_CloudAgent = new {

// Project Dependencies
lazy val keyManagementDependencies: Seq[ModuleID] =
baseDependencies ++ bouncyDependencies ++ D.doobieDependencies ++ Seq(D.zioCatsInterop, D.zioMock, vaultDriver)
baseDependencies ++ D.doobieDependencies ++ Seq(D.zioCatsInterop, D.zioMock, vaultDriver)

lazy val iamDependencies: Seq[ModuleID] = Seq(keycloakAuthz, D.jwtCirce)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package org.hyperledger.identus.shared.crypto

import java.security.MessageDigest

// TODO: move behind Apollo interface if it makes sense
// Reference: https://github.com/input-output-hk/atala-prism/blob/open-source-node/node/src/main/scala/io/iohk/atala/prism/node/crypto/CryptoUtils.scala
sealed trait Sha256Hash {
def bytes: Vector[Byte]
Expand Down

0 comments on commit 65f2b42

Please sign in to comment.