File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ usage() {
1212 echo " $0 sign <private_key> <file>"
1313 echo " $0 verify <allowed_signers_file> <file> [signature_file]"
1414 echo " where"
15- echo " - <private_key>: Path to the SSH private key (if a KEY_passphrase exists it can be"
15+ echo " - <private_key>: Path to the SSH private key (if a passphrase exists it can be"
1616 echo " provided via the KEY_PASSPHRASE environment variable)"
1717 echo " - <file>: Path to the file to be signed/verified"
1818 echo " - <allowed_signers_file>: Path to the allowed signers file"
@@ -38,7 +38,7 @@ FILE_TO_SIGN="$3"
3838# Ensure the file exists
3939if [ ! -f " $FILE_TO_SIGN " ]; then
4040 echo " Error: File '$FILE_TO_SIGN ' not found."
41- exit 1
41+ exit $FILE_PROBLEM
4242fi
4343
4444# Function to securely convert the private key to OpenSSH format
You can’t perform that action at this time.
0 commit comments