tzap
tzap is the command-line interface for the tzap v0.41 archive format. It
creates, lists, verifies, and extracts encrypted archives with authenticated
metadata, zstd compression, safe extraction defaults, and optional multi-volume
recovery.
Install
From Homebrew:
From crates.io:
The CLI requires Rust 1.85 or newer when installing from source.
Quick Start
Create a raw key and archive a directory:
Inspect and verify the archive:
Create a signed v41 RootAuth archive:
The CLI composes tzap-core with tzap-plugin-signing for Ed25519 RootAuth
signing. Library users can choose tzap-core for archive workflows or compose
it with tzap-plugin-signing for signed RootAuth workflows.
Extract files safely into a destination directory:
Passphrase mode is available for scripted workflows:
| \
Multi-Volume Recovery
Safety
tzap extract applies safe path validation and overwrite protection;
--overwrite enables explicit replacement. Keep passphrases and raw keyfiles
separate from archive data; raw-key archives require the original 32-byte key.
More Information
- Repository: https://github.com/frankmanzhu/tzap
- CLI reference: https://github.com/frankmanzhu/tzap/blob/main/public-docs/tzap-cli-reference.md
- Format specification: https://github.com/frankmanzhu/tzap/blob/main/specs/tzap-format-revisedv41.md
- Library crate: https://crates.io/crates/tzap-core
- Signing plugin crate: https://crates.io/crates/tzap-plugin-signing