An inline run-time file integrity checker
Project description
PLEASE READ THE ENTIRE README
#Navigate to the directory/folder that the file(s) are located in. The files might be the source file, the encryption key file, the hash file, or any combination of these files.
cd /PATH/TO/YOUR/WORKING-DIRECTORY
#PIP install the required dependencies once in the working directory
PIP install cryptography
PIP install Verypy
#Specify the file being tested for changes, a hash file for the hash to be placed, and an encryption key. (Either provide a Fernet encryption key file or let the program generate one for you if this is being ran for the first time. The key.key file should be placed somewhere safe and only provided upon run-time!)
python Verypy.py sample.txt hash.txt key.key
#If this is the first time running Verypy, the current directory may look like this. In this case, the key.key and hash.txt will be generate for you. The key.key will contain the encryption key that is used to encrypt/decrypt the hash.txt file. The hash.txt file will contain the new hash digest of the sample.txt file, which will then be encrypted.
#If the key and hash are being generated for the first time, line 13 will need to be ran again to run the actual script to decrypt the hash.txt file so that it can be read from and then re-encrypted.
python Verypy.py sample.txt hash.txt key.key
initial setup sample
Working-Directory/
---sample.txt
If the intial setup of has already been completed and the hash.txt and key.key files have already been generated or provided, line 13 will be the only command that needs to be ran from the command line for every subsequent use.
sample after running line 10
Working-Directory/
---sample.txt
---key.key
---hash.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
VeryPy-1.0.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
VeryPy-1.0.2-py3-none-any.whl
(3.9 kB
view hashes)