Skip to content

Releases: tink-crypto/tink-cc-gcpkms

Tink C++ Google Cloud KMS Extension 2.3.0

12 Dec 15:07
Compare
Choose a tag to compare

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

This is Tink C++ Google Cloud KMS extension 2.3.0

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

What's new

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

  • Support the Cloud KMS AsymmetricSign feature.
  • Support asymmetric verification using the public key stored in Cloud KMS.
  • Support asymmetric verification using a PEM-formatted key previously fetched from Cloud KMS.
  • Added a method GetSignaturePublicKey to get Tink public signing key.
  • Dependency upgrades:
    • abseil-cpp (20240722.0)
    • bazel (6.5.0)
    • boringssl (2023-09-08)
    • data-plane-api (78f198cf96ecdc7120ef640406770aa01af775c4)
    • grpc (1.65.5)
    • protobuf (26.1)
    • tink-cc (2.3.0)
  • New dependencies:
    • re2 2024-02-01

Future work

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

Getting started

Bazel

workspace(name = "example")

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

http_archive(
    name = "tink_cc_gcpkms",
    urls = ["https://github.com/tink-crypto/tink-cc-gcpkms/releases/download/v2.3.0/tink-cc-gcpkms-2.3.0.zip"],
    strip_prefix = "tink-cc-gcpkms-2.3.0",
    sha256 = "5af0d0a502afc346bbaa40f226e8f3b28fe3f5def696cbaaa7bc13702af78901",
)

load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps.bzl", "tink_cc_gcpkms_deps")

tink_cc_gcpkms_deps()

load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps_init.bzl", "tink_cc_gcpkms_deps_init")

tink_cc_gcpkms_deps_init(register_go = True)


# ... Your dependencies here ...

Tink C++ Google Cloud KMS Extension 2.2.0

20 Feb 16:42
Compare
Choose a tag to compare

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

This is Tink C++ Google Cloud KMS extension 2.2.0

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

What's new

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

  • Make direct dependencies explicit in tink_cc_gcpkms_deps() and move testonly deps in tink_cc_gcpkms_testonly_deps().
  • Support the google::cloud::kms_v1::KeyManagementServiceClient KMS client.
  • Updated deps:
    • tink-cc 2.1.0 => 2.1.1
    • googletest 1.11.0 => 1.14.0
    • abseil 20230802.0 => 20230802.1
  • Added deps:
    • re2 2024-02-01

Future work

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

Getting started

Bazel

workspace(name = "example")

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

http_archive(
    name = "tink_cc_gcpkms",
    urls = ["https://github.com/tink-crypto/tink-cc-gcpkms/releases/download/v2.2.0/tink-cc-gcpkms-2.2.0.zip"],
    strip_prefix = "tink-cc-gcpkms-2.2.0",
    sha256 = "ffb9d05c64ca28b5eb54fe79e7c3f93fad68f00e45f74f6b9ce1bd3a32b3d6fd",
)

load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps.bzl", "tink_cc_gcpkms_deps")

tink_cc_gcpkms_deps()

load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps_init.bzl", "tink_cc_gcpkms_deps_init")

tink_cc_gcpkms_deps_init(register_go = True)


# ... Your dependencies here ...

Tink C++ Google Cloud KMS Extension 2.1.0

29 Nov 22:27
Compare
Choose a tag to compare

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

This is Tink C++ Google Cloud KMS extension 2.1.0

To get started using Tink, see the setup guide.

What's new?

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

  • Deprecated KmsClient registration
  • Pin to tink-cc@2.1.0 by default
  • Upgraded dependencies:
    • com_github_grpc_grpc@1.46.1 => com_github_grpc_grpc@1.59.3

Future work

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

Getting started

Bazel

workspace(name = "example")

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

http_archive(
    name = "tink_cc_gcpkms",
    urls = ["https://github.com/tink-crypto/tink-cc-gcpkms/releases/download/v2.1.0/tink-cc-gcpkms-2.1.0.zip"],
    strip_prefix = "tink-cc-gcpkms-2.1.0",
    sha256 = "36148d6ecf5d79e06fac1ee49e32b07c727f159f4d90e38a30d3e416647cfae4",
)

load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps.bzl", "tink_cc_gcpkms_deps")

tink_cc_gcpkms_deps()

load("@tink_cc_gcpkms//:tink_cc_gcpkms_deps_init.bzl", "tink_cc_gcpkms_deps_init")

tink_cc_gcpkms_deps_init(register_go = True)

# ... Your dependencies here ...

Tink C++ Google Cloud KMS Extension 2.0.0

03 May 22:12
Compare
Choose a tag to compare

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

This is Tink C++ Google Cloud KMS extension 2.0.0

To get started using Tink, see the setup guide.

Bazel

workspace(name = "example")

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

http_archive(
    name = "com_github_tink_crypto_tink_cc",
    urls = ["https://github.com/tink-crypto/tink-cc/archive/refs/tags/v2.0.0.zip"],
    strip_prefix = "tink-cc-2.0.0",
    sha256 = "103ddfce800e77f3b3b6b2c808a8611bc734b31ddb12fbcfd8bebc1b96a7e963",
)

http_archive(
    name = "com_github_tink_crypto_tink_cc_gcpkms",
    urls = ["https://github.com/tink-crypto/tink-cc-gcpkms/archive/refs/tags/v2.0.0.zip"],
    strip_prefix = "tink-cc-gcpkms-2.0.0",
    sha256 = "1c01eed55aaa122d34c73c623ba5da7f7855c9bd105d556411e4c70dc0c8caad",
)

load("@com_github_tink_crypto_tink_cc//:tink_cc_deps.bzl", "tink_cc_deps")

tink_cc_deps()

load("@com_github_tink_crypto_tink_cc//:tink_cc_deps_init.bzl", "tink_cc_deps_init")

tink_cc_deps_init()

load("@com_github_tink_crypto_tink_cc_gcpkms//:tink_cc_gcpkms_deps.bzl",
  "tink_cc_gcpkms_deps")

tink_cc_gcpkms_deps()

load("@com_github_tink_crypto_tink_cc_gcpkms//:tink_cc_gcpkms_deps_init.bzl",
  "tink_cc_gcpkms_deps_init")

tink_cc_gcpkms_deps_init(register_go = True)

# ... Your dependencies here ...

NOTE: Different from 1.7.0, labels are now prefixed by tink: for example for example
@tink_cc_gcpkms//integration/gcpkms:gcp_kms_client becomes
@tink_cc_gcpkms//tink/integration/gcpkms:gcp_kms_client.

Bazel users of Tink can use tink-cc's script tools/update_build_files_for_tink_2_0_bazel.sh to apply the necessary Bazel changes to their BUILD files:

git clone https://github.com/tink-crypto/tink-cc.git
cd tink-cc
./tools:update_build_files_for_tink_2_0_bazel <path/to/you/project/root> \
  <tink-cc-gcpkms repository name>

What's new

This is the first release from https://github.com/tink-crypto/tink-cc-gcpkms.

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

  • Require Bazel 6.0.0
  • Changed minimum C++ version to C++14
  • Changed the structure of the repository adding sources to tink. As a consequence, target labels are now prefixed with tink, for example @tink_cc_gcpkms//integration/gcpkms:gcp_kms_client becomes @tink_cc_gcpkms//tink/integration/gcpkms:gcp_kms_client
  • Minor code refactoring
  • Added/upgraded CI test scripts