secretive README

README проекта с github.com/maxgoedjen/secretive. Одним файлом markdown: README.md.

Secretive Test Release

Secretive is an app for protecting and managing SSH keys with the Secure Enclave. 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.

Screenshot of Secretive authenticating with Touch ID

Notifications

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

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.

secretive (maxgoedjen/secretive)

Ищем в базе…

Что это?Secretive — это приложение для macOS, которое хранит и управляет SSH-ключами в Secure Enclave вашего Mac, а не на диске, поэтому закрытый ключ нельзя ни экспортировать, ни скопировать.
Это фоновая служба или приложение, которое я открываю?Это нативное приложение для macOS с интерфейсом для управления ключами, а также SSH-агент, который работает в фоне и обрабатывает запросы на подпись.
Нужен ли мне Mac с Secure Enclave, чтобы это работало?Да, чтобы хранить ключи в аппаратном модуле, нужен Mac с Secure Enclave; если такого модуля нет, можно использовать смарт-карту, например YubiKey.
Могу ли я сделать резервную копию ключей или перенести их на новый Mac?Нет. Поскольку ключи хранятся в Secure Enclave, их нельзя экспортировать, а значит, нельзя ни создать резервную копию, ни перенести. На новом Mac нужно просто сгенерировать новый набор ключей.
Это работает только на macOS?Да, это приложение только для macOS, написанное на Swift; оно использует API Apple для Secure Enclave и Keychain.
Может ли Secretive отслеживать мои ключи или получать к ним доступ без моего ведома?Нет, всё наоборот: при каждом обращении к ключу приложение уведомляет вас, чтобы вы никогда не оказались врасплох.
Можно ли требовать Touch ID перед использованием ключа?Да, ключи можно настроить так, чтобы перед доступом требовалась аутентификация через Touch ID или Apple Watch.
Почему бы просто не использовать файл ключа на диске?Ключи на диске защищены только правами доступа к файлам, поэтому их относительно легко скопировать вредоносное ПО или злоумышленники; хранение в Secure Enclave делает ключ физически невозможным для экспорта.
Можно ли доверять релизным сборкам?Сборки создаются через GitHub Actions по проверяемому процессу, а начиная с версии 3.0 подтверждаются с помощью GitHub Artifact Attestation; проверить их можно на странице аттестации.
Зачем важна сборка из исходников для доступа к Keychain?Keychain ограничивает доступ к ключам идентификатором пакета (bundle ID) приложения, которое создало ключ, поэтому при сборке из исходников нужно постоянно использовать тот же bundle ID, иначе Secretive не найдёт ваши существующие ключи.
Какие есть похожие проекты?PureMac, greenbubbles, OpenYoink, RemoveMacAI, leftopen, Insomnia, AirCard, vphone-cli
Автор
maxgoedjen
Размер
20.6 MB
Звёзды
9.5K
Возраст
6 г
Коммиты · 90 дней