# ntbtls を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:ntbtls
```

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

### macOS

- Homebrew (100%):

```sh
brew install ntbtls
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ntbtls
```

  証拠: nixpkgs package indexes: pkgs/by-name/nt/ntbtls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ntbtls
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ntbtls>
- **バージョン:** 0.3.2
- **ソース概要:** Not Too Bad TLS Library
- **ホームページ:** <https://gnupg.org/>
- **上流ドキュメント:** <https://gnupg.org/>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-0.3.2.tar.bz2>
- **最終更新:** 2026-06-22T14:05:38-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- ntbtls-config (cli)
- ntbtls-config (エイリアス)

## 依存関係

- libgcrypt
- libgpg-error
- libksba

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.3.2
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://gnupg.org/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

ntbTLS, the Not Too Bad TLS Library, is a small GnuPG-family TLS 1.2 client library intended to pair with Libgcrypt and LibKSBA. It deliberately leaves certificate verification to callers such as GnuPG's `dirmngr`.

### プロジェクトの歴史

The GnuPG wiki says ntbTLS started in 2014 as Werner Koch's stripped-down fork of PolarSSL, later known as mbedTLS, using Libgcrypt and existing GnuPG modules for X.509 handling. The official page says the code replaced PolarSSL crypto with Libgcrypt, removed older SSL/TLS protocol support, and has been used by the GnuPG version of Gpg4win since 2017.

### 採用の歴史

ntbTLS is narrow infrastructure rather than a general TLS competitor. The GnuPG libraries page lists it under other GnuPG-related libraries, while the project page frames it as a good fit where GnuPG already has certificate verification and wants to avoid pulling in another TLS library's crypto stack.

The release directory shows public tarballs from 0.1.0 on February 21, 2017 through 0.3.2 on January 12, 2024. On July 1, 2026, Homebrew listed ntbTLS 0.3.2 with 62 installs in its 365-day analytics window, which matches its specialized role.

### 使われ方

Package users usually encounter `ntbtls-config` and the library as build-time plumbing for GnuPG-adjacent software. It is not a drop-in OpenSSL replacement: the README says the server part and TLS 1.3 are not implemented in version 0.3, and callers must do certificate verification themselves.

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

ntbTLS matters because it shows the GnuPG project's preference for minimizing independent crypto implementations inside the stack. For packagers, the important details are its Libgcrypt/LibKSBA dependencies, GPL licensing, and intentionally limited protocol surface.

### タイムライン

- 2014: ntbTLS began as a stripped-down PolarSSL fork.
- February 21, 2017: the GnuPG file area published ntbtls-0.1.0.
- 2017: Gpg4win's GnuPG build began using ntbTLS.
- January 12, 2024: ntbtls-0.3.2 tarball date in the GnuPG file area.
- July 1, 2026: Homebrew listed stable version 0.3.2.

### Related projects

- Libgcrypt supplies cryptographic primitives.
- LibKSBA supplies X.509 and CMS handling.
- PolarSSL/mbedTLS is the historical source base for the TLS protocol code.
- GnuPG and Gpg4win are the main practical ecosystem.

### ソース

- <https://formulae.brew.sh/formula/ntbtls>
- <https://github.com/gpg/ntbtls>
- <https://gnupg.org/ftp/gcrypt/ntbtls/>
- <https://wiki.gnupg.org/NTBTLS>
- <https://www.gnupg.org/software/libraries.html>
- <https://www.gnupg.org/software/ntbtls/index.html>


## セキュリティノート

ntbtls に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

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

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

- Nix - ntbtls: normalized package name match | nixpkgs package indexes: pkgs/by-name/nt/ntbtls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/ja/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [libgpg-error](https://pkg.so/ja/brew/libgpg-error/) - Runtime dependency declared by Homebrew.
- [libgcrypt](https://pkg.so/ja/brew/libgcrypt/) - Runtime dependency declared by Homebrew.
- [libksba](https://pkg.so/ja/brew/libksba/) - Runtime dependency declared by Homebrew.
- [gnupg](https://pkg.so/ja/brew/gnupg/) - Shares the same upstream homepage.
- [gnutls](https://pkg.so/ja/brew/gnutls/) - Shares pkgdb curated category or tags: cli, cryptography, library, security, tls.
- [gpgme](https://pkg.so/ja/brew/gpgme/) - Shares pkgdb curated category or tags: cli, cryptography, gnupg, library, security.
- [openssl@3.0](https://pkg.so/ja/brew/openssl-3-0/) - Shares pkgdb curated category or tags: cli, cryptography, library, security, tls.
- [botan](https://pkg.so/ja/brew/botan/) - Shares pkgdb curated category or tags: cli, cryptography, library, security, tls.
- [aws-lc](https://pkg.so/ja/brew/aws-lc/) - Shares pkgdb curated category or tags: cli, cryptography, library, security, tls.
- [openssl@3](https://pkg.so/ja/brew/openssl-3/) - Shares pkgdb curated category or tags: cli, cryptography, security, tls.
- [p11-kit](https://pkg.so/ja/brew/p11-kit/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.

## Combined YAML source

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


## ソース

- pkg.so package database
- 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
