Automic VaultAutomic Vault

brew

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

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mbedtls@3

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mbedtls3

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

Linux

Alpine Linux apkverified · 92%
sudo apk add mbedtls3

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

Arch Linux pacmanverified · 92%
sudo pacman -S mbedtls3

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

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

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

  • cipher_aead_demo
  • crypt_and_hash
  • dh_client
  • dh_genprime
  • dh_server
  • ecdh_curve25519
  • ecdsa
  • gen_entropy
  • gen_key
  • gen_random_ctr_drbg
  • generic_sum
  • key_app
  • key_app_writer
  • mbedtls-benchmark
  • mbedtls-selftest
  • md_hmac_demo
  • pk_decrypt
  • pk_encrypt
  • pk_sign
  • pk_verify
  • rsa_decrypt
  • rsa_encrypt
  • rsa_genkey
  • rsa_sign
  • rsa_sign_pss
  • rsa_verify
  • rsa_verify_pss

history

Project history and usage

Mbed TLS is a C cryptography and SSL/TLS library aimed at embedded and constrained systems, but it is also packaged broadly as a general-purpose TLS stack for Unix-like systems. Homebrew's mbedtls@3 formula tracks the 3.x major series, whose API and configuration model matter to downstream packages that have not moved to later ABI lines.

Project history

The project began as PolarSSL and became Mbed TLS under Arm's Mbed ecosystem before moving into the TrustedFirmware.org family. Its official documentation describes a small, portable TLS and cryptography implementation with build-time configuration through headers such as mbedtls_config.h, which is why distribution packages expose both libraries and a set of diagnostic and test command-line programs.

Mbed TLS 3.0.0 was the major compatibility break for the 3.x line: the release removed deprecated APIs and pushed users toward the PSA Crypto interfaces. Later 3.x releases, especially the 3.6 long-term-support branch, became important for packagers because they offered a stable line for applications that needed Mbed TLS 3 rather than the newer major series.

Adoption history

The package is widely present across Unix package managers, including Homebrew, Debian/Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE package names listed in the input metadata. That spread reflects Mbed TLS's role as a dependency for embedded tooling, network software, and projects that want a compact TLS implementation instead of OpenSSL.

For package managers, mbedtls@3 is specifically useful as a parallel-installable major version. It lets downstream formulae and ports continue building against the 3.x ABI while other consumers migrate on their own schedule.

How it is used

Most users consume Mbed TLS as C libraries and headers rather than as an end-user CLI. The installed example and utility programs, such as mbedtls-selftest, mbedtls-benchmark, ssl_client, ssl_server, cert_app, and key_app, are useful for smoke tests, performance checks, and certificate/key experiments.

Configuration is traditionally handled at build time through include/mbedtls/mbedtls_config.h or an alternate MBEDTLS_CONFIG_FILE. That makes the package unusually sensitive to distribution build flags, enabled algorithms, and ABI compatibility.

Why package nerds care

Mbed TLS is package-nerd relevant because it is both a library dependency and a security-sensitive ABI surface. Its major-versioned Homebrew formula records the practical reality that TLS libraries cannot always be upgraded in lockstep across an ecosystem.

The 3.x line is also a useful marker for the PSA Crypto transition in C cryptography libraries: package maintainers care which consumers use legacy Mbed TLS APIs, which use PSA APIs, and which need LTS security backports.

Timeline

  • 2014: The PolarSSL codebase became Mbed TLS in the Arm Mbed ecosystem.
  • 2021: Mbed TLS 3.0.0 introduced a major API transition and removed deprecated interfaces.
  • 2024: Mbed TLS 3.6 became a long-term-support line for the 3.x series.
  • 2026: Homebrew continues to package the 3.x line separately as mbedtls@3.

Related projects

  • Related TLS and cryptography stacks include OpenSSL, LibreSSL, BoringSSL, wolfSSL, and GnuTLS. Within the same project family, TF-PSA-Crypto is closely related to Mbed TLS's PSA Crypto work.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for mbedtls@3. Nucleus package metadata is still published here so future coverage has a stable package URL.

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.h

executables

Installed executables

CommandKindExposureNote
cipher_aead_democliglobal executable
crypt_and_hashcliglobal executable
dh_clientcliglobal executable
dh_genprimecliglobal executable
dh_servercliglobal executable
ecdh_curve25519cliglobal executable
ecdsacliglobal executable
gen_entropycliglobal executable
gen_keycliglobal executable
gen_random_ctr_drbgcliglobal executable
generic_sumcliglobal executable
key_appcliglobal executable
key_app_writercliglobal executable
mbedtls-benchmarkcliglobal executable
mbedtls-selftestcliglobal executable
md_hmac_democliglobal executable
pk_decryptcliglobal executable
pk_encryptcliglobal executable
pk_signcliglobal executable
pk_verifycliglobal executable
rsa_decryptcliglobal executable
rsa_encryptcliglobal executable
rsa_genkeycliglobal executable
rsa_signcliglobal executable
rsa_sign_psscliglobal executable
rsa_verifycliglobal executable
rsa_verify_psscliglobal 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 version3.6.7
manager updated2026-07-07
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:mbedtls@3
Version3.6.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mbedtls@3
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-3.6.7/mbedtls-3.6.7.tar.bz2
Last updated2026-07-07T16:38:54Z
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@3
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • 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.

MacPorts94%

mbedtls3

sudo port install mbedtls3
  • package manager index match
  • Matched by: Mbedtls3
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/mbedtls3/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
apk92%

mbedtls3 3.6.6-r0

Light-weight cryptographic and SSL/TLS library

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

sudo apk add mbedtls3
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls3
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Mbedtls3
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls3 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

mbedtls3-dev 3.6.6-r0

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

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

sudo apk add mbedtls3-dev
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls3
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Mbedtls3
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls3-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

mbedtls3-static 3.6.6-r0

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

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

sudo apk add mbedtls3-static
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls3
  • 1 dependencies
  • package manager index match
  • Matched by: Mbedtls3
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls3-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

mbedtls3-utils 3.6.6-r0

Utilities for mbedtls (including gen_key / cert_write)

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

sudo apk add mbedtls3-utils
  • License: Apache-2.0 OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mbedtls3
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Mbedtls3
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mbedtls3-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman92%

mbedtls3 3.6.6-1

An open source, portable, easy to use, readable and flexible TLS library

https://tls.mbed.org

sudo pacman -S mbedtls3
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 dependencies
  • 3 provides
  • package manager index match
  • Matched by: Mbedtls3
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mbedtls3 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Debian apt88%

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
  • versioned package alias 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 apt88%

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
  • versioned package alias 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 apt88%

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
  • versioned package alias 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 apt88%

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
  • versioned package alias 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 apt88%

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
  • versioned package alias 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
Nix88%

mbedtls

nix profile install nixpkgs#mbedtls
  • versioned package alias 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 apt88%

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
  • versioned package alias 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 apt88%

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
  • versioned package alias 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 apt88%

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
  • versioned package alias 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 apt88%

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
  • versioned package alias 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

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

  • Nucleus package database
  • 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