Automic VaultAutomic Vault

brew

Install mbedtls with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Cryptographic & SSL/TLS library. Version 4.2.0 via Homebrew; verified 2026-07-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mbedtls

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mbedtls

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

Linux

Alpine Linux apkverified · 92%
sudo apk add mbedtls

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

Debian aptverified · 92%
sudo apt install libmbedcrypto16

Debian stable package indexes · libmbedcrypto16 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install mbedtls

Fedora Rawhide package metadata · mbedtls · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#mbedtls

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

Arch Linux pacmanverified · 92%
sudo pacman -S mbedtls

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

Ubuntu aptverified · 92%
sudo apt install libmbedcrypto7t64

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

openSUSE zypperverified · 92%
sudo zypper install libeverest

openSUSE Tumbleweed package metadata · libeverest · source: download.opensuse.org

overview

Package summary

Cryptographic & SSL/TLS library

Commands and aliases

  • 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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:client,server

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
aead_democliglobal executable
cert_appcliglobal executable
cert_reqcliglobal executable
cert_writecliglobal executable
crl_appcliglobal executable
crypto_examplescliglobal executable
dtls_clientcliglobal executable
dtls_servercliglobal executable
generate_random_uuidcliglobal executable
hmac_democliglobal executable
key_ladder_democliglobal executable
key_ladder_demo.shcliglobal executable
load_rootscliglobal executable
metatestcliglobal executable
mini_clientcliglobal executable
pem2dercliglobal executable
psa_constant_namescliglobal executable
psa_hashcliglobal executable
query_compile_time_configcliglobal executable
query_included_headerscliglobal executable
req_appcliglobal executable
selftestcliglobal executable
ssl_client1cliglobal executable
ssl_client2cliglobal executable
ssl_context_infocliglobal executable
ssl_fork_servercliglobal executable
ssl_mail_clientcliglobal executable
ssl_pthread_servercliglobal executable
ssl_servercliglobal executable
ssl_server2cliglobal executable
strerrorcliglobal executable
udp_proxycliglobal executable
zeroizecliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version4.2.0
manager updated2026-07-07
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:mbedtls
Version4.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mbedtls
Homepagehttps://www.trustedfirmware.org/projects/mbed-tls/
Repositoryhttps://github.com/Mbed-TLS/mbedtls
Upstream docshttps://mbed-tls.readthedocs.io/en/latest
LicenseApache-2.0
Source archivehttps://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-4.2.0/mbedtls-4.2.0.tar.bz2
Last updated2026-07-07T16:39:09Z
Pulseupdated
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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