Sha256: cabe7565cf8c2a9ad156074b68f8194019c9a6e17ed3664f20854d27298859ca
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
fernet-cli ========== Now, the power of [Fernet](https://github.com/fernet/spec) is available from the shell! # tl;dr ``` tmaher@og-kush:~$ gem install fernet-cli Fetching: fernet-cli-0.4.gem (100%) Successfully installed fernet-cli-0.4 Parsing documentation for fernet-cli-0.4 Installing ri documentation for fernet-cli-0.4 Done installing documentation for fernet-cli after 0 seconds 1 gem installed tmaher@og-kush:~$ fernet-encrypt --help Usage: fernet-encrypt [-p | -k <keyfile>] -i <infile> -o <outfile> -p, --prompt Prompt for keys -k, --keyfile KEYFILE -i, --infile INPUTFILE -o, --outfile OUTPUTFILE ``` And there's a corresponding `fernet-decrypt` too. The key should be a base64-encoded blob of 256-bits. If you'd rather not write it out to a file or get promted for it, you can save it to shell environment variable `FERNET_CLI_KEY`. For `fernet-encrypt`, the infile is plaintext and the outfile is ciphertext. For `fernet-decrypt`, the infile is ciphertext and the outfile is plaintext. For more information, see https://github.com/fernet/spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fernet-cli-0.5 | README.md |