maxgoedjen /secretive
Protect your SSH keys with your Mac's Secure Enclave
★ 9,414⑂ 240👁 53⑃ 391● 446▤ 27
+8
Daily
9,414
stars
240
forks
53
watchers
391
prs
446
issues
27
releases
README
Secretive !Release
Secretive is an app for protecting and managing SSH keys with the Secure Enclave.
Why?
Safer Storage
The most common setup for SSH keys is just keeping them on disk, guarded by proper permissions. This is fine in most cases, but it's not super hard for malicious users or malware to copy your private key. If you protect your keys with the Secure Enclave, it's impossible to export them, by design.
Access Control
If your Mac has a Secure Enclave, it also has support for strong access controls like Touch ID, or authentication with Apple Watch. You can configure your keys so that they require Touch ID (or Watch) authentication before they're accessed.
Notifications
Secretive also notifies you whenever your keys are accessed, so you're never caught off guard.
Support for Smart Cards Too!
For Macs without Secure Enclaves, you can configure a Smart Card (such as a YubiKey) and use it for signing as well.
Getting Started
Installation
Direct Download
You can download the latest release over on the Releases Page
Using Homebrew
brew install secretive
FAQ
There's a FAQ here.
Auditable Build Process
Builds are produced by GitHub Actions with an auditable build and release generation process. Starting with Secretive 3.0, builds are attested using GitHub Artifact Attestation. Attestations are viewable in the build log for a build, and also on the main attestation page.
A Note Around Code Signing and Keychains
While Secretive uses the Secure Enclave to protect keys, it still relies on Keychain APIs to store and access them. Keychain restricts reads of keys to the app (and specifically, the bundle ID) that created them. If you build Secretive from source, make sure you are consistent in which bundle ID you use so that the Keychain is able to locate your keys.
Backups and Transfers to New Machines
Because secrets in the Secure Enclave are not exportable, they are not able to be backed up, and you will not be able to transfer them to a new machine. If you get a new Mac, just create a new set of secrets specific to that Mac.
Security
Secretive's security policy is detailed in SECURITY.md. To report security issues, please use GitHub's private reporting feature.
Acknowledgements
sekey
Secretive was inspired by the sekey project.
Localization
Secretive is localized to many languages by a generous team of volunteers. To learn more, see LOCALIZING.md. Secretive's localization workflow is generously provided by Crowdin.Top issues
#372Leave unlocked is not working for me. Constant requests for signing when using Visual Studio Code35 comments · 2022-04-07#378Secrets disappeared and can't create new ones34 comments · 2022-04-18#383Attestation?25 comments · 2022-06-03#412Remove password option and require biometric auth22 comments · 2022-10-05#543SecretAgent deadlocked after Sonoma 14.4.1 upgrade20 comments · 2024-04-18#532Agent refused operation when launching multiple requests16 comments · 2024-02-19#603New PasskeySecretKit Package for Passkey-Derived SSH Keys15 comments · 2025-08-14#839macOS 27 blocks access to /Users/*/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/ by default14 comments · 2026-09-21
Discussions
#860iOS Companion app0 comments · 2026-11-01#836Improvements for the approval workflow and authorization caching1 comments · 2026-09-15#813Using Secretive with GitHub Codespaces0 comments · 2026-07-02#786Integrate Apple secrets handling more deeply into this product?0 comments · 2026-02-02#729Support for signed SSH keys1 comments · 2025-09-24#728Avoiding too many issues and a long backlog0 comments · 2025-09-24#702nightly build has a 'Key Type' option for new keys1 comments · 2025-09-14#573Adding iCloud Keychain Support to Secretive0 comments · 2024-11-18
Latest release
4.0.0 v4.0.0 2026-09-21Secretive 4 is here with big improvements in stacked requests, request usage attribution, first class SSH Certificate support, and support for macOS 27. Features - macOS 27 Support - OpenSSH protocol cleanup (775) - LAContext persistence for smart cards (760) - SSH Certificate UI (798, 802) - OpenSSH extensions support (823) - Support for looking up hosts from known_hosts file (826) - Secure settings storage (831) - Pending requests UI (821) Fixes - Fix macOS 27 UI issues (814, 774) - Fix context menu display on macOS 14 (774) - Various CI and config fixes (767, 773, 807, 78