conv.

All stories
TechQuiet 34d · day 35

nmattia's macOS Touch ID SSH guide spreads, sparks key-backup debate

A blog post showing how to turn a Mac's Secure Enclave into a non-exportable SSH key spread from Lobsters to Hacker News and Reddit.

What to know

  • The guide shows a three-command way to create a non-exportable SSH identity in a Mac's Secure Enclave, authenticated via Touch ID, usable for git/GitHub.
  • The post spread from Lobsters to Hacker News and Reddit within a day, with author nmattia personally answering technical questions throughout.
  • Commenters debated the tradeoff at the core of the design: keys that can never be stolen also can never be exported or backed up, pushing some toward Yubikeys, 1Password, or SSH certificate authorities instead.

The dispute Whether Secure Enclave keys' total non-exportability is a security feature to embrace or a practical deal-breaker next to synced alternatives like 1Password. · positions read across 39 posts and comments

many voices

This is a welcome discovery that native macOS tooling can replace third-party SSH-agent apps like Secretive or 1Password.

  • “Cool! I personally use Secretive for this but I had no idea you could do it all with OS-provided tooling.”

    eta · Lobsters ↗
some voices

The inability to export or back up Secure Enclave keys is a real drawback, especially compared to synced solutions like 1Password or recoverable Yubikey setups.

  • “I like the concept, but not being able to export the keys is an unfortunate deal breaker for me.”

    DemonWav · Reddit ↗
some voices

Practical configuration tips (per-host IdentityAgent, SSH_SK_PROVIDER, SSH certificate authorities) make the setup more workable in real multi-machine environments.

  • “To make it a bit less tedious adding back the key after a reboot I export `SSH_SK_PROVIDER=/usr/lib/ssh-keychain.dylib` so that I only need to type `ssh-add -K`”

    msangi · Lobsters ↗

nmattia Blog author / developerarianvp Prior researcher cited in the postApple Maker of macOS Secure Enclave / Touch ID

nmattia's macOS Touch ID SSH guide spreads, sparks key-backup debate
nmattia.com

The record 2 articles and posts · last 30 days

  1. Setting Up SSH Keys on macOS with Touch ID press · HN Frontpage · civilchaos · 33d ago
  2. SSH Keys on macOS with Touch ID post · Hacker News · birdculture · 34d ago · 2▲ · 1 comments

What people are saying 24 voices from 3 sites · best of 39 · verbatim

Still unanswered
  • Does this setup require Touch ID authentication every single time the key is used, or does the system remember authorization for a period?
  • Can the same in-enclave private key be used for GPG commit signing in Git, not just SSH?