Previous: symcryptrun, Up: Helper Tools [Contents][Index]
gpg-zip encrypts or signs files into an archive. It is an
gpg-ized tar using the same format as used by PGP’s PGP Zip.
gpg-zip is invoked this way:
gpg-zip [options] filename1 [filename2, ...] directory [directory2, ...]
gpg-zip understands these options:
--encrypt-eEncrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or a passphrase).
--decrypt-dDecrypt data.
--symmetric-cEncrypt with a symmetric cipher using a passphrase. The default
symmetric cipher used is CAST5, but may be chosen with the
--cipher-algo option to gpg.
--sign-sMake a signature. See gpg.
--recipient user-r userEncrypt for user id user. See gpg.
--local-user user-u userUse user as the key to sign with. See gpg.
--list-archiveList the contents of the specified archive.
--output file-o fileWrite output to specified file file.
--gpg gpgcmdUse the specified command gpgcmd instead of gpg.
--gpg-args argsPass the specified options to gpg.
--tar tarcmdUse the specified command tarcmd instead of tar.
--tar-args argsPass the specified options to tar.
--versionPrint version of the program and exit.
--helpDisplay a brief help page and exit.
The program returns 0 if everything was fine, 1 otherwise.
Some examples:
Encrypt the contents of directory mydocs for user Bob to file test1:
gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs
List the contents of archive test1:
gpg-zip --list-archive test1
Previous: symcryptrun, Up: Helper Tools [Contents][Index]