# Keysafe

A command-line tool for reading and decrypting Apple Keychain files, with options to filter records, export contents, and assist password recovery.

> This is the Markdown version of the Keysafe page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/keysafe>

- **Latest version**: `1.9.2`
- **Homepage**: <https://miln.eu/keysafe>
- **Categories**: [Security & Privacy](https://opennavo.com/categories/security)
- **Install**: `brew install --cask keysafe`
- **30-day installs**: 2
- **Homebrew**: Still offered by Homebrew; paused by OpenNavo
- **Download URL**: <https://miln.eu/keysafe/miln-keysafe-v1.9.2-darwin-universal.zip>
- **SHA-256**: `4679f62b10fd67aade65c54e8c4091a1f037491b21eee2f0e868be2ebef9bb3e`
- **Commands**: keysafe

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "binary": [
        "miln-keysafe-v1.9.2-darwin-universal/keysafe"
      ],
      "target": "$HOMEBREW_PREFIX/bin/keysafe"
    },
    "phase": "install",
    "sources": [
      "miln-keysafe-v1.9.2-darwin-universal/keysafe"
    ],
    "target": "$HOMEBREW_PREFIX/bin/keysafe",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": []
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Keysafe is a command-line utility for accessing information stored in Apple Keychain files. It can list encrypted password records and, after you provide the Keychain password, decrypt selected records. A Miln App Licence is required to display decrypted secrets in full; without one, secret values are redacted.

- Filter records by words or phrases found in their names or accounts; matching is case-insensitive.
- Export Keychain contents to a compressed `.tar.gz` archive, optionally encrypted with an export passphrase. The archive can include formats such as XML, JSON, CSV, certificates, keys, and secure notes, depending on the Keychain contents.
- Use the `-recover` option to extract a Keychain file’s master password hash for use in password-recovery workflows.
- For a `System.keychain` file, pass the required SystemKey file with `-system-key`.

Install the Homebrew cask with `brew install --cask keysafe`, then run `keysafe -h` to see available options. Supply the Keychain file path with `-path`; decrypting its protected contents requires the Keychain password. The tool is command-line based and may not suit users unfamiliar with a terminal. macOS 26 Keychain files are not currently supported. The cask provides a macOS executable.

Sources: [Keysafe documentation](https://miln.eu/keysafe), [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/k/keysafe.rb)

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 1.9.2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/keysafe.rb> · Checked 2026-12-06
  - <https://miln.eu/keysafe/miln-keysafe-v1.9.2-darwin-universal.zip>
  - SHA-256: `4679f62b10fd67aade65c54e8c4091a1f037491b21eee2f0e868be2ebef9bb3e`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 1.9.2 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/keysafe.rb> · Checked 2026-12-06
  - <https://miln.eu/keysafe/miln-keysafe-v1.9.2-darwin-universal.zip>
  - SHA-256: `4679f62b10fd67aade65c54e8c4091a1f037491b21eee2f0e868be2ebef9bb3e`

## Uninstall

- `brew uninstall --cask keysafe`

A regular uninstall removes the app and keeps its settings and caches.

## Facts and sources

- <https://opennavo.com/apps/keysafe>
- <https://opennavo.com/apps/keysafe/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/keysafe.rb> · Checked 2026-12-06
- <https://formulae.brew.sh/cask/keysafe>
