Crates.io | websum |
lib.rs | websum |
version | 0.4.1 |
source | src |
created_at | 2024-07-27 23:42:10.143103 |
updated_at | 2024-08-01 00:45:32.942361 |
description | Next-gen integrity checker written in Rust |
homepage | |
repository | |
max_upload_size | |
id | 1317584 |
size | 59,428 |
WebSum is a next-gen integrity checker written in Rust.
It can be used for finding out what an installation image contains or just validating it!
# Arch Linux
yay -S websum
# Other
cargo install websum
The usage is pretty much the same as other tools like sha256sum
$ websum ./installation.iso
Example (Successful):
$ websum ./arch.iso
Processing...
SHA256: 398DCEEA2D04767FBB8B61A9E824F2C8F5EACF62B2CB5006FD63321D978D48BC
This file is a valid archlinux-2024.07.01-x86_64.iso file.
Example (Unsuccessful):
$ websum ./random.iso
Processing...
SHA256: 59AFA864CE54B70CADFFE846A251CB8462E868188154CBB1BABFA92BEBF1C2A0
This file is not found in our archive! It is either invalid or not in our archive.
WebSum firstly gets the sha256 hash of the file that is given as an argument.
Then the result sha256 is used to set a url to the archive
directory in this repository. (if the default server is used)
https://raw.githubusercontent.com/yilmaz08/websum/main/archive/%h (%h is replaced with sha256 hash)
and if the hash has been saved before, it contains the name of the file inside.
Finally, the HTTP response is used to print final response.
The archive can also be used manually by getting the hash with sha256 and visiting the raw file on the browser (or with curl).
WebSum is open source and we welcome any contributions.
You can either improve/fix the code or update hashes from the archive.
We appreciate any contributions, no matter how small!