Skip to content

Releases: dd86k/ddgst

3.0

31 Mar 01:41
Compare
Choose a tag to compare

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.

2.0.2

25 Dec 19:16
Compare
Choose a tag to compare

Oh yeah, merry holy days or something! Have some bugfixes!

Changelog

  • Improved: Added tag2 names for GNU/BSD tag names (others are from OpenSSL).
  • Improved: [check] Add total count to summary unconditionally.
  • Fixed: [autocheck] Detecting hashes is now done with the full file path.

2.0.1

11 Nov 01:28
Compare
Choose a tag to compare

Fixes!

Changelog

  • Fixed empty files made no hashes in file mode
  • Fixed empty files made no hashes in mmfile mode
  • Fixed check list files with * prefix was thought part of the filename

2.0

31 Oct 19:50
Compare
Choose a tag to compare
2.0

Oh hey, my first tool passing another major version.

Major points:

  • Change license from Unlicense to CC0 which deals better in countries where copyright laws are stronger
  • New CLI syntax which parses a little faster and is more consistent: ddh --md5 file
  • The manpage have been mostly re-written to use less groff extensions

Changelog

  • Added: Support for --seed with murmurhash hashes
  • Added: Support for --key with blake2 hashes
  • Added: Support for murmurhash3-128/32
  • Improved: New names for murmurhash: murmur3a (32), murmur3c (128/32), and murmur3f (128/64)
  • Improved: Remove git-like actions (ddh md5) for CLI switches (ddh --md5)
  • Improved: Revamp all error return codes
  • Improved: Add row delimiter for readability, change switch from --list to --hashes
  • Fixed: Using --against with --sri
  • Fixed: Make OK/FAILED output text consistence with --against and --check options
  • Fixed: No file input with --compare resulted in stdin mode

1.4

27 Apr 00:19
Compare
Choose a tag to compare
1.4

This release adds two features I've been using on my own.

--compare allows me to directly compare two or more files (including directories), because there has been moments when I questioned myself if I really properly copied a file to a new location.

--against allows me to directly check a hash instead of a check/sum file, because some websites do not provide sum files (e.g., .sha512).

Changelog

  • Added: Support for MurMurHash3-32 (mmhash3-32) and MurMurHash3-128 (mmhash3-128).
  • Added: -C/--compare to compare all files to each other.
  • Added: -A/--against to compare all files to string hash.
    • Does not support SRI hashes at the moment.
  • Improved: Internally use secureHash in the case of someone using this program for online projects.
  • Improved: Hash strings are internally lowercased when compared.
  • Improved: The "chunk size" option has been renamed to -b/--buffersize, and has been altered from 64KiB to 4KiB for performance reasons.
  • Improved: If no file inputs are given, stdin mode is assumed.
  • Improved: - no longer means the stdin mode, use --stdin.
  • Improved: While checking sum files, errors were displays. In those cases, warnings are emitted.
  • Fixed: Dangling switches that counted as files regardless usage of --.

1.3

23 Dec 20:59
Compare
Choose a tag to compare
1.3

Huzzah, BLAKE2 support!

Changelog

  • Added: BLAKE2 support, includes BLAKE2b512 and BLAKE2s256.
  • Fixed: Newline in version page, again.
  • Fixed: All tag names to conform with OpenSSL.

Compilation env:

  • linux-gnu-x86_64: Compiled on Ubuntu 20.04
  • linux-musl-x86_64: Compiled on Alpine Linux 3.15

1.2.1

21 Dec 01:07
Compare
Choose a tag to compare

Maintenance release with many little fixes.

Changelog

  • Improved: Help page, error messages, version page.
  • Fixed: SRI hashes not having a newline.
  • Fixed: Wrong column order in list.

1.2

06 Nov 23:54
Compare
Choose a tag to compare
1.2

Despite small, this release features the SRI style hash support (e.g., md5-HSZ86zqNj3XxvjAR7ky/Uw==) and the internal ddh module being rewritten to simply use the Digest OOP wrapper.

ddh 1.1

18 Sep 15:20
Compare
Choose a tag to compare

This release adds buffer management and BSD-style checksums.

I've remade the CLI internals and now error messages are more consistent.

DDH 1.0.0

22 Jan 23:28
Compare
Choose a tag to compare

Stable!