Skip to content

v1.10.0

Latest
Compare
Choose a tag to compare
@mdetemad mdetemad released this 27 Mar 16:00
· 39 commits to main since this release

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

This is Tink Java Google Cloud KMS extension 1.10.0.

To get started using the Tink Java Google Cloud KMS extension, see the setup guide.

What's new

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

  • Support GRPC-based KeyManagementServiceClient in GCP-KMS AEAD.
  • Add unit tests for the GRPC-based KeyManagementServiceClient in GCP-KMS AEAD.
  • Update tink-java version to 1.12.0
  • Added dependencies:
    • grpc-core 1.59.0
    • grpc-stub 1.59.0
    • grpc-inprocess 1.59.0
    • grpc-testing 1.59.0
    • protobuf-java 3.25.1
    • proto-google-cloud-kms-v1 0.124.0

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-gcpkms</artifactId>
    <version>1.10.0</version>
</dependency>

Bazel:

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

RULES_JVM_EXTERNAL_TAG = "5.3"
RULES_JVM_EXTERNAL_SHA ="6cc8444b20307113a62b676846c29ff018402fd4c7097fcd6d0a0fd5f2e86429"

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-gcpkms:1.10.0", # Installs [email protected]
        # ... other dependencies ...
    ],
    repositories = [
        "https://repo1.maven.org/maven2",
    ],
)