From ec0868baf633f1756e781acb41333acefb42fead Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 22 Feb 2025 01:42:01 -0500 Subject: [PATCH] feat: delegate authorized_keys file validation to sshcommand Rather than try and validate this out of band, depend on sshcommand for performing any such checks on the file. There isn't any need for dokku to duplicate this when listing the contents of the file. --- plugins/ssh-keys/subcommands/list | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/ssh-keys/subcommands/list b/plugins/ssh-keys/subcommands/list index 2a7ad3085..2dec55961 100755 --- a/plugins/ssh-keys/subcommands/list +++ b/plugins/ssh-keys/subcommands/list @@ -23,7 +23,6 @@ cmd-ssh-keys-list() { FORMAT="" fi - verify_ssh_key_file if [[ "$FORMAT" == "json" ]]; then if [[ -n "$NAME" ]]; then sshcommand list dokku "" "$FORMAT" | jq -cM "[.[] | select(.name == \"$NAME\")]"