Sign inSign up

mmktomato/openssl-cipher

By mmktomato

Updated about 7 years ago

Encrypt and decrypt files with openssl.

Image
0

1.0K

mmktomato/openssl-cipher repository overview

openssl-cipher

Encrypt and decrypt files with openssl.

Usage

Encrypt
# Enter password interactively.
$ docker run --rm -it -v $PWD:/tmp mmktomato/openssl-cipher -e <in_file> <out_file>

# Password via command line.
$ docker run --rm -v $PWD:/tmp mmktomato/openssl-cipher -e -p <password> <in_file> <out_file>
Decrypt
# Enter password interactively.
$ docker run --rm -it -v $PWD:/tmp mmktomato/openssl-cipher -d <in_file> <out_file>

# Password via command line.
$ docker run --rm -v $PWD:/tmp mmktomato/openssl-cipher -d -p <password> <in_file> <out_file>
Other
# Show help
$ docker run --rm mmktomato/openssl-cipher -h

# Show version
$ docker run --rm mmktomato/openssl-cipher -v

# Show available cipher commands
# Note: currently only `aes-256-cbc` is supported.
$ docker run --rm mmktomato/openssl-cipher -l

Tag summary

Content type

Image

Digest

Size

4.3 MB

Last updated

about 7 years ago

docker pull mmktomato/openssl-cipher