macOS
brew install sha1dclocal Homebrew formula metadata
安装
brew install sha1dclocal Homebrew formula metadata
概览
Tool to detect SHA-1 collisions in files, including SHAttered
历史
SHA-1 Collision Detection is an MIT-licensed C library and command-line tool by Marc Stevens and Dan Shumow. It computes SHA-1 digests while detecting files produced with known cryptanalytic SHA-1 collision techniques.
Marc Stevens and Dan Shumow published the implementation in 2017 in the context of practical SHA-1 collision attacks. Its detection method builds on Stevens's counter-cryptanalysis research and explicitly recognizes files produced by attacks such as SHAttered; later support also references SHA-mbles.
The project was designed as a near drop-in replacement for common SHA-1 implementations and sha1sum, lowering the cost of adding collision detection to existing software. The input confirms packaging as the Homebrew formula sha1dc.
sha1dcsum hashes files and warns when a full SHA-1 collision attack is detected; sha1dcsum_partialcoll also checks reduced-round collision examples. Developers can integrate the library through its SHA1DC API and use safe-hash mode so colliding inputs receive different defensive hashes.
sha1dc lets package and release engineers continue verifying legacy SHA-1 material while detecting known cryptanalytic collision constructions. It is particularly relevant to archives and software-distribution systems that cannot immediately remove every SHA-1 dependency.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sha1dcsum | cli | 全局可执行文件 | |
sha1dcsum_partialcoll | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/cr-marcstevens/sha1collisiondetection
安装元数据
| 软件包键 | brew:sha1dc |
|---|---|
| 版本 | 1.0.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/sha1dc |
| 主页 | https://github.com/cr-marcstevens/sha1collisiondetection |
| 仓库 | https://github.com/cr-marcstevens/sha1collisiondetection |
| 许可证 | MIT |
| 源码归档 | https://github.com/cr-marcstevens/sha1collisiondetection/archive/refs/tags/stable-v1.0.3.tar.gz |
| 最后更新 | 2026-09-14T12:20:13+02:00 |
| Pulse | updated |
| 构建依赖 | coreutils, libtool |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sha1dc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.