mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
parent
f1fc93414a
commit
3e41121fa6
@ -787,6 +787,15 @@ myip6 () {
|
||||
fi
|
||||
}
|
||||
|
||||
# Easier verifying of SSH signed files: ssh-verify-file whatever@mikaela.info file.txt
|
||||
# It's assumed that signature of file.txt is called as file.txt.sig
|
||||
sshAllowedSigners=$HOME/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers
|
||||
ssh-verify-file () {
|
||||
echo "$1 ${2:?Usage: ssh-verify-file <email> <file-to-verify>}" > /dev/null
|
||||
ssh-keygen -Y verify -f $sshAllowedSigners -I $1 -n file -s $2.sig < $2
|
||||
}
|
||||
|
||||
|
||||
# Source files for miscannellious modifications.
|
||||
|
||||
# acme.sh
|
||||
|
9
rc/zshrc
9
rc/zshrc
@ -766,6 +766,15 @@ myip6 () {
|
||||
fi
|
||||
}
|
||||
|
||||
# Easier verifying of SSH signed files: ssh-verify-file whatever@mikaela.info file.txt
|
||||
# It's assumed that signature of file.txt is called as file.txt.sig
|
||||
sshAllowedSigners=$HOME/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers
|
||||
ssh-verify-file () {
|
||||
echo "$1 ${2:?Usage: ssh-verify-file <email> <file-to-verify>}" > /dev/null
|
||||
ssh-keygen -Y verify -f $sshAllowedSigners -I $1 -n file -s $2.sig < $2
|
||||
}
|
||||
|
||||
|
||||
# Source files for miscannellious modifications.
|
||||
|
||||
# acme.sh
|
||||
|
Loading…
Reference in New Issue
Block a user