3 ms·
As a heads up, you shouldn't need to copy the opensc-pkcs11 library, you can instead launch ssh-agent with the -P flag to whitelist the library path. I have the
by akerl_ 8y ago
As a heads up, you shouldn't need to copy the opensc-pkcs11 library, you can instead launch ssh-agent with the -P flag to whitelist the library path. I have the following as an alias:
yy () {
opensc_path="$(readlink -f $(brew --prefix opensc))/lib/opensc-pkcs11.so"
eval $(ssh-agent -P $opensc_path)
ssh-add -s $opensc_path
}