Skip to content
Compare
Choose a tag to compare
@dd86k dd86k released this 31 Mar 01:41
· 2 commits to master since this release

This release features the fact that this utility has been rewritten from scratch to support multithreading!

Currently, only for the default operation mode supports multithreading, and it's only for glob pattern operations.

Enjoy!

Changelog:

  • Add -j|--parallel for specifying a number of threads for glob pattern entries.
    • So far, this only affects the default operation.
    • Future versions could have multithread support for check lists, etc.
  • Add -H as alias to --hashes.
  • Add -a as alias to --autocheck.
  • Add --sha3 (SHA-3-256), --rmd160 (RIPEMD-160), and --b2 (BLAKE2b512) as aliases.
  • Improve --args:
    • Renamed --arg to --args to reflect the argument better, since it is plural.
    • The argument is no longer tied as an argument but a new mode.
    • Takes all entries as input: ddgst --args --sha3 "1 2" 3 hashes text "1 23".
  • Improve -B|--buffersize:
    • The size suffix is now optional (for Bytes).
    • It is compatible with benchmark mode.
  • Improve --autocheck:
    • Both GNU and BSD styles (line format) are checked.
    • Both GNU and BSD tag names are checked.
  • Improve --against:
    • Base64 and SRI style hashes are accepted. Fallbacks to hex.
  • Improve: Hash comparisons.
    • Hashes are compared as byte arrays. Previously, it was compared as a hex string in most cases.
  • Increase default buffer size from 16 KiB to 1 MiB.
  • Removed options:
    • -f|--file and -m|--mmfile: MmFile support removed. Not useful.
    • -b|--binary and -t|--text: All files are opened as binary.
      • I know no C runtimes that convert newlines on reads.
    • --follow: It already follows symbolic links by default.
    • --stdin: Use the - entry type. No entry method still works.
    • --shallow: Default option.