Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -127,7 +127,7 @@ normalize_ssh_key_file() {
|
||||
### Validate with ssh-keygen if available.
|
||||
if command -v ssh-keygen >/dev/null 2>&1; then
|
||||
|
||||
### Always: fingerprint check (works for private and public keys)
|
||||
### Always: fingerprint check (works for private and public keys).
|
||||
if ! ssh-keygen -lf "${var_key_file}" >/dev/null; then
|
||||
|
||||
printf "\e[91m++++ ++++ ++++ ++++ ++++ ++++ ++ ❌ Failed check ssh-keygen -lf: [%s] \e[0m\n" "${var_key_file}"
|
||||
|
||||
Reference in New Issue
Block a user