haskdeep: Computes and audits file hashes.

[ bsd3, console, cryptography, program, system ] [ Propose Tags ]

A command line application that computes file hashes traversing recursively through a directory structure.

The known hashes can be used to audit the same directory structure or a copy of it.

Execute haskdeep without arguments and it will show you the help text:

user@host:~$ haskdeep

 Usage: haskdeep COMMAND [-c|--computation MODE] [-r|--root DIRNAME] [-k|--known FILENAME] [-i|--ignore RULE]
   Computes hashes and audit a set of files

 Available options:
   -c,--computation MODE    md5 | sha1 | sha256 | skein512 - default md5
   -r,--root DIRNAME        Root directory - default current directory
   -k,--known FILENAME      Known hashes file - default known.haskdeep
   -i,--ignore RULE         Regex to ignore files or directories
   -h,--help                Show this help text

 Available commands:
   compute                  Computes file hashes and saves them to known hashes file
   audit                    Audits files comparing them to known hashes

Default usage:

  1. create known hashes of files contained in a root directory (traversed recursively)

 user@host:~$ haskdeep compute -c md5 -r myimportantfiles/ -k knownhashes.txt -i "tmp|\.log"
  1. verify a copy of the same files comparing them with known hashes

 user@host:~$ haskdeep audit -c md5 -r copyofmyimportantfiles/ -k knownhashes.txt -i "tmp|\.log"

Heavily inspired by hashdeep: http://md5deep.sourceforge.net/


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.0.1
Dependencies attoparsec (>=0.10 && <0.11), attoparsec-conduit (>=0.5 && <0.6), base (>=4.5 && <4.6), bytestring (>=0.9 && <0.10), cereal (>=0.3 && <0.4), conduit (>=0.5 && <0.6), containers (>=0.4 && <0.5), crypto-api (>=0.10 && <0.11), crypto-conduit (>=0.4 && <0.5), cryptohash (>=0.7 && <0.8), filesystem-conduit (>=0.5 && <0.6), optparse-applicative (>=0.4 && <0.5), regex-tdfa (>=1.1 && <1.2), regex-tdfa-text (>=1.0 && <1.1), system-fileio (>=0.3 && <0.4), system-filepath (>=0.4 && <0.5), text (>=0.11 && <0.12) [details]
License BSD-3-Clause
Copyright © 2012 Mauro Taraborelli
Author Mauro Taraborelli
Maintainer maurotaraborelli@gmail.com
Category Console, Cryptography, System
Home page https://github.com/maurotrb/haskdeep
Bug tracker https://github.com/maurotrb/haskdeep/issues
Source repo head: git clone git://github.com/maurotrb/haskdeep.git
Uploaded by MauroTaraborelli at 2012-12-14T14:36:52Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables haskdeep
Downloads 2554 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-22 [all 6 reports]

Readme for haskdeep-0.1.0.0

[back to package description]

HaskDeep

What is it?

Command line tool that computes file hashes traversing recursively through a directory structure. Known hashes are saved to file and they can be used to verify the original files or a copy of them.

Quick start

Execute haskdeep without arguments and it will show you the help text:

user@host:~$ haskdeep

Usage: haskdeep COMMAND [-c|--computation MODE] [-r|--root DIRNAME] [-k|--known FILENAME] [-i|--ignore RULE]
  Computes hashes and audit a set of files

Available options:
  -c,--computation MODE    md5 | sha1 | sha256 | skein512 - default md5
  -r,--root DIRNAME        Root directory - default current directory
  -k,--known FILENAME      Known hashes file - default known.haskdeep
  -i,--ignore RULE         Regex to ignore files or directories
  -h,--help                Show this help text

Available commands:
  compute                  Computes file hashes and saves them to known hashes file
  audit                    Audits files comparing them to known hashes

Default usage:

  1. create known hashes of files contained in a root directory (traversed recursively)

     user@host:~$ haskdeep compute -c md5 -r myimportantfiles/ -k knownhashes.txt -i "tmp|\.log"
    
  2. verify a copy of the same files comparing them with known hashes

     user@host:~$ haskdeep audit -c md5 -r copyofmyimportantfiles/ -k knownhashes.txt -i "tmp|\.log"
    

Licensing

Please see the file called LICENSE.

Reference

Heavily inspired by hashdeep: http://md5deep.sourceforge.net/

Contacts

For question and comments: