maxgoedjen/secretive

▲ 52 stars today★ 9,371⑂ 235

Protect your SSH keys with your Mac's Secure Enclave

About maxgoedjen/secretive

maxgoedjen/secretive is an open-source project on GitHub, mainly written in Swift. Protect your SSH keys with your Mac's Secure Enclave It currently holds 9,371 stars and 235 forks with 189 open issues, and was last pushed on 2026-10-18 (repository created 2020-02-19).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #98 with 52 new stars today.

GitHub Repository Details

Repository maxgoedjen/secretive · default branch main · size 21055 KB · watchers 53 · source: GitHub REST API and repository README

README

Secretive Test Release

Secretive is an app for protecting and managing SSH keys with the Secure Enclave. https://github.com/maxgoedjen/secretive/blob/HEAD/Screenshot of Secretive

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.

https://github.com/maxgoedjen/secretive/blob/HEAD/Screenshot of Secretive authenticating with Touch ID

Notifications

Secretive also notifies you whenever your keys are accessed, so you're never caught off guard.

https://github.com/maxgoedjen/secretive/blob/HEAD/Screenshot of Secretive notifying the user

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.

GitHub Stars & Activity

9,371Stars
235Forks
189Open issues
SwiftLanguage

GitHub Popularity

GitHub stars9,371
Forks235
Open issues189
Primary languageSwift
LicenseMIT
Stars gained today52
Created2020-02-19
Last pushed2026-10-18

Trending History

Daily boardrank #98 · ▲ 52 stars

Related GitHub Projects

1

apple / container

Swift★ 51,253⑂ 1,819▲ 113 stars
→
2

vorssaint / vorssaint-utils

Swift★ 34,387⑂ 1,723▲ 312 stars
→
3

xtool-org / xtool

Swift★ 15,354⑂ 913▲ 283 stars
→
4

microsoft / Procexp-Mac

Swift★ 648⑂ 21▲ 232 stars
→
5

mattpocock / skills

Shell★ 322,472⑂ 27,046▲ 1,186 stars
→
6

obra / superpowers

Shell★ 316,499⑂ 28,162▲ 614 stars
→
7

react / react

JavaScript★ 252,539⑂ 52,363▲ 93 stars
→
8

n8n-io / n8n

TypeScript★ 210,265⑂ 61,480▲ 220 stars
→

More Trending Repositories