firmas #7

Open
fauno wants to merge 9 commits from firmas into master
Showing only changes of commit aca3d0fba1 - Show all commits

View file

@ -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"
}