Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximedgr/integrity_verification
Simple application to verify the intergity of a file.
https://github.com/maximedgr/integrity_verification
Last synced: 8 days ago
JSON representation
Simple application to verify the intergity of a file.
- Host: GitHub
- URL: https://github.com/maximedgr/integrity_verification
- Owner: maximedgr
- Created: 2022-11-18T14:32:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T15:39:30.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T05:22:39.182Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Verify checksum of a file
This project allows you to generate md5 hash of a file and compare it.# Configuration
Clone this repo :
```
git clone
```Enable script execution :
```
chmod u+x verify_file.sh
chmod u+x generate_hash.sh
```# Example
1. Generate hash
Imagine that you have a "latest_script_version.txt" file and you want to generate its hash before deploying or sharing it.
```
./generate_hash.sh
```
Copy and save the returned hash.2. Compare hashes
Know imagine that you recover from a third party (colleague, drive...) your theoretically unchanged file. Before going any further, you can check that indeed nothing has been changed by using the second script: compare a file and a given hash.
```
./verify_file.sh
```