Compare commits

..

3 Commits

2 changed files with 28 additions and 6 deletions

View File

@ -399,9 +399,8 @@ alias cwho="who -H -w -u"
#alias inxi-install-root="cd /usr/local/bin;\wget -Nc https://github.com/smxi/inxi/raw/master/inxi;chmod +x inxi;./inxi -U;cd"
#alias inxi-update="inxi -U"
# FINEID
#alias ssh-add-fineid="ssh-add -s $(find /usr/*lib -name 'libcryptoki.so')"
#alias ssh-add-sc-pub="\ssh-add -L"
# FINEID to ssh-agent
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
# Homebrew
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
@ -525,6 +524,9 @@ then
alias alsactl="\alsactl -f ~/.config/asound.state"
fi
# More simple SSH file signing, ~/.ssh/signingkey.pub should be a symlink
alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file"
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases
@ -785,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

View File

@ -376,9 +376,8 @@ alias cwho="who -H -w -u"
#alias inxi-install-root="cd /usr/local/bin;\wget -Nc https://github.com/smxi/inxi/raw/master/inxi;chmod +x inxi;./inxi -U;cd"
#alias inxi-update="inxi -U"
# FINEID
#alias ssh-add-fineid="ssh-add -s $(find /usr/*lib -name 'libcryptoki.so')"
#alias ssh-add-sc-pub="ssh-add -L"
# FINEID to ssh-agent
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
# Homebrew
#alias homebrew-install="cd ~;git clone https://github.com/Homebrew/homebrew.git --depth=1;mkdir -p .local;rsync -aP homebrew/* .local;rsync -aP homebrew/.* .local;rm -rf homebrew"
@ -502,6 +501,9 @@ then
alias alsactl="\alsactl -f ~/.config/asound.state"
fi
# More simple SSH file signing, ~/.ssh/signingkey.pub should be a symlink
alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file"
# Allow custom aliases to be put in .aliases or .zsh_aliases .
# .aliases
@ -764,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