Skip to content

Instantly share code, notes, and snippets.

@seratch
Created November 29, 2011 11:04
Show Gist options
  • Save seratch/1404423 to your computer and use it in GitHub Desktop.
Save seratch/1404423 to your computer and use it in GitHub Desktop.
keyczar_tool.sh
#!/bin/sh -x
# --- KeyczarTool Script ---
# @see http://code.google.com/p/keyczar/wiki/KeyczarTool
wget http://keyczar.googlecode.com/files/KeyczarTool.jar
java -jar ./KeyczarTool.jar create --location=. --purpose=crypt --name="$1"
java -jar ./KeyczarTool.jar addkey --location=. --status=primary
ls # 1 meta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment