Releases: Ghifari160/medhash-tools
v0.6.1
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
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 togen
andupgrade
. - Added
--force
parameter toupgrade
. - Added preset parameters to
gen
,chk
, andupgrade
.
gen
andupgrade
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
- Added hash algorithm parameters to
gen
,chk
, andupgrade
.
gen
andupgrade
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
- Added
version
command. - Added colored status labels.
It works on Windows too!
Changed
medhash-*
commands are now subcommands.
Pass them as the first parameter tomedhash
.
For example,medhash-gen
is nowmedhash 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.
Usemedia.hash.sha3
instead.
For compatibility, MedHash Tools populate SHA3 hashes into both fields.
chk
prefersmedia.hash.sha3
tomedia.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
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
andmedhash-chk
will now generate and verify SHA3-256 hash for every Media.medhash-gen
now credits itself for Manifest generation in thegenerator
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 rerunmedhash-gen
for upgrade. Non-compatible Manifests will prevent the tool from working.- Fixed a bug where
medhash-gen
andmedhash-chk
would display paths with/
separator on Windows. - Optimized
medhash-gen
andmedhash-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
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
andmedhash-chk
. Both tools will no longer print target and working directory paths without the verbose flag. - Added version flag to
medhash-gen
andmedhash-chk
. Both tools will print the toolset version and exit with the flag set. - Added manifest flag to
medhash-gen
andmedhash-chk
. Inmedhash-gen
, the Manifest will be stored in the specified path. Inmedhash-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
andmedhash-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 tomedhash
internal library. The originaldata
library is deprecated and will be removed in the future. - Optimized
medhash-gen
andmedhash-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
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
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