Skip to content

Tink Python 1.8.0

Compare
Choose a tag to compare
@morambro morambro released this 28 Aug 09:33
· 136 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 Python 1.8.0

What's new

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

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

  • Added support for Python 3.11
  • Publish binary wheels for Linux AArch64 (issue)
  • Tink now Rejects JWTs with duplicate map-keys in JSON objects (commit)
  • Upgraded to protobuf >= 4.21.9
  • Upgraded to Bazel 6.0.0
  • Removed dependency on Tink C++ AWS KMS (commits: #1, #2)
  • Removed dependency on Tink C++ GCP KMS (commits: #1, #2)
  • Restricted KMS envelope AEAD to only use Tink AEAD key types as DEK (commit)
  • Use ranges for requirements and exclude known vulnerable protobuf version (commits: #1, #2; issues: #1, #2)
  • Support AWS key aliases (commit)
  • Implemented minor internal fixes and refactorings
  • Added test scripts for internal CI

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

Get started

To get started using Tink, see the setup guide.

Pip

pip3 install tink==1.8.0

Bazel

Tink Python can be used in a Bazel project as a pip dependency using rules_python’s pip_parse macro, or tink-py can be added as a Bazel build dependency to your WORKSPACE file:

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

http_archive(
    name = "tink_py",
    urls = ["https://github.com/tink-crypto/tink-py/releases/download/v1.8.0/tink-py-1.8.0.tar.gz"],
    strip_prefix = "tink-py-1.8.0",
    sha256 = "1309f1d5d14062cd3ab623957e74bb17e98b49643d2799f33c441da06c3a61f7",
)

load("@tink_py//:tink_py_deps.bzl", "tink_py_deps")

tink_py_deps()

load("@tink_py//:tink_py_deps_init.bzl", "tink_py_deps_init")

tink_py_deps_init("tink_py")

# ...