diff --git a/internal/sops/keyservice/server.go b/internal/sops/keyservice/server.go index 5b6e48a1..4ffe0ed1 100644 --- a/internal/sops/keyservice/server.go +++ b/internal/sops/keyservice/server.go @@ -110,7 +110,7 @@ func (ks Server) Encrypt(ctx context.Context, Ciphertext: ciphertext, } default: - return ks.Encrypt(ctx, req) + return ks.DefaultServer.Encrypt(ctx, req) } if ks.Prompt { err := ks.prompt(key, "encrypt")