From ff5ec25bbfd771c75e818e6c3e1f2002a3da0b90 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Wed, 28 Jan 2026 06:20:59 -0700 Subject: [PATCH] 1769606459 --- customscripts/ssh_create_sign_verify | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/customscripts/ssh_create_sign_verify b/customscripts/ssh_create_sign_verify index e9402c6..0bc2ff5 100644 --- a/customscripts/ssh_create_sign_verify +++ b/customscripts/ssh_create_sign_verify @@ -96,7 +96,8 @@ ssh-keygen -Y sign -f "$key_priv_path" -n file "$file_to_sign" # create a local allowed_signers file echo "Creating alllowed_singers file at $allowed_signers_path with $key_pub_path and identity $email" ## format: -echo "$email $(cat \"$key_pub_path\")" > "$allowed_signers_path" # dont append, just one off here +pub_key_text="$(cat $key_pub_path)" # text of public key +echo "$email $pub_key_text" > "$allowed_signers_path" # dont append, just one off here # verify sig echo "Verifying signature of $file_to_sign with signature file $sig_file_path for public key $key_pub_path and identitiy $email"