macOS
brew install mbedtlslocal Homebrew formula metadata
sudo port install mbedtlsMacPorts ports tree · devel/mbedtls/Portfile · source: api.github.com
brew
Cryptographic & SSL/TLS library. Version 4.2.0 via Homebrew; verified 2026-07-07.
install
brew install mbedtlslocal Homebrew formula metadata
sudo port install mbedtlsMacPorts ports tree · devel/mbedtls/Portfile · source: api.github.com
sudo apk add mbedtlsAlpine Linux edge package indexes · mbedtls · source: dl-cdn.alpinelinux.org
sudo apt install libmbedcrypto16Debian stable package indexes · libmbedcrypto16 · source: deb.debian.org
sudo dnf install mbedtlsFedora Rawhide package metadata · mbedtls · source: dl.fedoraproject.org
nix profile install nixpkgs#mbedtlsnixpkgs package indexes · pkgs/by-name/mb/mbedtls/package.nix · source: api.github.com
sudo pacman -S mbedtlsArch Linux sync databases · mbedtls · source: geo.mirror.pkgbuild.com
sudo apt install libmbedcrypto7t64Ubuntu 24.04 LTS package indexes · libmbedcrypto7t64 · source: archive.ubuntu.com
sudo zypper install libeverestopenSUSE Tumbleweed package metadata · libeverest · source: download.opensuse.org
overview
Cryptographic & SSL/TLS library
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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.hexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aead_demo | cli | global executable | |
cert_app | cli | global executable | |
cert_req | cli | global executable | |
cert_write | cli | global executable | |
crl_app | cli | global executable | |
crypto_examples | cli | global executable | |
dtls_client | cli | global executable | |
dtls_server | cli | global executable | |
generate_random_uuid | cli | global executable | |
hmac_demo | cli | global executable | |
key_ladder_demo | cli | global executable | |
key_ladder_demo.sh | cli | global executable | |
load_roots | cli | global executable | |
metatest | cli | global executable | |
mini_client | cli | global executable | |
pem2der | cli | global executable | |
psa_constant_names | cli | global executable | |
psa_hash | cli | global executable | |
query_compile_time_config | cli | global executable | |
query_included_headers | cli | global executable | |
req_app | cli | global executable | |
selftest | cli | global executable | |
ssl_client1 | cli | global executable | |
ssl_client2 | cli | global executable | |
ssl_context_info | cli | global executable | |
ssl_fork_server | cli | global executable | |
ssl_mail_client | cli | global executable | |
ssl_pthread_server | cli | global executable | |
ssl_server | cli | global executable | |
ssl_server2 | cli | global executable | |
strerror | cli | global executable | |
udp_proxy | cli | global executable | |
zeroize | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Mbed-TLS/mbedtls
install metadata
| Package key | brew:mbedtls |
|---|---|
| Version | 4.2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mbedtls |
| Homepage | https://www.trustedfirmware.org/projects/mbed-tls/ |
| Repository | https://github.com/Mbed-TLS/mbedtls |
| Upstream docs | https://mbed-tls.readthedocs.io/en/latest |
| License | Apache-2.0 |
| Source archive | https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-4.2.0/mbedtls-4.2.0.tar.bz2 |
| Last updated | 2026-07-07T16:39:09Z |
| Pulse | updated |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 mbedtlssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.