Automic VaultAutomic Vault

brew

使用 Homebrew 安装 gmssl

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gmssl

local Homebrew formula metadata

概览

软件包摘要

Toolkit for Chinese national cryptographic standards

命令和别名

  • gmssl

历史

项目历史与用法

GmSSL is an open-source cryptographic toolkit developed by Peking University for Chinese commercial cryptography standards. It provides a gmssl command-line tool, a C library, protocol support, and language bindings around SM2, SM3, SM4, SM9, TLCP, TLS, and related algorithms.

项目历史

The public GitHub repository was created in 2014. The README describes GmSSL as a domestic commercial cryptography open-source library independently developed by Peking University, covering national cryptographic algorithms, standards, secure communication protocols, mainstream operating systems and processors, cryptographic keys, and cryptographic cards.

The 3.x series was a major rewrite. The README states that GmSSL 3 reduced memory needs and binary size, removed the OpenSSL-compatible API from the core, adopted CMake, targeted embedded environments, and added a separate OpenSSL compatibility layer for applications such as Nginx.

GmSSL releases show a 3.0.0 release in 2022, 3.1.x releases in 2023, and 3.2.0 in 2026. The README's changelog for 3.1.1 onward includes TLS 1.3 work, TLCP support, post-quantum algorithms, command-line options for cryptographic operations, performance improvements, and removal of broken algorithms such as RC4 and MD5.

采用历史

GmSSL's adoption is tied to compliance and interoperability needs around Chinese national cryptographic standards. Its README emphasizes SM algorithms, TLCP, RFC 8998 TLS 1.3 cipher suites, hardware interfaces such as SDF and SKF, and language bindings for Java, PHP, Go, Python, Rust, and Node.js.

Homebrew packaging gives macOS and Unix-like developers a convenient way to test the gmssl CLI and library without building the full CMake project manually. The GitHub repository's large star and fork counts also indicate broader interest than a single-vendor compliance sample.

使用方式

Practitioners build GmSSL with CMake, install the gmssl command-line tool and libgmssl, and use it to exercise SM-family algorithms, certificate workflows, digital envelopes, TLS/TLCP protocol support, and benchmark tests.

Application developers use the C library or language bindings when they need Chinese commercial cryptography support in services, embedded systems, mobile platforms, or compatibility layers for existing OpenSSL-oriented software.

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

GmSSL is package-significant because cryptographic standards support is hard to vendor casually. A package-managed build gives users a repeatable toolkit for SM2, SM3, SM4, SM9, TLCP, and TLS experiments without treating a security-sensitive C library as a one-off source checkout.

It also shows a common packaging tension in crypto: users want a familiar OpenSSL-like CLI surface, but the project deliberately changed APIs in GmSSL 3 and moved OpenSSL compatibility into a separate layer.

时间线

  • 2014: Public GitHub repository created.
  • 2018: GMBrowser v0.1 release published in the repository release stream.
  • 2022: GmSSL 3.0.0 released.
  • 2023: GmSSL 3.1.x releases published.
  • 2026: GmSSL 3.2.0 released.

Related projects

  • OpenSSL is related through the compatibility-layer discussion in the README.
  • GmSSL-Java, GmSSL-PHP, GmSSL-Go, GmSSL-Python, gmssl-rs, and GmSSL-Nodejs provide language bindings around the core library.
  • SoftSDF is a related software SDF module for development and testing.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gmsslcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.2.0
管理器更新时间2026-06-21
本地数据OK
上游当前
检测到的最新版本v3.2.0

https://github.com/guanzhi/GmSSL

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gmssl
版本3.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gmssl
主页https://github.com/guanzhi/GmSSL
仓库https://github.com/guanzhi/GmSSL
上游文档https://github.com/guanzhi/GmSSL#readme
许可证Apache-2.0
源码归档https://github.com/guanzhi/GmSSL/archive/refs/tags/v3.2.0.tar.gz
最后更新2026-06-21T07:05:30Z
Pulseupdated
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegmssl
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment