Skip to main content
coreydaley.dev

"The archive header is encrypted, but currently not supported": 7z and RAR with hidden file names

Most password-protected archives let you see what’s inside before you enter the password; only the files themselves are locked. Some 7z and RAR archives go further and encrypt the list of file names too, so nothing is visible until the password is entered.

Apps that don’t support that can’t even show the list. macOS’s built-in tar, for example, says “The archive header is encrypted, but currently not supported” (tested on macOS 27). The archive is usually fine; you need an app that can ask for the password first.

How to open one on a Mac

  • Purrchiver (Mac App Store): free to open. It asks for the password first and then shows the contents. Both 7z and RAR archives with encrypted file names are supported.

  • Terminal: 7-Zip’s command-line version (brew install sevenzip with Homebrew):

    7zz x file.7z

    It asks for the password before it can list or extract anything, and 7zz x file.rar works the same way for RAR.

In Purrchiver, passwords with non-ASCII characters (accented letters, emoji) aren’t supported for 7z or RAR.

Why archives do this

Encrypting the names hides what an archive contains, not just the contents. A list like tax-return-2025.pdf or passport-scan.jpg says a lot even when the files can’t be opened. 7z calls it header encryption (7zz a -mhe=on); RAR does it with rar a -hp.

Standard ZIP encryption (ZipCrypto and AES) doesn’t hide file names, so a password-protected ZIP shows what’s inside; see How to password-protect a ZIP file on a Mac.

Making one yourself

Purrchiver encrypts file names whenever it creates an encrypted 7z (part of the one-time unlock). The free alternative is 7zz a -mhe=on -p file.7z folder. Whoever receives it needs an app that supports encrypted names, like the ones above or 7-Zip on Windows.

Download on the Mac App Store

Free forever to open and extract anything. $9.99 once for the advanced tools. No trial, no subscription.