LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

zipcloak

Encrypt or decrypt ZIP archives

TLDR

Encrypt ZIP file
$ zipcloak [archive.zip]
copy
Decrypt ZIP file
$ zipcloak -d [archive.zip]
copy
Encrypt with output
$ zipcloak -O [encrypted.zip] [archive.zip]
copy
Quiet mode
$ zipcloak -q [archive.zip]
copy

SYNOPSIS

zipcloak [-d] [-O output] [options] zipfile

DESCRIPTION

zipcloak encrypts or decrypts ZIP archives by adding or removing password protection. When encrypting, it prompts for a password and applies encryption to all files within the archive. When decrypting with the -d flag, it removes encryption after verifying the original password.By default, zipcloak modifies the archive in place, replacing the original file. The -O option allows writing the encrypted or decrypted result to a new file, preserving the original archive unchanged.zipcloak uses standard ZIP encryption (PKZIP), which is widely compatible with most ZIP tools and operating systems. It is part of the Info-ZIP suite of utilities.

PARAMETERS

-d, --decrypt

Decrypt archive.
-O FILE
Output to new file.
-q, --quiet
Quiet mode.
-b PATH
Temp file path.
-h, --help
Show help.
-v, --version
Show version.

INSTALL

sudo apt install zip
copy
sudo dnf install zip
copy
sudo pacman -S zip
copy
sudo apk add zip
copy
sudo zypper install zip
copy
brew install zip
copy
nix profile install nixpkgs#zip
copy

CAVEATS

Standard ZIP encryption (PKZIP/ZipCrypto) is considered weak by modern standards and can be broken with known-plaintext attacks. For stronger encryption, consider using 7z with AES-256. The -O option should be used when you want to preserve the original unencrypted archive. Encryption applies to file contents only; filenames and metadata remain visible.

HISTORY

zipcloak is part of the Info-ZIP suite of utilities, originally developed in the early 1990s as free, portable implementations of the ZIP archive format tools. It provides a convenient way to add or remove password protection from existing ZIP archives without needing to recreate them.

SEE ALSO

zip(1), unzip(1), 7z(1), zipinfo(1), zipnote(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid