ojob.io/docker/gpg

Usage

ojob ojob.io/docker/gpg op=listkeys gpgvol=gnupg input= output= recipient= 

Description

Wrapper to create a container with gpg and perform operations. You need to provide a docker volume (gpgvol) so gpg
can store/use the private information.
NOTE: For decrypt and sign operations ensure that you run it on a trusted system.

Expects

Name Description
op The operation to perform (e.g: genkey, listkeys, getpubkey, sign, verify, encrypt, decrypt)
gpgvol The volume to store the gpg secure information
input The input file to sign or encrypt
output The output file to verify or decrypt
recipient When encrypting or getting the public key the intended email address of the recipient of the message or owner of the private key.