From aca3d0fba1ed9b4785770d6501dffeb578dac79a Mon Sep 17 00:00:00 2001 From: f Date: Mon, 14 Mar 2022 16:23:45 -0300 Subject: [PATCH] usar la llave privada --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 4f40a85..809fc40 100644 --- a/functions +++ b/functions @@ -21,7 +21,7 @@ sign_file () { local _file="$1" test ! -f "$_file" && return 1 - test -f "$_file.sig" || ssh-keygen -Y sign -f ~/.ssh/id_ed25519 -n file "$_file" 2>&1 >/dev/null + test -f "$_file.sig" || ssh-keygen -Y sign -f "$private_key" -n file "$_file" 2>&1 >/dev/null cat "${_file}.sig" | grep -v SIGNATURE | tr -d "\n" }