Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imwally/hashma
Hash Match
https://github.com/imwally/hashma
Last synced: 11 days ago
JSON representation
Hash Match
- Host: GitHub
- URL: https://github.com/imwally/hashma
- Owner: imwally
- License: gpl-3.0
- Created: 2015-12-20T04:34:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-23T18:06:22.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T02:49:11.044Z (about 1 month ago)
- Language: Go
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hash Match
hashma is a tiny utility that helps with checking the authenticity of
files downloaded from the internet. The usual routine when downloading
an OS image from the internet is to also download another file that
contains a list of checksums. Running a hashing algorithm against the
image file will return a string of characters, or a checksum, which
should match one of the checksums found in the list.## Usage
hashma expects two arguments, a file to verify and a file that
contains a list of checksums. It will check the MD5, SHA1, SHA256, and
SHA512 hash of the file. If the hash is found in the list of checksums
it will return the hash and file name otherwise nothing.Please note that this utility does not verify the file containing the
checksums. It is your duty to check the authenticity of the file
containing the checksum. Usually this is done via PGP signatures.```
$ hashma debian-live-8.2.0-amd64-gnome-desktop.iso SHA256SUMS
aea5b49206904f3a2a01b31aee185f32fe46324b0f2bacbd259fc74374cb7b62 debian-live-8.2.0-amd64-gnome-desktop.iso
```