zffanalyze
is a command line utility to analyze zff images.
sudo snap install zffanalyze
$ cargo install zffanalyze
First, you need to install rust and cargo to build or install zffanalyze
.
After that you still need the gcc, which you can install as follows (depends on the distribution):
$ sudo apt-get install gcc libacl1-dev
$ sudo dnf install gcc libacl-devel
Then you can easily build this tool yourself by using cargo:
[/home/ph0llux/projects/zffanalyze] $ cargo build --release
To show the metadata of the given zff file, execute:
zffanalyze -i <YOUR_ZFF_IMAGE.z01>
If you want to perform an integrity check, you can simply execute:
zffanalyze -i <YOUR_ZFF_IMAGE.z01> -c
If you want to determine the authenticity of the data with an existing public key, then execute:
zffanalyze -i <YOUR_ZFF_IMAGE.z01> -k "c9IvuVj4lnGVSXR5Azx8SAyqQBpeHMKpB/4v8/Cj4Ew="
zffanalyze
is open source and GPLv3 licensed.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.