b18200884b129f4cf3c6c111c8f5cf09d845810f
3 # Date: 2020-05-24T00:47Z
5 # Author: Steven Baltakatei Sandoval
7 # Description: A bash script that creates a gpg signature using
10 # Usage: bksign [ file ]
14 # Check that provided argument is a file.
15 if ! [ -f "$FILEIN" ]; then
16 echo "ERROR: Invalid filename provided." 2>&1;
20 # Determine output file name
22 gpg
--armor --verbose --output "$FILEOUT" --detach-sign "$FILEIN"