Skip to content

Tink Java AWS KMS Extension 1.11.0

Latest
Compare
Choose a tag to compare
@ioannanedelcu ioannanedelcu released this 10 Dec 14:40

Tink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.

This is Tink Java AWS KMS extension 1.11.0

What's new

The complete list of changes since 1.10.1 can be found here.

  • Migrated some tests (via inlining) from KeysetHandle.getPrimitive(Class<P>) to KeysetHandle.getPrimitive(Configuration, Class<P>)
  • Updated dependencies:
    • com.google.crypto.tink:tink:1.15.0
    • com.amazonaws:aws-java-sdk-core:1.12.779
    • com.amazonaws:aws-java-sdk-kms:1.12.779
    • com.google.errorprone:error_prone_annotations:2.36.0
    • com.google.guava:guava:33.3.1-jre

Future work

To see what we're working towards, check our project roadmap.

Getting started

To get started see the setup guide.

Maven:

<dependency>
    <groupId>com.google.crypto.tink</groupId>
    <artifactId>tink-awskms</artifactId>
    <version>1.11.0</version>
</dependency>

Bazel:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

RULES_JVM_EXTERNAL_TAG = "4.5"
RULES_JVM_EXTERNAL_SHA ="b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6"

http_archive(
    name = "rules_jvm_external",
    strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
    sha256 = RULES_JVM_EXTERNAL_SHA,
    url = "https://github.com/bazelbuild/rules_jvm_external/archive/refs/tags/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)

load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")

rules_jvm_external_deps()

load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")

rules_jvm_external_setup()

load("@rules_jvm_external//:defs.bzl", "maven_install")

maven_install(
    artifacts = [
        "com.google.crypto.tink:tink:1.15.0",
        "com.google.crypto.tink:tink-awskms:1.11.0",
        # ... other dependencies ...
    ],
    repositories = [
        "https://repo1.maven.org/maven2",
    ],
)