I deleted all my SSH keys
Web page · https://blog.infected.systems/posts/2026-11-03-i-deleted-all-my-ssh-keys
First seen by Oriel on .
AI summary
The author replaces unprotected on-disk SSH keys with credentials secured by YubiKey, TPM, and Apple Secure Enclave hardware across interactive and unattended workflows.
- YubiKey 5 and newer can hold resident ed25519-sk keys natively through OpenSSH, with physical touch required by default and optional no-touch-required enrollment.
- ssh-tpm-agent creates device-bound credentials whose private material remains encrypted on disk and is decrypted by the TPM, but it does not bind unsealing to PCR values.
- macOS Sequoia can create non-exportable p-256-ne SSH identities in Apple Secure Enclave, require TouchID, and expose them through /usr/lib/ssh-keychain.dylib.
- Unattended configurations remove presence or PIN checks, preventing key exfiltration while still allowing a compromised host to use the connected hardware-backed credential.
- Hardware loss, malfunction, or replacement can make credentials unusable, so the author recommends registering multiple keys for redundancy.
#ssh #hardware security #yubikey #secure enclave
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 283, latest observation ; +271 over observed period since
- Lobsters: 63, latest observation ; +61 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 152, latest observation ; +147 over observed period since
- Lobsters: 24, latest observation ; +24 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50382401 | https://blog.infected.systems/posts/2026-11-03-i-deleted-all-my-ssh-keys/ Read discussion |
| Lobsters | sdtcvv | https://blog.infected.systems/posts/2026-11-03-i-deleted-all-my-ssh-keys/ Read discussion |