Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 mbedtls

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mbedtls

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mbedtls

MacPorts ports tree · devel/mbedtls/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mbedtls

Alpine Linux edge package indexes · mbedtls · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install mbedtls

Fedora Rawhide package metadata · mbedtls · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#mbedtls

nixpkgs package indexes · pkgs/by-name/mb/mbedtls/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mbedtls

Arch Linux sync databases · mbedtls · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libmbedcrypto16

Debian stable package indexes · libmbedcrypto16 · 来源: deb.debian.org

Ubuntu apt已验证 · 92%
sudo apt install libmbedcrypto7t64

Ubuntu 24.04 LTS package indexes · libmbedcrypto7t64 · 来源: archive.ubuntu.com

openSUSE zypper已验证 · 92%
sudo zypper install libeverest

openSUSE Tumbleweed package metadata · libeverest · 来源: download.opensuse.org

概览

软件包摘要

Cryptographic & SSL/TLS library

命令和别名

  • aead_demo
  • cert_app
  • cert_req
  • cert_write
  • crl_app
  • crypto_examples
  • dtls_client
  • dtls_server
  • generate_random_uuid
  • hmac_demo
  • key_ladder_demo
  • key_ladder_demo.sh
  • load_roots
  • metatest
  • mini_client
  • pem2der
  • psa_constant_names
  • psa_hash
  • query_compile_time_config
  • query_included_headers
  • req_app
  • selftest
  • ssl_client1
  • ssl_client2
  • ssl_context_info
  • ssl_fork_server
  • ssl_mail_client
  • ssl_pthread_server
  • ssl_server
  • ssl_server2
  • strerror
  • udp_proxy

历史

项目历史与用法

Mbed TLS is a portable C TLS, DTLS, X.509, and cryptography library now hosted under TrustedFirmware.org, with TF-PSA-Crypto providing its PSA Crypto implementation.

项目历史

TrustedFirmware.org presents Mbed TLS and TF-PSA-Crypto together: Mbed TLS implements TLS, DTLS, and X.509 certificate handling, while TF-PSA-Crypto implements the PSA Cryptography API and related driver interfaces. The licensing documentation records the earlier PolarSSL name and says the project is owned by TrustedFirmware.org.

The official GitHub repository describes the library as open source, portable, readable, flexible, and a reference implementation of the PSA Cryptography API. Current releases are made on a roughly three-to-six-month cadence, with the repository tracking dozens of releases.

采用历史

Mbed TLS is adopted where TLS and crypto need to fit into small systems. TrustedFirmware.org explicitly notes its small code footprint and names TF-A, TF-M, and OP-TEE among its users, placing it in the embedded firmware and secure software supply chain rather than only in server-side TLS stacks.

使用方式

Package users typically consume Mbed TLS as C libraries and headers plus example utilities. Build-time feature selection is central to its use: the default configuration is `include/mbedtls/mbedtls_config.h`, and PSA crypto mechanisms can be selected in `tf-psa-crypto/include/psa/crypto_config.h` or overridden with compile-time configuration macros.

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

Mbed TLS is important to package maintainers because small compile-time choices alter ABI surface, algorithm availability, footprint, and security posture. Its examples and utilities also make Homebrew-style packages useful for testing certificates, TLS clients, servers, and cryptographic primitives from the shell.

时间线

  • Pre-2015: Project is known as PolarSSL before the Mbed TLS name.
  • 2020: Official mailing-list archive references the transition from PolarSSL-era private history to public Git history.
  • 2026: TrustedFirmware.org lists Mbed TLS with TF-PSA-Crypto and notes users including TF-A, TF-M, and OP-TEE.
  • 2026: GitHub repository lists Mbed TLS 4.1.0 as a latest release.

