Skip to content

Releases: Ghifari160/medhash-tools

v0.6.1

31 Aug 02:12
f7a8ba3
Compare
Choose a tag to compare

Binaries

Platform Architecture URL
Linux 386 https://projects.gassets.space/medhash-tools/0.6.1/medhash-linux_386.tar.gz
Linux amd64 https://projects.gassets.space/medhash-tools/0.6.1/medhash-linux_amd64.tar.gz
Linux arm64 https://projects.gassets.space/medhash-tools/0.6.1/medhash-linux_arm64.tar.gz
macOS Universal https://projects.gassets.space/medhash-tools/0.6.1/medhash-macos.tar.gz
macOS amd64 https://projects.gassets.space/medhash-tools/0.6.1/medhash-macos_amd64.tar.gz
macOS arm64 https://projects.gassets.space/medhash-tools/0.6.1/medhash-macos_arm64.tar.gz
Windows amd64 https://projects.gassets.space/medhash-tools/0.6.1/medhash-windows_amd64.tar.gz
Windows x86 https://projects.gassets.space/medhash-tools/0.6.1/medhash-windows_x86.tar.gz

Changelog

Changed

  • Upgraded gopkg.in/yaml.v3 to v3.0.0.

v0.6.0

25 Aug 03:09
b34cabd
Compare
Choose a tag to compare

Binaries

Platform Architecture URL
Linux 386 https://projects.gassets.space/medhash-tools/0.6.0/medhash-linux_386.tar.gz
Linux amd64 https://projects.gassets.space/medhash-tools/0.6.0/medhash-linux_amd64.tar.gz
Linux arm64 https://projects.gassets.space/medhash-tools/0.6.0/medhash-linux_arm64.tar.gz
macOS Universal https://projects.gassets.space/medhash-tools/0.6.0/medhash-macos.tar.gz
macOS amd64 https://projects.gassets.space/medhash-tools/0.6.0/medhash-macos_amd64.tar.gz
macOS arm64 https://projects.gassets.space/medhash-tools/0.6.0/medhash-macos_arm64.tar.gz
Windows amd64 https://projects.gassets.space/medhash-tools/0.6.0/medhash-windows_amd64.tar.gz
Windows x86 https://projects.gassets.space/medhash-tools/0.6.0/medhash-windows_x86.tar.gz

Changelog

Added

  • Added support for multiple target directories.
    Pass each target directory as positional arguments to each tool.
  • Added --ignore parameter to gen and upgrade.
  • Added --force parameter to upgrade.
  • Added preset parameters to gen, chk, and upgrade.
    gen and upgrade will generate hashes using the preset.
    chk will only attempt to verify hashes in the preset.
    Non-existent hashes are ignored.
    • Added --default preset parameter.
    • Added --all preset parameter.
  • Added hash algorithm parameters to gen, chk, and upgrade.
    gen and upgrade will only generate hashes using the specified algorithm.
    chk will only verify hashes of the specified algorithm.
    Non-existent hashes are ignored.
    • Added --xxh3 parameter.
    • Added --sha3 parameter.
    • Added --sha256 parameter.
    • Added --sha1 parameter.
    • Added --md5 parameter.
  • Added version command.
  • Added colored status labels.
    It works on Windows too!

Changed

  • medhash-* commands are now subcommands.
    Pass them as the first parameter to medhash.
    For example, medhash-gen is now medhash gen.
  • Updated MedHash Manifest Specification to v0.5.0.
    upgrade now upgrades Manifest v0.4.0 without --force.
    Manifest v0.5.0 can be regenerated with --force.
  • Default preset now only generates XXH3_64 hash.
    For cryptographic use, specify the appropriate algorithm or use --all.

Deprecated

  • Manifest field media.hash.sha3-256 is now deprecated.
    Use media.hash.sha3 instead.
    For compatibility, MedHash Tools populate SHA3 hashes into both fields.
    chk prefers media.hash.sha3 to media.hash.sha3-256, meaning that it will attempt to verify
    the former before attempting to verify the latter.

Removed

  • Removed -v parameter.
    Previously, this parameter enables verbose mode.

Fixed

  • Fixed #1: invalid memory address when
    files are not found.

Security

  • Upgraded golang.org/x/crypto to v0.11.0.

v0.5.0

29 Dec 06:10
af3fe11
Compare
Choose a tag to compare

Changelog:

  • Manifest Specification has been updated to v0.4.0. v0.3.0 Manifests are compatible and will continue to work with this version of MedHash Tools. However, you will be prompted to rerun medhash-gen to upgrade the Manifest.
  • medhash-gen and medhash-chk will now generate and verify SHA3-256 hash for every Media.
  • medhash-gen now credits itself for Manifest generation in the generator field.
  • medhash-chk now prints the Manifest generator in verbose mode (-v flag).
  • medhash-chk now validates the Manifest version. Compatible Manifests will prompt the user to rerun medhash-gen for upgrade. Non-compatible Manifests will prevent the tool from working.
  • Fixed a bug where medhash-gen and medhash-chk would display paths with / separator on Windows.
  • Optimized medhash-gen and medhash-chk.
  • License of Go standard library and supplementary modules are now included in the binary distribution LICENSE file.

Full Changelog: v0.4.0...v0.5.0

v0.4.0

17 Dec 18:50
2ec7da0
Compare
Choose a tag to compare

Edit December 20, 2021: macOS installer packages has been attached. Going forward, macOS will get an installer package and a tarball archive.

Now in color!

Changelog:

  • Added verbose flag to medhash-gen and medhash-chk. Both tools will no longer print target and working directory paths without the verbose flag.
  • Added version flag to medhash-gen and medhash-chk. Both tools will print the toolset version and exit with the flag set.
  • Added manifest flag to medhash-gen and medhash-chk. In medhash-gen, the Manifest will be stored in the specified path. In medhash-chk, the Manifest will be read from the specified path.
  • Added file flag to medhash-chk. Verify only the specified file.
  • Added status color to medhash-gen and medhash-chk. medhash-gen will color the sanity check status for each Media appropriately. medhash-chk will color the verification status for each Media appropriately.
  • Changed target directory behavior in medhash-gen. Previously, the Manifest will always be stored in the current working directory, with Media paths relative to the current working directory. Now, the Manifest will be stored in either the target directory or the path specified in -manifest. The Media paths will always be relative to the target directory.
  • Rewrote internal library. The data internal library has been rewritten to medhash internal library. The original data library is deprecated and will be removed in the future.
  • Optimized medhash-gen and medhash-chk. Both tools now are now more efficient and behave more similarly to each other. Errors will be printed and the tools will now attempt to recover before exiting.
  • macOS binaries are now universal binaries. They will work in both Intel and M1 Macs.

Full Changelog: v0.3.0...v0.4.0

Optimized media hashing

12 Nov 12:46
d5d9bd5
Compare
Choose a tag to compare

The internal logic of medhash-tools did not use buffers. As a result, hashing large media can consume large amounts of memory (up to triple the media size). This update should fix that issue.

Changelogs:

  • Optimized hash generation with buffered I/O

A better way to manage media hashes

11 Nov 10:37
718609e
Compare
Choose a tag to compare

Manage your media file hashes better with medhash-tools! medhash-tools handles the creation (medhash-gen) and verification (medhash-chk) of media hashes. If you are a user of the legacy medhash-tools from here, you can upgrade your legacy medhash files with medhash-upgrade. See more usage details here

Changelogs:

  • Optimized medhash generation with medhash-gen
  • Optimized medhash verification with medhash-chk
  • Added medhash upgrade tool (medhash-upgrade)
  • Switched medhash format to JSON format