Skip to content

Commit cdd604e

Browse files
committed
update dependencies
1 parent 419cbfb commit cdd604e

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

Modules/Examples/Misc JVM/src/main/scala/ex2021encfixtodo/sync/DataManagerConnectionManager.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import channels.NioTCP
44
import com.github.plokhotnyuk.jsoniter_scala.core.JsonValueCodec
55
import com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker
66
import com.google.crypto.tink.aead.AeadConfig
7-
import com.google.crypto.tink.{Aead, CleartextKeysetHandle, JsonKeysetReader, JsonKeysetWriter, KeyTemplates, KeysetHandle, LegacyKeysetSerialization}
7+
import com.google.crypto.tink.{Aead, CleartextKeysetHandle, JsonKeysetReader, JsonKeysetWriter, KeyTemplates, KeysetHandle, LegacyKeysetSerialization, RegistryConfiguration}
88
import rdts.base.{Bottom, Lattice, LocalUid}
99
import rdts.dotted.{Dotted, HasDots, Obrem}
1010
import replication.DeltaDissemination
@@ -40,7 +40,7 @@ class DataManagerConnectionManager[State: {JsonValueCodec, Lattice, Bottom, HasD
4040

4141
private val keyset =
4242
CleartextKeysetHandle.read(JsonKeysetReader.withInputStream(Files.newInputStream(keysetFilePath)))
43-
private val aead: Aead = keyset.getPrimitive(classOf[Aead])
43+
private val aead: Aead = keyset.getPrimitive(RegistryConfiguration.get(), classOf[Aead])
4444

4545
println(LegacyKeysetSerialization.getKeysetInfo(keyset))
4646

Modules/Microbenchmarks/src/main/scala/benchmarks/encrdt/Helper.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package benchmarks.encrdt
22

33
import com.google.crypto.tink.aead.AeadConfig
4-
import com.google.crypto.tink.{Aead, KeyTemplates, KeysetHandle}
4+
import com.google.crypto.tink.{Aead, KeyTemplates, KeysetHandle, RegistryConfiguration}
55
import org.conscrypt.Conscrypt
66

77
import java.security.Security
@@ -24,6 +24,6 @@ object Helper {
2424
System.err.println("Conscrypt could not be loaded, continuing anyway")
2525
AeadConfig.register()
2626
val keyset: KeysetHandle = KeysetHandle.generateNew(KeyTemplates.get(keyTemplateString))
27-
keyset.getPrimitive(classOf[Aead])
27+
keyset.getPrimitive(RegistryConfiguration.get, classOf[Aead])
2828
}
2929
}

project/Dependencies.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ object Dependencies {
1818
val scalaXml = libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "2.3.0"
1919
val slf4jSimple = libraryDependencies += "org.slf4j" % "slf4j-simple" % "2.0.17" % Test
2020
val sttpCore = libraryDependencies += "com.softwaremill.sttp.client4" %%% "core" % "4.0.0-RC1"
21-
val tink = libraryDependencies += "com.google.crypto.tink" % "tink" % "1.15.0"
21+
val tink = libraryDependencies += "com.google.crypto.tink" % "tink" % "1.17.0"
2222

2323
val bouncyCastle = libraryDependencies ++=
2424
List(
@@ -30,8 +30,8 @@ object Dependencies {
3030
)
3131

3232
def borer = libraryDependencies ++= Seq(
33-
"io.bullet" %%% "borer-core" % "1.15.0",
34-
"io.bullet" %%% "borer-derivation" % "1.15.0"
33+
"io.bullet" %%% "borer-core" % "1.16.0",
34+
"io.bullet" %%% "borer-derivation" % "1.16.0"
3535
)
3636

3737
def jetty = {

project/Settings.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ object Settings {
128128
}
129129

130130
val resolverJitpack = resolvers += "jitpack" at "https://jitpack.io"
131-
val resolverS01 = resolvers += "sonatype staging" at "https://s01.oss.sonatype.org/content/groups/staging/"
131+
val resolverS01 = resolvers += "sonatype staging S01" at "https://s01.oss.sonatype.org/content/groups/staging/"
132+
val resolverOss = resolvers += "sonatype staging OSS" at "https://oss.sonatype.org/content/groups/staging/"
132133

133134
// this is a tool to analyse memory consumption/layout
134135
val jolSettings = Seq(

0 commit comments

Comments
 (0)