You can install Tinkey from prebuilt binaries, use Homebrew, or build Tinkey from the Tink source.
Install from prebuilt binaries
The latest release of Tinkey is 1.10.1. It should work on Linux, macOS and Windows.
Install with Homebrew
To install Tinkey with Homebrew, run the following command:
brew tap tink-crypto/tink-tinkey https://github.com/tink-crypto/tink-tinkey
brew install tinkey
Build Tinkey from source
You can build the latest version of Tinkey from Tink's source code by using Bazel with Bazelisk:
TINKEY_URL="https://github.com/tink-crypto/tink-tinkey/archive/refs/tags/v1.10.1.zip"
TINKEY_SHA256="398dc441e9b5c368c998b24410413ec1f26151fb3e857fc032f503c01130c8d9"
curl -LsS "${TINKEY_URL}" -o tinkey.zip
echo "${TINKEY_SHA256} tinkey.zip" | sha256sum -c
unzip tinkey.zip && cd "tink-tinkey-1.10.1"
bazelisk build //:tinkey
This produces the binary bazel-bin/tinkey
.
Next: