crypt

command module
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

README

crypt

Version Travis CI Github All Releases Go Report Card

Universal cryptographic tool with AWS KMS, GCP KMS and Azure Key Vault support.

Maturity

Provider Maturity
AWS KMS beta
Azure Key Vault beta
GCP KMS alpha
GPG (GnuPG) alpha

Installation

Binaries

Downloading binaries with bash:

OS=$(uname -s | tr '[A-Z]' '[a-z]')
ARCH=amd64
curl -SLf# -o ${HOME}/bin/crypt https://github.com/VirtusLab/crypt/releases/download/v0.2.6/crypt-${OS}-${ARCH}
chmod +x ${HOME}/bin/crypt
crypt --version

Popular links:

For more binaries please visit the Releases Page.

Via Go
go get github.com/VirtusLab/crypt
Via Homebrew
# Will be installed as cloudcrypt
brew tap virtuslab/cloud && brew install cloudcrypt

Usage

NAME:
   crypt - Universal cryptographic tool with AWS KMS, GCP KMS and Azure Key Vault support

USAGE:
   crypt [global options] command [command options] [arguments...]

VERSION:
   v0.2.6

AUTHOR:
   VirtusLab

COMMANDS:
     encrypt, enc, en, e  Encrypts files and/or strings
     decrypt, dec, de, d  Decrypts files and/or strings
     help, h              Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d    run in debug mode
   --help, -h     show help
   --version, -v  print the version
Examples

Please find usage examples below:

Development

export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

mkdir -p $GOPATH/src/github.com/VirtusLab
cd $GOPATH/src/github.com/VirtusLab
git clone git@github.com:VirtusLab/crypt.git
cd crypt

go get -u github.com/golang/dep/cmd/dep
make all
Testing
make test
Integration testing

Update properties in the Makefile and run:

make integrationtest

Contribution

Feel free to file issues or pull requests.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
fake
Package fake is a fake provider for testing purposes
Package fake is a fake provider for testing purposes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL