Touch ID 加密本地开发密钥
推荐指数 56.0 NO. 007 · 2026.08.17
发布2026/08/16Score51Comments71
为什么值得看
jit 将 .env、AWS 凭证等明文密钥移入本地加密保险箱,通过 Touch ID 按需解密注入内存,工具链无感兼容。AI 代理和恶意脚本泛滥的当下,这是开发机凭证防护的务实方案。
编辑判断
开发机凭证泄露的痛点长期被忽视,现有方案要么是企业级笨重工具(HashiCorp Vault、1Password Secrets Automation),要么是手动操作的高摩擦工作流。jit 的巧思在于不做基础设施改造,直接劫持文件读写路径,让现有工具零迁移成本。
与 1Password CLI 的 biometric unlock 相比,jit 胜在开源可审计、完全本地离线、且针对进程级细粒度授权。但 macOS-only 和 Apple Silicon 限制意味着 Linux 服务器开发和 CI/CD 场景暂时无法覆盖。
最该试的人群:本地跑 Claude Code/Cursor 等 AI 编码工具、且公司代码能接触生产密钥的工程师。这些 AI 代理往往带着你的全量 shell 权限运行,jit 的 per-process 授权恰好卡住这个攻击面。
社区反馈
意见分歧 61 条评论
核心争论:安全工具自身安装方式是否安全,以及生物识别加密能否真正防御AI代理威胁
相关内容
Optic ID、Face ID 和Touch ID 的用途 安全隔離區內產生和使用可由Touch ID保護的ECC密鑰,授權後密鑰操作均在安全隔離區內完成。 SecretKit — 免費完全離線的macOS API密鑰管理器 採用AES-256加密和Touch ID保護,提供放鬆模式與標準模式兩種認證方式管理API密鑰。 密碼鑰匙(Passkeys,WebAuthn) 平台認證器綁定設備,通過Touch ID/Face ID授權;macOS/iOS的iCloud鑰匙串即為典型實現。 Android 和 Chrome 支持通行密鑰 macOS上可通過Touch ID使用通行密鑰登錄Chrome,實現生物識別認證。
Interesting idea! How do you achieve it? Some kind of file system driver that recognises the calling process?
If only there was a Markdown file in the repo, that explains it. It could have a URL, say, https://github.com/jitpass/jit/blob/main/docs%2Fgetting-star...
Please avoid the snark. I read the readme in full, I think that's an appropriate level of effort. Your link also still doesn't answer it, though it hints: 'A migrated .env is a live mount (a named pipe), not a plain file'. So is that a file system driver, or...? Even https://github.com