macOS
brew install gmssllocal Homebrew formula metadata
brew
gmssl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gmssllocal Homebrew formula metadata
概要
Toolkit for Chinese national cryptographic standards
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
gmssl | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/guanzhi/GmSSL
インストールメタデータ
| パッケージキー | 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 |
| Pulse | updated |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gmssl |
| 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 |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.