Related projects

  • PolarSSL, TF-PSA-Crypto, PSA Crypto API, Trusted Firmware-A, Trusted Firmware-M, OP-TEE, OpenSSL, wolfSSL

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:client,server

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
include/mbedtls/mbedtls_config.htf-psa-crypto/include/psa/crypto_config.h

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aead_democli全局可执行文件
cert_appcli全局可执行文件
cert_reqcli全局可执行文件
cert_writecli全局可执行文件
crl_appcli全局可执行文件
crypto_examplescli全局可执行文件
dtls_clientcli全局可执行文件
dtls_servercli全局可执行文件
generate_random_uuidcli全局可执行文件
hmac_democli全局可执行文件
key_ladder_democli全局可执行文件
key_ladder_demo.shcli全局可执行文件
load_rootscli全局可执行文件
metatestcli全局可执行文件
mini_clientcli全局可执行文件
pem2dercli全局可执行文件
psa_constant_namescli全局可执行文件
psa_hashcli全局可执行文件
query_compile_time_configcli全局可执行文件
query_included_headerscli全局可执行文件
req_appcli全局可执行文件
selftestcli全局可执行文件
ssl_client1cli全局可执行文件
ssl_client2cli全局可执行文件
ssl_context_infocli全局可执行文件
ssl_fork_servercli全局可执行文件
ssl_mail_clientcli全局可执行文件
ssl_pthread_servercli全局可执行文件
ssl_servercli全局可执行文件
ssl_server2cli全局可执行文件
strerrorcli全局可执行文件
udp_proxycli全局可执行文件
zeroizecli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本4.2.0
管理器更新时间2026-07-07
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/Mbed-TLS/mbedtls

安装元数据

软件包元数据

软件包键brew:mbedtls
版本4.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mbedtls
主页https://www.trustedfirmware.org/projects/mbed-tls/
仓库https://github.com/Mbed-TLS/mbedtls
上游文档https://mbed-tls.readthedocs.io/en/latest
许可证Apache-2.0
源码归档https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-4.2.0/mbedtls-4.2.0.tar.bz2
最后更新2026-07-07T16:39:09Z
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 Namembedtls
Aliases
  • mbedtls@4
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libmbedcrypto16 3.6.5-0.1~deb13u1

lightweight crypto and SSL/TLS library - crypto library

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedcrypto16
  • Section: libs
  • Architecture: amd64
  • Source Package: mbedtls
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmbedcrypto16 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmbedtls-dev 3.6.5-0.1~deb13u1

lightweight crypto and SSL/TLS library - development files

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedtls-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mbedtls
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmbedtls-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmbedtls-doc 3.6.5-0.1~deb13u1

lightweight crypto and SSL/TLS library - documentation

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedtls-doc
  • Section: doc
  • Architecture: all
  • Source Package: mbedtls
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmbedtls-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmbedtls21 3.6.5-0.1~deb13u1

lightweight crypto and SSL/TLS library - tls library

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedtls21
  • Section: libs
  • Architecture: amd64
  • Source Package: mbedtls
  • 3 依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmbedtls21 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmbedx509-7 3.6.5-0.1~deb13u1

lightweight crypto and SSL/TLS library - x509 certificate library

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedx509-7
  • Section: libs
  • Architecture: amd64
  • Source Package: mbedtls
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmbedx509-7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mbedtls

nix profile install nixpkgs#mbedtls
  • normalized package name match
  • 匹配方式:Mbedtls
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mb/mbedtls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmbedcrypto7t64 2.28.8-1

lightweight crypto and SSL/TLS library - crypto library

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedcrypto7t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mbedtls
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mbedtls
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmbedcrypto7t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmbedtls-dev 2.28.8-1

lightweight crypto and SSL/TLS library - development files

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedtls-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mbedtls
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmbedtls-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmbedtls-doc 2.28.8-1

lightweight crypto and SSL/TLS library - documentation

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedtls-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: mbedtls
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmbedtls-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmbedtls14t64 2.28.8-1

lightweight crypto and SSL/TLS library - tls library

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedtls14t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mbedtls
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mbedtls
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmbedtls14t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmbedx509-1t64 2.28.8-1

lightweight crypto and SSL/TLS library - x509 certificate library

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apt install libmbedx509-1t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mbedtls
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mbedtls
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmbedx509-1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mbedtls 4.1.0-r0

Light-weight cryptographic and SSL/TLS library

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apk add mbedtls
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mbedtls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mbedtls-dev 4.1.0-r0

Light-weight cryptographic and SSL/TLS library (development files)

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apk add mbedtls-dev
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mbedtls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mbedtls-static 4.1.0-r0

Light-weight cryptographic and SSL/TLS library (static library)

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apk add mbedtls-static
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mbedtls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mbedtls-utils 4.1.0-r0

Utilities for mbedtls (including gen_key / cert_write)

https://www.trustedfirmware.org/projects/mbed-tls/

sudo apk add mbedtls-utils
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mbedtls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

mbedtls 3.6.6-2.fc45

Light-weight cryptographic and SSL/TLS library

https://www.trustedfirmware.org/projects/mbed-tls

sudo dnf install mbedtls
  • License: Apache-2.0 or GPLv2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: mbedtls
  • 2 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Mbedtls
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mbedtls from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment