{
  "id": 15730841,
  "title": "Setting up SSH keys on macOS with Touch ID",
  "url": "https://urgent.news/2026/10/20/setting-up-ssh-keys-on-macos-with-touch-id",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-20T10:23:58.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://nmattia.com/posts/2026-10-19-setting-up-ssh-keys-touch-id/"
  },
  "original_language": "en",
  "account": "This post demonstrates a straightforward and secure method for creating SSH keys on macOS, integrating Touch ID authentication, and configuring the key for GitHub usage. Apple's Secure Enclave offers a robust solution that enhances security during SSH authentication, particularly for services like GitHub. The Secure Enclave provides a tamper-proof environment for identity storage, leveraging Touch ID to ensure access is strictly biometrically verified. By following a simple three-step process—creating a secure identity, configuring SSH to utilize it, and adding the identity to GitHub—we can establish a more secure SSH setup. The Secure Enclave's identities are managed through the sc_auth command, leveraging CryptoTokenKit (CTK) identities, which store private keys unextractably within the Secure Enclave. This setup ensures that even if a Mac fails or is compromised, the Secure Enclave identity remains inaccessible, emphasizing the importance of having a new identity created when necessary. The integration with SSH is facilitated by the ssh-keychain.dylib library, acting as a bridge between the Secure Enclave identities and the SSH agent, allowing for fingerprint-based authentication without the need to export or expose private keys.",
  "summary": null,
  "key_points": [
    "macOS Secure Enclave enhances SSH security with Touch ID.",
    "Three-step process: create identity, configure SSH, add to GitHub.",
    "Secure Enclave identities inaccessible if Mac is compromised."
  ],
  "editors_take": "Leveraging the Secure Enclave for SSH authentication shifts identity management from vulnerable software files to tamper-proof hardware, ensuring private keys remain unextractable even if a device is compromised.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}