# 使用 Homebrew, apt, MacPorts, Nix 安装 ccrypt

查看 ccrypt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ccrypt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ccrypt
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccrypt
```

  证据: MacPorts ports tree: security/ccrypt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ccrypt
```

  证据: Debian stable package indexes: ccrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ccrypt
```

  证据: nixpkgs package indexes: pkgs/by-name/cc/ccrypt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ccrypt
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ccrypt>
- **版本:** 1.11
- **来源摘要:** Encrypt and decrypt files and streams
- **主页:** <https://ccrypt.sourceforge.net/>
- **上游文档:** <https://ccrypt.sourceforge.net/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/ccrypt/1.11/ccrypt-1.11.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ccdecrypt (cli)
- ccencrypt (cli)
- ccguess (cli)
- ccrypt (cli)
- ccdecrypt (别名)
- ccencrypt (别名)
- ccguess (别名)
- ccrypt (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.11
- 本地数据: OK
- 上游仓库: https://ccrypt.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ccrypt is Peter Selinger's file and stream encryption utility based on the Rijndael block cipher, the cipher family selected for AES. It packages encryption, decryption, key changes, and terminal-friendly helpers into the ccrypt, ccencrypt, ccdecrypt, ccat, and ccguess commands.

### 项目历史

The official site identifies ccrypt as software by Peter Selinger, with copyright years 2000-2018. Its documentation emphasizes Unix-style operation on files and streams, a gzip-like interface, and aliases for common modes.

The project reached release 1.9 in 2009 with portability fixes for systems including Mac OS X, Ubuntu, FreeBSD, and Solaris 10. Release 1.10 in 2012 added libccrypt.a and ccguess, and release 1.11 in 2018 updated portability, bugs, Emacs 26 compatibility, and translations.

### 采用历史

The official download page lists source distributions, binaries for several operating systems, Debian packages, Redhat RPMs, Solaris packages, and OS/2 packages. The input package facts also show Homebrew, Debian, MacPorts, Nix, and Ubuntu packaging.

### 使用方式

ccrypt encrypts and decrypts files in place by default, adding or removing the .cpt suffix. It can also work as a filter, decrypt directly to stdout with ccat, change keys, use key files, recurse over directories, and provide Emacs integration through ps-ccrypt.

### 为什么软件包爱好者会关心

ccrypt is historically interesting as a small AES-era replacement for older Unix crypt workflows. Package maintainers care about it because it is portable C software with many CLI entry points, old platform support, and security-sensitive defaults around key prompting and in-place file updates.

### 时间线

- 2000: Copyright period begins for ccrypt.
- 2009: Version 1.9 released with portability fixes for multiple Unix-like systems.
- 2012: Version 1.10 released with libccrypt.a and ccguess.
- 2018: Version 1.11 released with portability fixes and Emacs 26 compatibility.

### Related projects

- ps-ccrypt provides Emacs support for encrypted .cpt files.
- The official site lists GUI and integration tools such as Qccrypt and CCRYPTGUI.

### 来源

- <https://ccrypt.sourceforge.net/>
- <https://formulae.brew.sh/api/formula/ccrypt.json>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ccrypt
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** ccat
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - ccrypt - 1.11-5: normalized package name match | Debian stable package indexes: ccrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | secure encryption and decryption of files and streams | https://ccrypt.sourceforge.net/
- Debian apt - elpa-ps-ccrypt - 1.11-5: normalized package name match | Debian stable package indexes: elpa-ps-ccrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Emacs addon for working with files encrypted with ccrypt | https://ccrypt.sourceforge.net/
- Nix - ccrypt: normalized package name match | nixpkgs package indexes: pkgs/by-name/cc/ccrypt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ccrypt - 1.11-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: ccrypt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | secure encryption and decryption of files and streams | https://ccrypt.sourceforge.net/
- Ubuntu apt - elpa-ps-ccrypt - 1.11-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: elpa-ps-ccrypt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Emacs addon for working with files encrypted with ccrypt | https://ccrypt.sourceforge.net/
- MacPorts - ccrypt: normalized package name match | MacPorts ports tree: security/ccrypt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Shares pkgdb curated category or tags: cli, cryptography, encryption, security.
- [nss](https://pkg.so/zh-hans/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [mbedtls](https://pkg.so/zh-hans/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [argon2](https://pkg.so/zh-hans/brew/argon2/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [openssh](https://pkg.so/zh-hans/brew/openssh/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libxmlsec1](https://pkg.so/zh-hans/brew/libxmlsec1/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [opensc](https://pkg.so/zh-hans/brew/opensc/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libressl](https://pkg.so/zh-hans/brew/libressl/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [scrypt](https://pkg.so/zh-hans/brew/scrypt/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, decrypt, encrypt, encryption.
- [staticrypt](https://pkg.so/zh-hans/npm/staticrypt/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, encrypt, encryption, file.

## Combined YAML source

View the package source record on GitHub. [combined/ccrypt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ccrypt.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
