diff options
author | thaidn <thaidn@google.com> | 2020-07-14 11:41:38 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2020-07-14 11:42:24 -0700 |
commit | ae71d2c1e2e11844f02ed8bd211dc16e4f39e2a5 (patch) | |
tree | 6020d0ee0779a6aa19bda5315a7949ee843baf17 /tinkey.rb | |
parent | a6e84922a929ea11947cecafeb3b4e8390bc6200 (diff) | |
download | tink-ae71d2c1e2e11844f02ed8bd211dc16e4f39e2a5.tar.gz |
Add a Homebrew formula for Tinkey.
To install on Linux and macOS, run:
brew tap google/tink https://github.com/google/tink
brew install tinkey
PiperOrigin-RevId: 321201344
Diffstat (limited to 'tinkey.rb')
-rw-r--r-- | tinkey.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tinkey.rb b/tinkey.rb new file mode 100644 index 000000000..b0fcd71e5 --- /dev/null +++ b/tinkey.rb @@ -0,0 +1,23 @@ +# A Homebrew formula for Tinkey on Linux and macOS. +# Usage: +# brew tap google/tink https://github.com/google/tink +# brew install tinkey + +class Tinkey < Formula + desc "A command line tool to generate and manipulate keysets for the Tink cryptography library" + homepage "https://github.com/google/tink/tree/master/tools/tinkey" + url "https://storage.googleapis.com/tinkey/tinkey-darwin-x86_64-1.4.0.tar.gz" + sha256 "cd4a79a3c78084e6d0b4d82cc0e2f903cb0f18d6d75c7c897512f7804be50dba" + + on_linux do + url "https://storage.googleapis.com/tinkey/tinkey-linux-x86_64-1.4.0.tar.gz" + sha256 "b36521a05fc59b6541bd4119df9f1cc392a509ed914efe763b92c50b87f4159f" + end + + bottle :unneeded + + def install + bin.install "tinkey" + bin.install "tinkey_deploy.jar" + end +end |