Automic VaultAutomic Vault

brew

h2spec を Homebrew, Nix でインストール

h2spec のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install h2spec

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#h2spec

nixpkgs package indexes · pkgs/by-name/h2/h2spec/package.nix · ソース: api.github.com

概要

パッケージ概要

Conformance testing tool for HTTP/2 implementation

コマンドとエイリアス

  • h2spec

履歴

プロジェクトの歴史と使われ方

h2spec is a Go command-line conformance tester for HTTP/2 implementations. It became a standard developer tool because it translates the protocol rules in RFC 7540 and HPACK rules in RFC 7541 into runnable test cases against real servers.

プロジェクトの歴史

The repository was created in August 2014, during the final stretch of HTTP/2 standardization. The first GitHub release, v0.0.1, was published in December 2014 as an alpha release, and rapid 0.0.x releases followed with TLS, stream-state, frame, and timeout test coverage.

Version 1.0.0 was published in May 2015, shortly after the publication of RFC 7540 and RFC 7541. Later 1.x releases added HPACK-related tests, section-specific checks, JUnit reporting, performance improvements, and more detailed error handling.

Version 2.0.0 in January 2017 refactored the test cases, added RFC 7541 HPACK tests, added HTTP/2 server tests, dry-run mode, individual test-case execution, and verbose logging. Subsequent 2.x releases tracked Go toolchain changes and fixed conformance details around GOAWAY, frame lengths, HPACK strings, path selection, and TLS cipher selection.

採用の歴史

h2spec's adoption came from implementers needing an independent executable check for HTTP/2 behavior. The 2015 HTTP Workshop presentation by Moto Ishizawa described the goal as sharing test cases because HTTP/2 implementations are hard to test.

The tool appears in official and community workflows for server and library validation because it can be installed as a binary, run from Docker, or built from source. Homebrew and Nix packaging made it easy to use in local development and CI jobs.

使われ方

h2spec targets a host and port, optionally over TLS, and can run the entire suite or a single spec section such as `http2/6.3`. Its supported spec IDs include `http2`, `hpack`, and `generic`, and it offers strict mode for SHOULD-level requirements plus JUnit output for CI reporting.

Package users typically run it against a local web server, proxy, HTTP/2 library example server, or appliance endpoint to catch protocol-state, frame-format, stream, HPACK, or error-handling mistakes.

パッケージ好きにとっての重要性

h2spec matters because it turned an RFC-reading task into a repeatable CLI check. For package maintainers, it is a small but high-leverage tool: it can validate HTTP/2 support in servers such as H2O, HAProxy, nginx builds, language libraries, and reverse proxies without embedding a full benchmark or browser stack.

Its release history is also a useful map of HTTP/2 implementation pain points: stream states, SETTINGS, GOAWAY, HPACK, TLS, headers, padding, and CI-friendly reporting all show up as packageable conformance concerns.

タイムライン

  • 2014: Repository created and v0.0.1 alpha released.
  • 2015: v1.0.0 released after HTTP/2 and HPACK RFC publication.
  • 2015: HTTP Workshop presentation described h2spec as a shared conformance-test tool.
  • 2017: v2.0.0 refactored test cases and added HPACK, dry-run, and individual-test execution.
  • 2020: v2.6.0 release built with Go 1.14 and refined DATA-frame validation and reports.

Related projects

  • Related projects include H2O, nghttp2, HAProxy, HTTP/2 libraries in language ecosystems, the IETF HTTP working group specifications, RFC 7540, RFC 7541, and HPACK test-case collections.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:http

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
h2speccliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版2.6.0
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/summerwind/h2spec

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:h2spec
バージョン2.6.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/h2spec
ホームページhttps://github.com/summerwind/h2spec
リポジトリhttps://github.com/summerwind/h2spec
上流ドキュメントhttps://github.com/summerwind/h2spec#readme
ライセンスMIT
ソースアーカイブhttps://github.com/summerwind/h2spec.git
ビルド依存関係go
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

h2spec

nix profile install nixpkgs#h2spec
  • normalized package name match
  • 一致条件: H2spec
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/h2/h2spec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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