macOS
brew install heimdallocal Homebrew formula metadata
sudo port install heimdalMacPorts ports tree · net/heimdal/Portfile · source: api.github.com
brew
Free Kerberos 5 implementation. Version 7.8.0 via Homebrew; verified 2026-06-22.
install
brew install heimdallocal Homebrew formula metadata
sudo port install heimdalMacPorts ports tree · net/heimdal/Portfile · source: api.github.com
sudo apk add heimdalAlpine Linux edge package indexes · heimdal · source: dl-cdn.alpinelinux.org
sudo apt install heimdal-clientsDebian stable package indexes · heimdal-clients · source: deb.debian.org
sudo dnf install heimdal-develFedora Rawhide package metadata · heimdal-devel · source: dl.fedoraproject.org
nix profile install nixpkgs#heimdalnixpkgs package indexes · pkgs/by-name/he/heimdal/package.nix · source: api.github.com
overview
Free Kerberos 5 implementation
history
Heimdal is a free implementation of Kerberos 5 and related security components, including ASN.1/DER, PKIX, GSS-API tooling, client commands, KDC pieces, and administrative utilities. It matters in package-manager culture because Kerberos is infrastructure software: one package can affect login, single sign-on, service keytabs, credential caches, cross-realm trust, and legacy interoperability.
Heimdal began as an independent Kerberos 5 implementation associated with Swedish academic and research institutions. The 1998 USENIX paper by Johan Danielsson and Assar Westerlund describes it as an independently developed free Kerberos 5 implementation, unencumbered by United States export restrictions, compatible with other implementations, and close to the MIT Kerberos 5 API. That origin explains both the project's name and its long-running role as an alternative to MIT Kerberos in Unix-like systems.
The project repository describes Heimdal as implementing ASN.1/DER, PKIX, and Kerberos, with man pages for most commands and community channels for discussion and announcements. The codebase is not just a KDC: it includes client programs, libraries, administrative tools, GSS mechanisms, PKIX utilities, and support code such as roken.
Heimdal's NEWS file shows the long maintenance arc of security infrastructure. Entries include protocol and interoperability work such as AES, SPNEGO, CCAPI, KCM credential caches, Windows change-password support, incremental propagation, PKINIT work, Samba-related plugin improvements, and repeated vulnerability fixes. The release notes also show a gradual move away from weak historical cryptography, including default changes around DES and RC4 in the Heimdal 8 notes.
Heimdal's adoption history is tied to sites and operating systems that need Kerberos but do not necessarily choose MIT Kerberos. The input package facts record Heimdal packages across Homebrew, Debian and Ubuntu clients, Fedora development packages, MacPorts, Nix, Alpine, and other Unix packaging systems. Its presence in package managers reflects the need to build software against Kerberos and GSS-API libraries even when a machine is not itself a KDC.
The setup manual reflects real deployment patterns: administrators create realms, configure `/etc/krb5.conf`, initialize the database, manage keytabs, run kadmind, configure slave servers, and use incremental propagation. This makes Heimdal both a developer dependency and an operations package; package updates can matter to security posture, enterprise authentication, and cross-platform interoperability.
Typical Heimdal usage spans user commands, service configuration, and realm administration. Users acquire and inspect credentials with tools such as `kinit` and `klist`; services use keytabs; administrators configure realms and KDC discovery in `krb5.conf`; KDC operators create databases, manage principals through kadmin, and propagate changes to slaves.
The manual also documents environment variables shared with MIT-style Kerberos tooling, including `KRB5_CONFIG` for alternate configuration, `KRB5CCNAME` for credential cache selection, and keytab-related variables for service and client keytabs. Those knobs are important in package environments because multiple Kerberos implementations or test realms can coexist on one machine.
Heimdal is package-nerd significant because it is one of the packages where ABI, command naming, crypto defaults, and distro policy all matter. A seemingly ordinary formula can provide libraries that many other packages link against, command names that conflict or complement system Kerberos, and defaults that affect whether old realms, Samba, SSH/GSSAPI, LDAP, or campus SSO integrations keep working.
It is also a reminder that package managers distribute institutions, not just programs: Kerberos sits at the boundary between operating systems, universities, enterprises, network filesystems, directory services, and standards bodies. Heimdal's independent origin, BSD-style licensing, and broad Unix packaging make it an enduring alternative implementation in that ecosystem.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
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.
/etc/krb5.conf/var/heimdal/kadmind.acl/var/heimdal/slavesCredential-bearing paths to review before unattended agent runs.
/etc/krb5.keytab%{LOCALSTATEDIR}/user/%{euid}/client.keytab/tmp/krb5cc_<uid>executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bsearch | cli | global executable | |
gsstool | cli | global executable | |
heimtools | cli | global executable | |
hxtool | cli | global executable | |
idn-lookup | cli | global executable | |
iprop-log | cli | global executable | |
kf | cli | global executable | |
kgetcred | cli | global executable | |
kstash | cli | global executable | |
string2key | cli | global executable | |
su | cli | global executable | |
verify_krb5_conf | 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/heimdal/heimdal
install metadata
| Package key | brew:heimdal |
|---|---|
| Version | 7.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/heimdal |
| Homepage | https://github.com/heimdal/heimdal |
| Repository | https://github.com/heimdal/heimdal |
| Upstream docs | https://github.com/heimdal/heimdal/wiki |
| License | BSD-3-Clause AND BSD-2-Clause AND HPND-export2-US AND LicenseRef-Homebrew-public-domain |
| Source archive | https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz |
| Last updated | 2026-06-22T14:03:42-07:00 |
| Pulse | updated |
| Dependencies | lmdb, openldap, openssl@3 |
| Build dependencies | pkgconf |
| Uses from macOS | libxcrypt, ncurses |
| 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 | heimdal |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
heimdal-clients 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - clients
sudo apt install heimdal-clientsheimdal-dev 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - development files
sudo apt install heimdal-devheimdal-docs 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - documentation
sudo apt install heimdal-docsheimdal-kcm 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - KCM daemon
sudo apt install heimdal-kcmheimdal-kdc 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - key distribution center (KDC)
sudo apt install heimdal-kdcheimdal-multidev 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - Multi-implementation Development
sudo apt install heimdal-multidevheimdal-servers 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - server programs
sudo apt install heimdal-serverslibasn1-8t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - ASN.1 library
sudo apt install libasn1-8t64-heimdallibgssapi3t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - GSSAPI support library
sudo apt install libgssapi3t64-heimdallibhcrypto5t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - crypto library
sudo apt install libhcrypto5t64-heimdallibhdb9t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - kadmin server library
sudo apt install libhdb9t64-heimdallibheimbase1t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - Base library
sudo apt install libheimbase1t64-heimdallibheimntlm0t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - NTLM support library
sudo apt install libheimntlm0t64-heimdallibhx509-5t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - X509 support library
sudo apt install libhx509-5t64-heimdallibkadm5clnt7t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Heimdal Kerberos - kadmin client library
sudo apt install libkadm5clnt7t64-heimdallibkadm5srv8t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1
Libraries for Heimdal Kerberos
sudo apt install libkadm5srv8t64-heimdalsource 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.