This PR adds an option in the GUI to calculate the SHA-1 hash of any file, and adds a -1 flag to the sha, shaget, and cp -h scripting commands to use SHA-1 instead of the default SHA-256. It also allows for characters '0' through '5' to be used as flags for scripting commands, and fixes a bug in the scripting engine where err_str would not be set if an invalid character was passed as a flag.
This PR adds an option in the GUI to calculate the SHA-1 hash of any file, and adds a
-1
flag to thesha
,shaget
, andcp -h
scripting commands to use SHA-1 instead of the default SHA-256. It also allows for characters'0'
through'5'
to be used as flags for scripting commands, and fixes a bug in the scripting engine whereerr_str
would not be set if an invalid character was passed as a flag.