From 343a98560b5ecd34e0a9a4393e5501b570fd819d Mon Sep 17 00:00:00 2001 From: Michael OBrien Date: Wed, 5 Apr 2023 15:34:57 -0700 Subject: [PATCH] Check for both default rsa and ed25519 ssh public key files --- plugins/git/internal-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/internal-functions b/plugins/git/internal-functions index f54d10ff0..b896a119a 100755 --- a/plugins/git/internal-functions +++ b/plugins/git/internal-functions @@ -257,7 +257,7 @@ cmd-git-public-key() { local cmd="git:public-key" [[ "$1" == "$cmd" ]] && shift 1 - if [[ ! -f "$DOKKU_ROOT/.ssh/id_rsa.pub" ]]; then + if [[ ! -f "$DOKKU_ROOT/.ssh/id_rsa.pub" ]] && [[ ! -f "$DOKKU_ROOT/.ssh/id_ed25519.pub" ]] ; then fn-git-auth-error fi