macOS
brew install mbedtlslocal Homebrew formula metadata
sudo port install mbedtlsMacPorts ports tree · devel/mbedtls/Portfile · 来源: api.github.com
安装
brew install mbedtlslocal Homebrew formula metadata
sudo port install mbedtlsMacPorts ports tree · devel/mbedtls/Portfile · 来源: api.github.com
sudo apk add mbedtlsAlpine Linux edge package indexes · mbedtls · 来源: dl-cdn.alpinelinux.org
sudo dnf install mbedtlsFedora Rawhide package metadata · mbedtls · 来源: dl.fedoraproject.org
nix profile install nixpkgs#mbedtlsnixpkgs package indexes · pkgs/by-name/mb/mbedtls/package.nix · 来源: api.github.com
sudo pacman -S mbedtlsArch Linux sync databases · mbedtls · 来源: geo.mirror.pkgbuild.com
sudo apt install libmbedcrypto16Debian stable package indexes · libmbedcrypto16 · 来源: deb.debian.org
sudo apt install libmbedcrypto7t64Ubuntu 24.04 LTS package indexes · libmbedcrypto7t64 · 来源: archive.ubuntu.com
sudo zypper install libeverestopenSUSE Tumbleweed package metadata · libeverest · 来源: download.opensuse.org
概览
Cryptographic & SSL/TLS library
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
include/mbedtls/mbedtls_config.htf-psa-crypto/include/psa/crypto_config.h可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
aead_demo | cli | 全局可执行文件 | |
cert_app | cli | 全局可执行文件 | |
cert_req | cli | 全局可执行文件 | |
cert_write | cli | 全局可执行文件 | |
crl_app | cli | 全局可执行文件 | |
crypto_examples | cli | 全局可执行文件 | |
dtls_client | cli | 全局可执行文件 | |
dtls_server | cli | 全局可执行文件 | |
generate_random_uuid | cli | 全局可执行文件 | |
hmac_demo | cli | 全局可执行文件 | |
key_ladder_demo | cli | 全局可执行文件 | |
key_ladder_demo.sh | cli | 全局可执行文件 | |
load_roots | cli | 全局可执行文件 | |
metatest | cli | 全局可执行文件 | |
mini_client | cli | 全局可执行文件 | |
pem2der | cli | 全局可执行文件 | |
psa_constant_names | cli | 全局可执行文件 | |
psa_hash | cli | 全局可执行文件 | |
query_compile_time_config | cli | 全局可执行文件 | |
query_included_headers | cli | 全局可执行文件 | |
req_app | cli | 全局可执行文件 | |
selftest | cli | 全局可执行文件 | |
ssl_client1 | cli | 全局可执行文件 | |
ssl_client2 | cli | 全局可执行文件 | |
ssl_context_info | cli | 全局可执行文件 | |
ssl_fork_server | cli | 全局可执行文件 | |
ssl_mail_client | cli | 全局可执行文件 | |
ssl_pthread_server | cli | 全局可执行文件 | |
ssl_server | cli | 全局可执行文件 | |
ssl_server2 | cli | 全局可执行文件 | |
strerror | cli | 全局可执行文件 | |
udp_proxy | cli | 全局可执行文件 | |
zeroize | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| 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 | mbedtls |
| Aliases |
|
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 libmbedcrypto16libmbedtls-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-devlibmbedtls-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-doclibmbedtls21 3.6.5-0.1~deb13u1
lightweight crypto and SSL/TLS library - tls library
https://www.trustedfirmware.org/projects/mbed-tls/
sudo apt install libmbedtls21libmbedx509-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-7mbedtls
nix profile install nixpkgs#mbedtlslibmbedcrypto7t64 2.28.8-1
lightweight crypto and SSL/TLS library - crypto library
https://www.trustedfirmware.org/projects/mbed-tls/
sudo apt install libmbedcrypto7t64libmbedtls-dev 2.28.8-1
lightweight crypto and SSL/TLS library - development files
https://www.trustedfirmware.org/projects/mbed-tls/
sudo apt install libmbedtls-devlibmbedtls-doc 2.28.8-1
lightweight crypto and SSL/TLS library - documentation
https://www.trustedfirmware.org/projects/mbed-tls/
sudo apt install libmbedtls-doclibmbedtls14t64 2.28.8-1
lightweight crypto and SSL/TLS library - tls library
https://www.trustedfirmware.org/projects/mbed-tls/
sudo apt install libmbedtls14t64libmbedx509-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-1t64mbedtls 4.1.0-r0
Light-weight cryptographic and SSL/TLS library
https://www.trustedfirmware.org/projects/mbed-tls/
sudo apk add mbedtlsmbedtls-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-devmbedtls-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-staticmbedtls-utils 4.1.0-r0
Utilities for mbedtls (including gen_key / cert_write)
https://www.trustedfirmware.org/projects/mbed-tls/
sudo apk add mbedtls-utilsmbedtls 3.6.6-2.fc45
Light-weight cryptographic and SSL/TLS library
https://www.trustedfirmware.org/projects/mbed-tls
sudo dnf install mbedtls来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.