News for hackers. Stuff that matters.
Re:Secretive: Store SSH Keys in the Secure Enclave by MadQ on Friday March 10, 2023 @05:12AM (#35092612)
This is possible with PGP Keys stored on the Yubikey and used as the SSH keys. Check the Repo of drduh as a starting point

https://github.com/drduh/YubiKey-Guide#ssh

Re:Secretive: Store SSH Keys in the Secure Enclave by nixpulvis on Friday March 10, 2023 @07:45AM (#35093681)
Correct me if I'm wrong or missing something, but doesn't the use of SSH resident keys still require a file to be present on the client before it can authenticate? I'm prompted to use the SK to prove my 'presence' after the standard identity secret keyfile is checked.

To be clear, my goal is to simply plug in my SK to a fresh OS install and "magically" be able to SSH into my servers.

Re:Secretive: Store SSH Keys in the Secure Enclave by trevorthejag on Friday March 10, 2023 @08:09AM (#35093885)
Maybe not “magic” but you can get very close to that with “Discoverable Credentials” on a FIDO2 key.

The process for using a discoverable key on a new machine re-imports the relevant public key and private key handle to the new machine when you “ssh-keygen -K”. Its roughly equivalent to copying key material around with a flash drive, but without the need to remember two physical items.

Re:Secretive: Store SSH Keys in the Secure Enclave by acdha on Friday March 10, 2023 @07:56AM (#35093768)
That’s how it works for me. I generated a new key on the device, installed the public key where appropriate, and tap to authenticate.

https://support.apple.com/en-us/HT208372

https://playbooks.idmanagement.gov/piv/engineer/ssh/