{bash,zsh}rc#fineid alias: add untested support for Atostek ID

This commit is contained in:
Aminda Suomalainen 2026-01-14 10:24:59 +02:00
parent 53da1bbed3
commit 0368e3a1d1
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 14 additions and 3 deletions

View File

@ -488,8 +488,13 @@ alias cwho="who -H -w -u"
#alias inxi-update="inxi -U"
# FINEID to ssh-agent
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
if [ -f "/usr/lib64/libcryptoki.so" ]; then
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
elif [ -f "/usr/lib64/Atostek-ID-PKCS11.so" ]; then
alias fineid="ssh-add -s /usr/lib64/Atostek-ID-PKCS11.so"
else
alias fineid="echo 'No FINEID library found'"
fi
# OS X
# What is this?
#alias osx-server-caching-interface="serveradmin settings caching:Interface ="

View File

@ -476,7 +476,13 @@ alias cwho="who -H -w -u"
#alias inxi-update="inxi -U"
# FINEID to ssh-agent
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
if [ -f "/usr/lib64/libcryptoki.so" ]; then
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
elif [ -f "/usr/lib64/Atostek-ID-PKCS11.so" ]; then
alias fineid="ssh-add -s /usr/lib64/Atostek-ID-PKCS11.so"
else
alias fineid="echo 'No FINEID library found'"
fi
# OS X
# What is this?