gpg-zip

Encrypt files and directories in an archive using GPG. More information: <https://www.gnupg.org/documentation/manuals/gnupg/gpg_002dzip.html>.

Install

All systems
curl cmd.cat/gpg-zip.sh
Debian Debian
apt-get install gnupg
Ubuntu
apt-get install gnupg
Alpine
apk add gnupg
Arch Arch Linux
pacman -S gnupg
image/svg+xml Kali Linux
apt-get install gnupg-utils
CentOS
yum install gnupg2
Fedora
dnf install gnupg
Windows (WSL2)
sudo apt-get update sudo apt-get install gnupg
OS X
brew install gnupg
Raspbian
apt-get install gnupg
Docker
docker run cmd.cat/gpg-zip gpg-zip powered by Commando

Encrypt files and directories in an archive using GPG. More information: <https://www.gnupg.org/documentation/manuals/gnupg/gpg_002dzip.html>.

  • Encrypt a directory into `archive.gpg` using a passphrase:
    gpg-zip --symmetric --output archive.gpg path/to/directory
  • Decrypt `archive.gpg` into a directory of the same name:
    gpg-zip --decrypt path/to/archive.gpg
  • List the contents of the encrypted `archive.gpg`:
    gpg-zip --list-archive path/to/archive.gpg

© tl;dr; authors and contributors