Skip to content

Commit

Permalink
Add a Homebrew formula for Tinkey.
Browse files Browse the repository at this point in the history
To install on Linux and macOS, run:

brew tap google/tink https://github.com/google/tink
brew install tinkey

PiperOrigin-RevId: 321201344
  • Loading branch information
thaidn authored and copybara-github committed Jul 14, 2020
1 parent a6e8492 commit ae71d2c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tinkey.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ae71d2c

Please sign in to comment.