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]
   Computes hashes and audit a set of files

 Available options:
   -h,--help                Show this help text
   -v,--version             Show version information
   -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
   -e,--excl-regex REGEX    Exclude files or directories based on regex
   -f,--incl-mod-from DATE  Include files modified from yyyy-mm-ddThh:mm:ssZ
   -t,--incl-mod-upto DATE  Include files modified up to yyyy-mm-ddThh:mm:ssZ

 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 -e "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 -e "tmp|\.log"

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


[Skip to Readme]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.0.1
Change log CHANGELOG.md
Dependencies attoparsec (>=0.13 && <0.14), base (>=4 && <5), base16-bytestring (>=0.1 && <0.2), bytestring (>=0.10 && <0.11), cereal (>=0.4 && <0.5), conduit (>=1.2 && <1.3), conduit-combinators (>=1.0 && <1.1), conduit-extra (>=1.1 && <1.2), containers (>=0.5 && <0.6), crypto-api (>=0.13 && <0.14), crypto-conduit (>=0.5 && <0.6), cryptohash (>=0.11 && <0.12), cryptohash-cryptoapi (>=0.1 && <0.2), directory (>=1.2 && <1.3), filepath (>=1.4 && <1.5), optparse-applicative (>=0.11 && <0.12), regex-tdfa (>=1.2 && <1.3), regex-tdfa-text (>=1.0 && <1.1), resourcet (>=1.1 && <1.2), text (>=1.2 && <1.3), time (>=1.5 && <1.6), transformers (>=0.3 && <0.4), unix-compat (>=0.4 && <0.5) [details]
License BSD-3-Clause
Copyright © 2015 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 https://github.com/maurotrb/haskdeep.git
head: git clone https://maurotrb@bitbucket.org/maurotrb/haskdeep.git
Uploaded by MauroTaraborelli at 2015-06-01T19:04:27Z
Distributions NixOS:0.2.0.1
Executables haskdeep
Downloads 2413 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-06-03 [all 7 reports]

Readme for haskdeep-0.2.0.1

[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]
  Computes hashes and audit a set of files

Available options:
  -h,--help                Show this help text
  -v,--version             Show version information
  -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
  -e,--excl-regex REGEX    Exclude files or directories based on regex
  -f,--incl-mod-from DATE  Include files modified from yyyy-mm-ddThh:mm:ssZ
  -t,--incl-mod-upto DATE  Include files modified up to yyyy-mm-ddThh:mm:ssZ

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 -e "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 -e "tmp|\.log"
    

Licensing

Please see the file called LICENSE.

Reference

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

Contacts

For question and comments: