add function to remove token

This commit is contained in:
Jakobus Schürz 2020-08-13 22:29:39 +02:00
parent fedf3db1a3
commit 165ca1a8e3

View file

@ -649,6 +649,10 @@ reachable () {
}
utoken () {
[ -z "${PKCS11_MODULE+x}" ] && { PKCS11_MODULE=/usr/lib64/p11-kit-proxy.so; export PKCS11_MODULE; ssh-add -e $PKCS11_MODULE; }
}
token () {
[ -z "${PKCS11_MODULE+x}" ] && { PKCS11_MODULE=/usr/lib64/p11-kit-proxy.so; export PKCS11_MODULE; }