News for hackers. Stuff that matters.
Re:Using a Yubikey as smartcard for SSH public key authentic... by akerl_ on Friday March 08, 2019 @08:34PM (#19343917)
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
  }

There are no comments on this comment yet.