forked from tink-crypto/tink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
a6e8492
commit ae71d2c
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |