News for hackers. Stuff that matters.
Re:Using a Yubikey to Secure SSH on macOS (Simplified Version) by m3nu on Sunday April 28, 2019 @10:09PM (#19775302)
My notes on setting up a Yubikey to keep private SSH key on it. There were a bunch of existing guides, but non covered everything or had extra steps that aren't necessary.
Re:Using a Yubikey to Secure SSH on macOS (Simplified Version) by krishicks on Wednesday May 01, 2019 @12:52PM (#19799034)
These steps didn't work for me; I failed at creating the self-signed certificate:

  yubico-piv-tool -a verify-pin -a selfsign-certificate -s 9a -S "/CN=SSH key/" --valid-days=3650 -i yubikey.pub.pkcs8 -o cert.pem -v
  trying to connect to reader 'Yubico Yubikey 4 OTP+U2F+CCID'.
  Action 'verify-pin' does not need authentication.
  Action 'selfsign-certificate' does not need authentication.
  Now processing for action 'verify-pin'.
  Enter PIN:
  Successfully verified PIN.
  Now processing for action 'selfsign-certificate'.
  Failed sign command with code 6a80.
  Failed signing certificate.
I haven't yet figured out what 6a80 means. Does this guide assume the Yubikey is in any particular state?